I wonder who will get tired first…

“Dad, can your computer guess ‘heads’ or ‘tails’ when I flip this coin?”

“Sure, give me a second”

#!/bin/sh
voice=Zarvox
coin=$RANDOM
let "coin %= 2"
if [ "$coin" -eq 0 ]
then
  say -v $voice heads
else
  say -v $voice tails
fi

I haven’t seen my Mac since.

This entry was posted in Digital Swag, family. Bookmark the permalink. Both comments and trackbacks are currently closed.

One Comment

  1. Armen
    Posted April 30, 2009 at 2:22 pm | Permalink

    :)