-
-
Save visnup/4003210 to your computer and use it in GitHub Desktop.
check state bird provisions for availability
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
#!/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!' && open 'http://statebirdsf.com/reservations/') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment