Ruby everywhere.
I love Ruby so I want to use it everywhere! That means in my browser, mail, yojimbo, word and any application that will take text. So I built a very simple automator service that evaluates selected text as ruby and replaces the selection with the output from the ruby interpreter.
Essentially, this service turns any text entry field into Irb and to make it fit into my workflow unobtrusively, I invoke it using the keyboard shortcut control-option-command R. Of course you may still perform the substitution using either the contextual or services menus.
I can now enter a timestamp in a document simply by typing Time.now.to_s, selecting it and hitting ⌃⌥⌘R to get Mon Aug 23 15:52:46 -0400 2010.
“A96tATYEsqJ-9Ag5VZTdqkejjsqwAm3w8gEh-fGHGtXuYhsbgerENqIG”.upcase will yield “A96TATYESQJ-9AG5VZTDQKEJJSQWAM3W8GEH-FGHGTXUYHSBGERENQIG”.
I did this for bash as well. The plan now, is to build a library of methods and scripts that I can use for frequent substitutions.


