Skip to content
Permalink
Browse files

- Initial commit

  • Loading branch information...
jeffseif committed Jan 30, 2014
0 parents commit ef28c375a8ec23ed32c8b61d891f6a6b2690aa22
@@ -0,0 +1,8 @@
###
# Temporary files
###
*.pyc
*.swp
*~
__pycache__
log
@@ -0,0 +1,5 @@
#! /bin/bash

PID="$(cat ~/log/pid)" ;

ps -p "${PID}" > /dev/null && echo 'Up' || echo 'Down' ;
34 host.sh
@@ -0,0 +1,34 @@
#! /bin/bash

###
# Constants
###
APP='flaskr:app' ;
DIR='../log/' ;
GUNICORN="sudo gunicorn ${APP} -w 4 -b 0.0.0.0:80" ;
SECONDS='5' ;

###
# Declare PID
###
PID="${DIR}pid" ;
\rm -f "${PID}" ;
echo "$$" > "${PID}" ;

###
# Host
###
while [ 0 ] ; do
###
# Set log filename
###
LOG="${DIR}$(date "+%F-%T").log" ;
###
# Execute gunicorn
###
${GUNICORN} >> "${LOG}" 2>&1 ;
###
# Upon fail wait before looping
###
sleep "${SECONDS}" ;
done ;

Large diffs are not rendered by default.

@@ -0,0 +1,50 @@
body {
margin : 0;
padding : 0;
padding-top : 50px;
}
#map {
position : absolute;
height : calc(100% - 50px);
width : 100%;
}
#menu {
display : block;
float : right;
left : 0;
margin : 10px;
position : absolute;
text-align : center;
top : 50px;
}
#menu div, #menu #find input {
border : 1px solid gray;
border-radius : 3px;
}
#menu div {
background-color : #E8E8FF;
padding : 15px;
}
#menu #slider {
border-top : none;
clear : none;
display : none;
}
#menu #slider span {
float : left;
}
#menu #slider input {
float : right;
}
#menu #score {
border-top : none;
clear : both;
display : none;
font : bold large monospace;
}
#slides {
position : fixed;
height : calc(100% - 50px);
top : 50px;
width : 100%;
}

Large diffs are not rendered by default.

@@ -0,0 +1,122 @@
http://www.yelp.com/biz/all-good-pizza-san-francisco
http://www.yelp.com/biz/all-star-cafe-san-francisco
http://www.yelp.com/biz/aloha-warehouse-san-francisco-3
http://www.yelp.com/biz/antologia-vinoteca-san-francisco-2
http://www.yelp.com/biz/aracely-restaurant-san-francisco
http://www.yelp.com/biz/back-yard-kitchen-san-francisco
http://www.yelp.com/biz/batter-up-san-francisco
http://www.yelp.com/biz/belden-taverna-san-francisco
http://www.yelp.com/biz/bin-38-san-francisco
http://www.yelp.com/biz/blanc-et-rouge-san-francisco
http://www.yelp.com/biz/bread-and-butter-cafe-san-francisco-2
http://www.yelp.com/biz/brindisi-cucina-di-mare-san-francisco
http://www.yelp.com/biz/broken-record-san-francisco
http://www.yelp.com/biz/brunos-pizzeria-san-francisco-2
http://www.yelp.com/biz/cafe-flore-san-francisco
http://www.yelp.com/biz/cafe-rosso-san-francisco
http://www.yelp.com/biz/cafe-zazo-san-francisco
http://www.yelp.com/biz/carmel-pizza-company-san-francisco
http://www.yelp.com/biz/caseys-pizza-san-francisco
http://www.yelp.com/biz/castagna-san-francisco
http://www.yelp.com/biz/chez-spencer-san-francisco
http://www.yelp.com/biz/chile-lindo-empanadas-san-francisco
http://www.yelp.com/biz/chomp-n-swig-burgers-san-francisco
http://www.yelp.com/biz/chomp-n-swig-san-francisco
http://www.yelp.com/biz/city-tavern-san-francisco
http://www.yelp.com/biz/club-93-san-francisco
http://www.yelp.com/biz/crumbville-san-francisco-2
http://www.yelp.com/biz/curry-up-now-indian-street-food-san-francisco-3
http://www.yelp.com/biz/cybelles-pizza-san-francisco-6
http://www.yelp.com/biz/da-beef-san-francisco
http://www.yelp.com/biz/d-urso-italian-delicatessen-san-francisco-3
http://www.yelp.com/biz/elixir-san-francisco
http://www.yelp.com/biz/embarcadero-center-san-francisco
http://www.yelp.com/biz/etcetera-wine-bar-san-francisco
http://www.yelp.com/biz/ez5-san-francisco
http://www.yelp.com/biz/firehouse-pizzeria-san-francisco
http://www.yelp.com/biz/firetrail-pizza-san-francisco
http://www.yelp.com/biz/fishermens-grotto-san-francisco-4
http://www.yelp.com/biz/fog-baby-cafe-san-francisco
http://www.yelp.com/biz/freddies-sandwiches-san-francisco-2
http://www.yelp.com/biz/fresco-pizza-and-shawarma-san-francisco
http://www.yelp.com/biz/golden-gate-market-deli-and-liquor-san-francisco-2
http://www.yelp.com/biz/gorilla-petes-hot-dogs-san-francisco-2
http://www.yelp.com/biz/gotts-roadside-san-francisco-2
http://www.yelp.com/biz/gussies-chicken-and-waffles-san-francisco
http://www.yelp.com/biz/gyro-and-cheesesteak-trolley-san-francisco-2
http://www.yelp.com/biz/h-and-w-liquors-san-francisco
http://www.yelp.com/biz/harvest-and-rowe-san-francisco
http://www.yelp.com/biz/hayes-and-kebab-san-francisco
http://www.yelp.com/biz/hemlock-tavern-san-francisco
http://www.yelp.com/biz/hyde-away-blues-bbq-san-francisco
http://www.yelp.com/biz/icafe-san-francisco-san-francisco-2
http://www.yelp.com/biz/il-cane-rosso-san-francisco
http://www.yelp.com/biz/international-sports-club-san-francisco
http://www.yelp.com/biz/iron-and-gold-san-francisco
http://www.yelp.com/biz/izakaya-yuzuki-san-francisco
http://www.yelp.com/biz/jackson-place-cafe-san-francisco
http://www.yelp.com/biz/katias-russian-tea-room-san-francisco
http://www.yelp.com/biz/kitchen-mojo-san-francisco
http://www.yelp.com/biz/kitchen-story-san-francisco
http://www.yelp.com/biz/loqui-san-francisco
http://www.yelp.com/biz/loving-hut-san-francisco-3
http://www.yelp.com/biz/machine-coffee-and-deli-san-francisco
http://www.yelp.com/biz/melody-cafe-san-francisco
http://www.yelp.com/biz/merigan-sub-shop-san-francisco-2
http://www.yelp.com/biz/milano-pizzeria-san-francisco
http://www.yelp.com/biz/mirtille-san-francisco
http://www.yelp.com/biz/mission-rock-resort-san-francisco-2
http://www.yelp.com/biz/momos-san-francisco
http://www.yelp.com/biz/nopalito-san-francisco
http://www.yelp.com/biz/north-china-san-francisco
http://www.yelp.com/biz/ozone-thai-restaurant-and-lounge-san-francisco
http://www.yelp.com/biz/palomino-san-francisco-3
http://www.yelp.com/biz/pasta-pomodoro-san-francisco-15
http://www.yelp.com/biz/petit-prince-cafe-san-francisco
http://www.yelp.com/biz/pie-fridays-san-francisco-2
http://www.yelp.com/biz/pizzeria-delfina-san-francisco
http://www.yelp.com/biz/presidio-social-club-san-francisco
http://www.yelp.com/biz/public-house-san-francisco
http://www.yelp.com/biz/ristorante-bacco-san-francisco
http://www.yelp.com/biz/rose-pistola-san-francisco
http://www.yelp.com/biz/roses-cafe-san-francisco
http://www.yelp.com/biz/royalty-pizza-san-francisco
http://www.yelp.com/biz/san-buena-taco-truck-san-francisco-4
http://www.yelp.com/biz/sb40-san-francisco
http://www.yelp.com/biz/sea-breeze-cafe-san-francisco
http://www.yelp.com/biz/serranos-pizza-san-francisco-2
http://www.yelp.com/biz/skool-san-francisco
http://www.yelp.com/biz/sliderbar-san-francisco-4
http://www.yelp.com/biz/small-foods-san-francisco-2
http://www.yelp.com/biz/smitten-ice-cream-san-francisco-3
http://www.yelp.com/biz/smokin-warehouse-barbecue-san-francisco
http://www.yelp.com/biz/soccer-cafe-san-francisco
http://www.yelp.com/biz/soul-food-city-san-francisco-2
http://www.yelp.com/biz/source-san-francisco
http://www.yelp.com/biz/spice-kit-san-francisco
http://www.yelp.com/biz/stone-korean-kitchen-san-francisco-2
http://www.yelp.com/biz/streat-brew-san-francisco
http://www.yelp.com/biz/stuffed-san-francisco
http://www.yelp.com/biz/sushi-taka-san-francisco-2
http://www.yelp.com/biz/swiss-louis-italian-and-seafood-san-francisco-3
http://www.yelp.com/biz/tacolicious-san-francisco-7
http://www.yelp.com/biz/tanguito-san-francisco
http://www.yelp.com/biz/taqueria-cazadores-san-francisco-2
http://www.yelp.com/biz/the-ave-san-francisco
http://www.yelp.com/biz/the-brixton-san-francisco
http://www.yelp.com/biz/the-brown-jug-san-francisco
http://www.yelp.com/biz/the-codmother-fish-and-chips-san-francisco
http://www.yelp.com/biz/the-corner-store-san-francisco
http://www.yelp.com/biz/the-little-spot-cafe-san-francisco
http://www.yelp.com/biz/the-lucky-horseshoe-san-francisco
http://www.yelp.com/biz/the-pour-house-san-francisco
http://www.yelp.com/biz/the-showdown-san-francisco
http://www.yelp.com/biz/transit-cafe-san-francisco
http://www.yelp.com/biz/universal-caf%C3%A9-san-francisco-2
http://www.yelp.com/biz/venga-empanadas-san-francisco
http://www.yelp.com/biz/vinyl-coffee-and-wine-bar-san-francisco
http://www.yelp.com/biz/virgils-sea-room-san-francisco
http://www.yelp.com/biz/yama-sushi-san-francisco
http://www.yelp.com/biz/yelo-gelato-crepe-cafe-san-francisco
http://www.yelp.com/biz/z-and-y-restaurant-san-francisco
http://www.yelp.com/biz/zesty-cajun-style-san-francisco
Binary file not shown.

0 comments on commit ef28c37

Please sign in to comment.
You can’t perform that action at this time.