Skip to content

Instantly share code, notes, and snippets.

View franksh's full-sized avatar

Frank Schlosser franksh

View GitHub Profile
@franksh
franksh / taxi-trajectories.csv
Created February 18, 2019 10:21
The trajectories of ~800 Taxi trips in Portugal, a sample taken from the Taxi Trip Prediction dataset https://www.kaggle.com/crailtap/taxi-trajectory
We can't make this file beautiful and searchable because it's too large.
TRIP_ID,CALL_TYPE,ORIGIN_CALL,ORIGIN_STAND,TAXI_ID,TIMESTAMP,DAY_TYPE,MISSING_DATA,POLYLINE
1372636858620000589,C,,,20000589,1372636858,A,False,"[[-8.618643,41.141412],[-8.618499,41.141376],[-8.620326,41.14251],[-8.622153,41.143815],[-8.623953,41.144373],[-8.62668,41.144778],[-8.627373,41.144697],[-8.630226,41.14521],[-8.632746,41.14692],[-8.631738,41.148225],[-8.629938,41.150385],[-8.62911,41.151213],[-8.629128,41.15124],[-8.628786,41.152203],[-8.628687,41.152374],[-8.628759,41.152518],[-8.630838,41.15268],[-8.632323,41.153022],[-8.631144,41.154489],[-8.630829,41.154507],[-8.630829,41.154516],[-8.630829,41.154498],[-8.630838,41.154489]]"
1372637303620000596,B,,7.0,20000596,1372637303,A,False,"[[-8.639847,41.159826],[-8.640351,41.159871],[-8.642196,41.160114],[-8.644455,41.160492],[-8.646921,41.160951],[-8.649999,41.161491],[-8.653167,41.162031],[-8.656434,41.16258],[-8.660178,41.163192],[-8.663112,41.163687],[-8.666235,41.1642],[-8.669169,41.164704],[-8.670852,41.165136],[-8.670942,41.166576],[-8.66961,41.16
@franksh
franksh / taxi-trajectories.csv
Created February 18, 2019 10:21
The trajectories of ~800 Taxi trips in Portugal, a sample taken from the Taxi Trip Prediction dataset https://www.kaggle.com/crailtap/taxi-trajectory
We can't make this file beautiful and searchable because it's too large.
TRIP_ID,CALL_TYPE,ORIGIN_CALL,ORIGIN_STAND,TAXI_ID,TIMESTAMP,DAY_TYPE,MISSING_DATA,POLYLINE
1372636858620000589,C,,,20000589,1372636858,A,False,"[[-8.618643,41.141412],[-8.618499,41.141376],[-8.620326,41.14251],[-8.622153,41.143815],[-8.623953,41.144373],[-8.62668,41.144778],[-8.627373,41.144697],[-8.630226,41.14521],[-8.632746,41.14692],[-8.631738,41.148225],[-8.629938,41.150385],[-8.62911,41.151213],[-8.629128,41.15124],[-8.628786,41.152203],[-8.628687,41.152374],[-8.628759,41.152518],[-8.630838,41.15268],[-8.632323,41.153022],[-8.631144,41.154489],[-8.630829,41.154507],[-8.630829,41.154516],[-8.630829,41.154498],[-8.630838,41.154489]]"
1372637303620000596,B,,7.0,20000596,1372637303,A,False,"[[-8.639847,41.159826],[-8.640351,41.159871],[-8.642196,41.160114],[-8.644455,41.160492],[-8.646921,41.160951],[-8.649999,41.161491],[-8.653167,41.162031],[-8.656434,41.16258],[-8.660178,41.163192],[-8.663112,41.163687],[-8.666235,41.1642],[-8.669169,41.164704],[-8.670852,41.165136],[-8.670942,41.166576],[-8.66961,41.16
@franksh
franksh / earthquakes.json
Created February 19, 2019 13:07
All earthquakes in 2018 with magnitude 5 or greated, pulled from the https://earthquake.usgs.gov/fdsnws/event/1/
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@franksh
franksh / .pyenvscript.sh
Created July 14, 2022 13:31
Sets up a new Python 3 install on mac, using pyenv and pipenv. Based on https://liatas.com/posts/anaconda-vs-pyenv-pipenv/
brew update
# Install basic packages
brew install pyenv
brew install pyenv-virtualenv
brew install pyenv-virtualenvwrapper
# Configure directories
# All virtualenvs will be on ...
mkdir ~/.venvs
# All projects will be on ...
mkdir ~/workspace