Monday, January 23, 2012

A little joke for your day ...

I have written this shell script to get some jokes in my daily routine. If you are like me, you probably open several terminal windows during the day.

If that is the case, how about a little joke to keep it fun.

This script does a few things:

  1. Gets jokes from the good folks at (Please support them if you can.)
  2. It formats the returned joke so it can be printed on the terminal screen
  3. Since some of the jokes are pretty funny, I decided to add functionally to update the status on Adium/Skype with the returned "oneliners" joke

I've tested this with Snow Leopard and Leopard on the Mac, also Ubuntu 11.10 and Ubuntu 11.04 (The Ubuntu part is only for printing on the terminal not Adium/Skype).

In Linux, with the sed command, line 69 and 73 on the script, remove the set of empty "" double quotes.

If you are not going to use the Adium/Skype functionally, feel free to use the other "Joke Categories" which are pretty funny.

Shout me an email if you have any questions

Sunday, January 22, 2012

My beautiful wife ...

My beautiful wife ... by YAXZONE
My beautiful wife ..., a photo by YAXZONE on Flickr.

with built-in flash here...