Skip to content

Instantly share code, notes, and snippets.

@jmhobbs
Forked from jerodsanto/ios5_notify.sh
Created October 12, 2011 16:51
Show Gist options
  • Save jmhobbs/1281802 to your computer and use it in GitHub Desktop.
Save jmhobbs/1281802 to your computer and use it in GitHub Desktop.
Siri, tell me when iOS 5 is available. Nothing? Fine. Bash, you do it.
#!/bin/bash
:(){ echo "Checking for iOS 5: `date`"; curl -s -L http://phobos.apple.com/version | grep Restore | grep iPhone | grep 5.0 > /dev/null && say "I O S 5 IS NOW AVAILABLE. GO GET YOUR DOWNLOAD ON, KID" || echo "Nothing yet..." && sleep 30 && :; };:
@jerodsanto
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment