Weather on the desktop with geektool and Yahoo

So I’ve found the cleanest and easiest way to put weather updates on my desktop with my Macintosh using geektool utility. Below is a screenshot of my desktop for reference:

This is achieved with three simple geektool “Shell” items, these three items properly aligned provide the results shown above.

For the date utilize the command:

date +”%a, %b %d %Y”

This will provide the results required. This can be tweaked if you are familiar with the date command or you can learn about the date command from the man page.

For the current weather utilize the command:

curl –silent “http://xml.weather.yahoo.com/forecastrss?p=LOCATIONCODE” | grep -E ‘(Current Conditions:|F
//’ -e ‘s///’ -e ‘s/<\/b>//’ -e ‘s/
//’ -e ‘s///’ -e ‘s/<\/description>//’ | sed -e /^$/d -e ‘s/^/Now – /’

You will need the Location code for your area, these codes can be found here and once you have obtained the code for your area replace LOCATIONCODE with the correct code for your area.

For the forecast utilize the command:

curl –silent “http://xml.weather.yahoo.com/forecastrss?p=LOCATIONCODE” | sed -n ‘/Forecast:/,/^
/p’ | grep “[0-9]
” | sed ‘s/
//g’ | sed -e ‘s/\([0-9]\) /\1 F /g’ -e ‘s/\([0-9]\)$/\1 F /g’

Once again the Location code is required and if you’ve obtained the code for the previous command then you can utilize the same code again for this command.

Posted in Macintosh | Tagged | Leave a comment

She said YES!

In the evening of April 26th 2010 I took a huge step in my life and ask Katharine Rebecca Bradford for her hand in marriage. There was never a doubt in my mind that she was the one and only for me, so of course she said yes and made me the happiest man alive. Right now the wedding is planned for May 14th 2011 in Hilton Head, South Carolina. More details will emerge as I find out what her mother and Rebecca have in store for our wedding.

Posted in Announcement | Tagged | Leave a comment

iPad pre-order around the corner!

Well the day I’ve been waiting for since Apple has announced its iPad is almost here! According to the latest from Apple’s website about the iPad pre-orders will begin on March 12th 2010 and they will be taking orders for both the Wi-Fi and 3G version. However only the Wi-Fi version will ship on April 3rd 2010 and alas I’ll be waiting about thirty days longer to get my 3G version. In my mind it is well worth the additional wait since honestly the 3G version will be the top version and better resale value down the road.

Until then the iPad commercial will hold me over until I have mine!

Posted in iPad | Tagged , | 1 Comment

More to come

After a website restructuring I have more to say. Stay tuned!

Posted in Announcement | Leave a comment