Skip to content

Instantly share code, notes, and snippets.

@mattorb
Created July 22, 2013 13:44
Show Gist options
  • Save mattorb/6053924 to your computer and use it in GitHub Desktop.
Save mattorb/6053924 to your computer and use it in GitHub Desktop.
one-liner to check when dev center is back and say something (bash)
while true; do if `curl -m 15 https://developer.apple.com/devcenter/ios/index.action | grep -v --quiet "maintenance"`; then say "dev center is back online"; fi; sleep 60; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment