Welcome to codes. I plan to post a variety of mini-projects here. Eventaully, I'd like to see this interface with my subversion repository. We'll see how it goes

Project 01

ShowItunesTrack

Back again, with another ruby/applescript thing. This one will show the currently playing iTunes track. Enjoy!

Download the script

Project 00

SubscribeInVienna

SubscribeInVienna is my first foray into using Ruby to interface with applescript. I gotta say it's pretty darned sweet. I can't think of an easier way to develop applescript than using tab completion in irb. Sidenote: I am now giving away my old applescript book, email me if you want it
This applescript queries safari for the focused document, adjusts the url, then adds it to vienna as a feed. Given that it could be done in two lines of ruby code, it seems silly to post here, but worthwhile nonetheless.
This script requires that the gem 'rubyosa' be installed.

sudo gem install rubyosa
It will work if you've compiled rubyosa without the gem, but will require a tweaking of the require statements. Further enhancements are planned.
For what it's worth, I find this to be most beneficial in conjunction with Quicksilver. Probably works with spotlight, but I've never used it, so I wouldn't know. (Do let me know if you try this) With quicksilver, if I see the feed I want to subscribe to, I'm able to hit my magic hotkey, type 'su', hit enter, and I'm on my way. Couldn't be too much easier than that.

Download the script