Skip to content

Instantly share code, notes, and snippets.

🌐
CTO geocode.earth

Peter Johnson missinglink

🌐
CTO geocode.earth
Block or report user

Report or block missinglink

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@missinglink
missinglink / repo-list.sh
Created Jun 11, 2019
List all repositories by organization
View repo-list.sh
ORG='whosonfirst-data';
rm -f "${ORG}.txt"
for i in {0..15}; do
curl -s "https://api.github.com/orgs/${ORG}/repos?page=${i}&per_page=100" \
| jq -r '.[] | .name' \
>> "${ORG}.txt"
done
@missinglink
missinglink / nyc.geojson
Last active Jul 25, 2018
'Postal City' for New York City
View nyc.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@missinglink
missinglink / sanfran.geojson
Created Jul 25, 2018
'Postal Cities' for San Francisco
View sanfran.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@missinglink
missinglink / postal_cities.txt
Created Jul 25, 2018
Candidate 'postal cities', based off places the Census lists as a 'principal city', and whos geometry intersects with the geometry of more than one ZCTA
View postal_cities.txt
5300100|Aberdeen city
4801000|Abilene city
4000200|Ada city
1301052|Albany city
4101000|Albany city
3700680|Albemarle city
0100988|Albertville city
3502000|Albuquerque city
0101132|Alexander City city
2200975|Alexandria city
@missinglink
missinglink / portland.geojson
Created Jul 24, 2018
'Postal Cities' example for Portland OR, showing the Polygon for Census Combined Statistical Area 440 (Portland-Vancouver-Salem, OR-WA)
View portland.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@missinglink
missinglink / portland.geojson
Last active Jul 24, 2018
'Postal Cities' example for Portland OR, showing the Polygon for Census Metropolitan/Micropolitan Statistical Area 38900 (Portland-Vancouver-Hillsboro, OR-WA)
View portland.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@missinglink
missinglink / portland.geojson
Created Jul 20, 2018
'Postal Cities' example for Portland OR, showing 131 zip codes associated with the Census Core Based Statistical Area ID 38900
View portland.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@missinglink
missinglink / portland.geojson
Last active Jul 20, 2018
'Postal Cities' example for Portland OR, showing 425 zip codes associated with the Sectional Center Facility 'SCF PORTLAND OR 970'
View portland.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@missinglink
missinglink / portland.geojson
Last active Jul 24, 2018
'Postal Cities' example for Portland OR, showing 36 zip codes associated with the Census place ID 4159000
View portland.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@missinglink
missinglink / setup.sh
Last active Jun 21, 2018
vsftp FTP server backed by s3 bucket w/ anonymous read-only access
View setup.sh
# install packages
sudo apt-get update && sudo apt-get -y upgrade
sudo apt-get install -y s3fs vsftpd
# start vsftpd on boot
sudo systemctl enable vsftpd
# add user to ftp group
sudo usermod -a -G ftp ubuntu
You can’t perform that action at this time.