Skip to content

Instantly share code, notes, and snippets.

@visnup
Created November 2, 2012 03:46
Show Gist options
  • Save visnup/3998603 to your computer and use it in GitHub Desktop.
Save visnup/3998603 to your computer and use it in GitHub Desktop.
check state bird provisions for availability
#!/bin/sh
# state bird provisions never has a reservation open. I hate having to go to their website to
# check. this checks for me.
curl -s 'http://rez.urbanspoon.com/b/widget/2086?use_calendar=0' | fgrep "'availableDates': []" > /dev/null && echo 'nothing' || echo 'omg! available reservations!'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment