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
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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 && :; };:
@jmhobbs
Copy link
Author

jmhobbs commented Oct 12, 2011

Oh, wait, Mac's don't ship with watch...

@jmhobbs
Copy link
Author

jmhobbs commented Oct 12, 2011

Ok, watch no longer required.

@jerodsanto
Copy link

+1

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