Skip to content

Instantly share code, notes, and snippets.

@stuartcarnie
Created June 6, 2011 19:30
Show Gist options
  • Save stuartcarnie/1010910 to your computer and use it in GitHub Desktop.
Save stuartcarnie/1010910 to your computer and use it in GitHub Desktop.
Ping developer.apple.com and growl when it's up
#!/bin/sh
read -p "Apple Id: " appleid; echo
stty -echo
read -p "Password: " passw; echo
stty echo
while [ /bin/true ]; do
curl -u$APPLEID:$PASSW developer.apple.com/devcenter/ios/index.action | grep "soon"
if [ $? -eq 1 ]; then
growlnotify -m "Done"
exit 0
fi
echo "Not yet"
sleep 10
done
@ricardoquesada
Copy link

anxiety perhaps ? :-)

@stuartcarnie
Copy link
Author

No...not me :)

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