latest tweets:

Jump to content.

Cowsay as much as possible

January 7th, 2010


CowsayIfPossible()
{
  if [ -z "${1}" ]; then
    CowsayIfPossible "Supply some text!";
    return;
  fi
  if which cowsay >> /dev/null; then
    cowsay "${1}"
    echo =======================================
  else
    echo "${1}"
  fi
}

Cowsay is win.  EEEPPIIIICCC  WIIIIN.

This BASH script snippet allows the unashamed use of cowsay within bash scripts without fear that it isn’t installed.  World peace?  That’d be nice, but for now cowsay moooooo!

sudo aptitude install cowsay

Google Reader: Magic!

November 2nd, 2009

Google Reader has a new feature: sort by magic.  Basically this will sort feed items by placing the items that Google Reader thinks you will want to see the most on top.
Google Reader Sort by magic

(Read on …)

Ewww gross in the sink

October 14th, 2009

ick. look what I found in the kitchen sink this morning. Currently the thing is still in the sink, but mashed under a paper towel.
creepy crawly

(Read on …)

I caught a butterfly!

August 30th, 2009

I was outside (*ghasp!*), and I saw this little guy fluttering around on the patio.  To my surprise he let me pick him up, so I snapped a shot quickly before he flew away into the sun.

butterfly

Twitter Explorer: Twitter Desktop Gadget

July 27th, 2009

I just found a nice Twitter gadget for my desktop.  It’s called Twitter Explorer, and it’s really simple.

Twitter Explorer and Weather Gadget

(Read on …)

« Previous PageNext Page »