Skip to content

Instantly share code, notes, and snippets.

@rgm
Created April 9, 2010 22:10
Show Gist options
  • Save rgm/361638 to your computer and use it in GitHub Desktop.
Save rgm/361638 to your computer and use it in GitHub Desktop.
# thanks to @chockenberry for concept
while [[ 1 ]]; do
curl -s http://developer.apple.com/wwdc/ | grep "<title>" | grep "2009" > /dev/null
if [[ $? == 0 ]]; then
say 'Apple has not yet announced w.w.d.c. 2010'
echo 'not announced'
else
say 'w.w.d.c. 2010 has just been announced!'
echo 'announced!'
break
fi
sleep 86400
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment