citizen428.blog()

Try to learn something about everything

Tweet Active Safari Tab From Command Line

Tweeting the URL of the article you are currently reading can be quite cumbersome: start your Twitter client if it isn’t already running, copy the URL, shorten it, paste it into the client…

I therefore wrote a little Ruby script I can call from the command line and which will do all this annoying work for me. As an added bonus you can pass in hashtags as command line parameters. It’s just a quick and dirty hack, feel free to change it according to your needs… :-)

Comments