Last active
July 10, 2017 16:28
-
-
Save carlbennett/957cc9d0dbb6484b593f to your computer and use it in GitHub Desktop.
Lunch Location Randomizer
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/bash | |
TODAY=$(date +%Y-%m-%d) | |
LIST=$(sed -e 's/$/\r/g' lunch.txt | perl -MURI::Escape -ne 'print uri_escape($_)') | |
curl -s \ | |
-d "list=${LIST}" \ | |
-d "format=plain" \ | |
-d "rnd=date.${TODAY}" \ | |
"https://www.random.org/lists/?mode=advanced" |
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
Big Tony's West Philly Cheesesteaks | |
BJ's Brewhouse | |
Buffalo Wild Wings | |
Burger House Hamburgers | |
Buzz Brews | |
Cafe Brazil | |
Chipotle | |
Chuy's | |
Cindy's New York Deli | |
Fat Jessie's | |
Fogo de Chao Brazilian Steakhouse | |
Freebirds | |
Fuzzy's Taco | |
Ghengis Grill | |
Hopdoddy Burger Bar | |
Jersey Joe's | |
Jimmy John's | |
Panera Bread | |
Paradise Bakery & Cafe | |
Pei Wei | |
Pot Belly | |
Ramen Hakata | |
Salata Salad Bar | |
Schlotzsky's | |
Spring Creek Barbecue | |
Twisted Root | |
Velvet Taco |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment