Skip to content

Instantly share code, notes, and snippets.

@ThomasThoren
ThomasThoren / README.md
Last active June 12, 2017 02:05
Map distance scales

Example of how to create dynamic map distance scales.

@ThomasThoren
ThomasThoren / .block
Last active October 1, 2017 20:38
New York Times map reproduction II
height: 1000
@ThomasThoren
ThomasThoren / .block
Last active January 19, 2018 16:52
Texas map
height: 725
@ThomasThoren
ThomasThoren / _README.md
Last active March 9, 2019 19:15
AWSCLI

AWSCLI

sync

aws s3 sync \
  /home/tom/ \
  s3://mybucket/ \
  --exclude "*.DS_Store"
@ThomasThoren
ThomasThoren / _README.md
Last active March 9, 2019 19:25
Web browsers

jq

Docs: https://stedolan.github.io/jq/

Download sample JSON data from the City of Austin. This contains traffic light data.

$ curl -o data.json https://data.austintexas.gov/resource/fs3c-45ge.json
# Default Makefile
# Save as ~/.Makefile or similar and use as starting point for new Makefiles.
PROJECT_DIR=`pwd`
# Keep intermediate files
.SECONDARY:
.PHONY: help
@ThomasThoren
ThomasThoren / _README.md
Last active March 10, 2019 18:54
iTerm2

iTerm2

@ThomasThoren
ThomasThoren / README.md
Last active September 30, 2019 23:14
Inset map

Uses a small inset map to provide context for the larger, zoomed map. The same bounding coordinates for the raster image are used to create the reference box in the inset map.

@ThomasThoren
ThomasThoren / _README.md
Last active February 17, 2021 13:41 — forked from craigds/xml-to-har.py
Convert Internet Explorer's XML HAR file to a JSON HAR file

Setup

pip install -r requirements.txt

Usage

python xml-to-har.py har.xml har.json