#Textmate coupons full#
Since it has given me much joy to once again be able to write plain email addresses in my pages (without worrying about spam harvesters) I figured I should share :) But do double-check that the result you get from the filter is actually what you expect - the parser used is written for (my) valid HTML pages with potential script tags (such as and ).īy replacing the full document node with a … -construct it should keep the resulting page as well-formed. It replaces all document nodes (which contain an email address) with the corresponding JavaScript. Since most of my pages are already preprocessed, I decided to turn it into a general filter that works on a full HTML page. The outcome of my last entry about obfuscating email addresses is the HTML → Encrypt Selection (ROT13) command which replaces the current selection with JavaScript to output it (with the actual markup stored in ROT13). Another approach to this problem is by Rob McBroom who recently announced a Remote Project bundle on the mailing list.ĭisclaimer: With the exception of Rob’s bundle, the above is all based on undocumented functionality or using things in ways they were not supposed to be used, i.e. On his site, but not on his blog, is also a ReMate plug-in to disable the auto-updating of the project drawer (the feature that drives people working over network connections insane). Speaking of hacking, Ciarán Walsh (maintainer of the PHP and SQL bundles, and contributor extraordinaire) recently started a blog with several TM hacks, for example to make the project drawer show Finder labels or Subversion status.Īlso on his blog is a glyph input manager which add the functionality mentioned in the multi-stroke key bindings post but which does not require you to remember the arcane multi-stroke key bindings (Leopard users have a look at the release notes). You can find the help file for TMTOOLS here and his latest mailing list letter about TMTOOLS here. allowing you to remote control TextMate) and wrote TMTOOLS, a shell command that works as a mini interpreter where the commands are all TextMate actions. Hans-Jörg Bibiko decided he couldn’t wait for a real scripting API (i.e. I’m using shell loops at the command-line now to process many files at once I actually understand shell quoting and when to use which types of quotes and escapes to get the desired effect I can easily strip off a file extension or get a directory name from a full path when I need one I make constant use of the command history now whether I’m searching for a past command, correcting a typo, or just pulling a single argument out of a previous command for reuse in a new command and I’ve written a few shell functions to provide shortcuts to my common tasks. I’ve already noticed dramatic differences. James Edward Gray has a review of From Bash to Z Shell which sounds like just the book you want to pick up, quoting from his review:
#Textmate coupons mac os x#
If your usage of Mac OS X is the slightest bit “technical” then you should do yourself the favor of getting familiar with the extremely powerful shell environment.Įven if you already know a dozen scripting languages far more expressive than the shell, there are still contexts in which the shell is just better suited for the job, and understanding the POSIX environment is knowledge that is very valuable even outside the shell.