Featured Posts

Using Multiple Calendars in Outlook 2007 Imagine that you use Outlook at work to maintain your work schedule, and Google Calendar at home to keep track of your personal life, and you want to keep the two schedules together, but separate. You...

Readmore

Getting all your QAM channels on Comcast with EyeTV... For Christmas I got an elgato EyeTV Hybrid, and I was excited. I was excited about recording shows (and movies) in HD. I was excited to get rid of the old low-definition DVD recorder. I was excited...

Readmore

Install Windows 7 x64 on a Mac (beat the Select CD-ROM... Having trouble installing Win7 x64 (Windows 7 64-bit) on your mac? Keep getting a Select CD-ROM Boot Type" message when you go to install? Boot Camp have you pulling your hair out? Some googling...

Readmore

File compression primer (With .jpg examples for Adobe... Compression Compression typically looks for patterns and stores references to them. So, imagine you're storing the following text which is 151 characters long: He went to the store.  She bought...

Readmore

  • Prev
  • Next

Twittering with Growl

Posted on : 23-02-2009 | By : Andy | In : fun, tech

Tags: , , , , , ,

0

If you’re comfortable with trying to use Terminal (or curious to start), you can get your twitter updates via growl on OS X. If you don’t know what growl is, you’re really missing out. Get it here — it updates you unobtrusively with program status messages that might typically show up in a popup box or embedded into a program window, or not at all.

Once you’ve got growl, you’ll need to make sure you have Ruby 1.8.3 or higher.

You’ll also need MacPorts to make this work right: Install MacPorts

  • If you have 10.5 Leopard, you’re set
  • If you have 10.4 Tiger, you’ll probably need to update:
    1. Open a Terminal window and type in the following command, hitting return at the end:
      sudo port install ruby

Now, we’ll install some stuff that we need for our script to run. Using terminal, enter these commands (Hit return after each one)

sudo port install rb-rubygems
sudo gem install xml-simple
sudo gem install ruby-growl


(If the “gem” commands don’t work, you may need to restart terminal before running them)

Provided this all went well, you should be ready to install the script. Download the Squawk Scriptand move it into your home directory (looks like a house in finder if you’re totally lost here). This file is thanks to damien, but I had to make a tweak for it to all work right. You have to edit the file with your login info:

sudo pico ~/squawk.rb

It should be obvious where to put your email address and password.

Finally, run your script!

ruby squawk.rb

If you want to run it in the background on startup, check back later. I’ll be posting on this shortly.