Skip to content

Instantly share code, notes, and snippets.

@kastner
Created July 24, 2008 03:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kastner/2027 to your computer and use it in GitHub Desktop.
Save kastner/2027 to your computer and use it in GitHub Desktop.
# run in a directory with ustream-offline.gif and ustream-live.gif
# this makes a symbolic link to the current status as just "ustream.gif"
ln -nfs ustream-`curl -s "http://api.ustream.tv/json/channel/wine-library-tv/getValueOf/status?key=$API_KEY&callback=s" | sed -e 's/s(\"\(.*\)\");/\1/g'`.gif ustream.gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment