Skip to content

Instantly share code, notes, and snippets.

View benjaminfjones's full-sized avatar
🔬
trying to find scientist hat

Benjamin Jones benjaminfjones

🔬
trying to find scientist hat
View GitHub Profile
#!/usr/bin/python3 -u
#
# Copyright Dan Smith <dsmith+ustopo@danplanet.com>
#
# This downloads USGS topo GeoPDF maps in bulk, by default the current
# high-resolution 7.5-minute maps. For reference, all of Oregon comes to
# 96GB, all of Washington is 78G. For each state, the index will be downloaded
# into the root of the per-state directory, which is how you find which
# section map you need, by name.
#
@benjaminfjones
benjaminfjones / archlinux-install.sh
Last active March 26, 2017 07:09 — forked from wuputah/archlinux-install.sh
arch linux quick-install script
#!/usr/bin/zsh
set +eux
# confirm you can access the internet
if [[ ! $(curl -Is http://www.google.com/ | head -n 1) =~ "200 OK" ]]; then
echo "Internet seems broken. Press Ctrl-C to abort or enter to continue."
read
fi