Skip to content

Instantly share code, notes, and snippets.

@cruinh
Last active December 20, 2015 05:09
Show Gist options
  • Save cruinh/6076590 to your computer and use it in GitHub Desktop.
Save cruinh/6076590 to your computer and use it in GitHub Desktop.
lists just the apple developer portal services that are online right now. Meant to be used with Geektool (http://projects.tynsoe.org/en/geektool/)
echo "Apple Developer Services Online\n"; curl -s https://developer.apple.com/support/system-status/ | grep "online-icon.*href" | grep -o '<a href[[:print:]]*</a>' | grep -o '>.*<' | sed -e 's/.$//' -e 's/^.//'
@cruinh
Copy link
Author

cruinh commented Jul 25, 2013

updated to list just the names of each online service (not their links)

@cruinh
Copy link
Author

cruinh commented Jul 25, 2013

updated again to use curl instead of lynx (thanks Jon... not sure why I didn't think of that first!)
...and to combine the sed commands into one (thanks again Jon!)

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