I hereby claim:
- I am trevorgerhardt on github.
- I am trevorgerhardt (https://keybase.io/trevorgerhardt) on keybase.
- I have a public key ASD1FeDX-0_Slg0BdrY6AXEN-ML8TIbya5Y8c8QKqcnfrQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/sh | |
| # Valid request | |
| curl "http://localhost:8085/api/availableCarpools?key=SECRET&origin=-77.00591535980521,38.90512185099374&destination=-77.06398575433832,38.86583364990412&departureTime=07:00,08:00&returnTime=17:00,18:00" | |
| # Invalid parameters | |
| curl "http://localhost:8085/api/availableCarpools?key=SECRET&origin=asdfasdf" | |
| # Valid request, but no API key | |
| curl "http://localhost:8085/api/availableCarpools?origin=-77.00591535980521,38.90512185099374&destination=-77.06398575433832,38.86583364990412&departureTime=07:00,08:00&returnTime=17:00,18:00" |
| #!/bin/sh | |
| # Amtrak ? | |
| wget -O data/amtrak.zip http://www.gtfs-data-exchange.com/agency/amtrak/latest.zip | |
| # Arlington Transit | |
| wget -O data/art.zip http://www.gtfs-data-exchange.com/agency/arlington-transit/latest.zip | |
| # Dash | |
| wget -O data/dash.zip http://www.gtfs-data-exchange.com/agency/alexandria-transit-company-dash/latest.zip |
Experiment to zoom in and out based on given lat/lon bounds. Projects and translates the bounds to figure out the new scale/translation vector to pass to the geo.tile function. Was more annoying than I thought it would be.
| echo 'kern.maxfiles=20480' | sudo tee -a /etc/sysctl.conf | |
| echo 'limit maxfiles 8192 20480\nlimit maxproc 1000 2000' | sudo tee -a /etc/launchd.conf | |
| echo 'ulimit -n 4096' | sudo tee -a /etc/profile |