Created
July 24, 2008 03:23
-
-
Save kastner/2027 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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