Skip to content

Instantly share code, notes, and snippets.

from xml.etree.ElementTree import ElementTree
from datetime import datetime
import time
from sys import argv
import json
tree = ElementTree()
if (len(argv) < 3):
print "specify an input & output filename, and year. input is osm, output is geojson"
exit()
@chadlawlis
chadlawlis / hond.json
Last active March 5, 2017 05:07
Honduras D3 base map
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chadlawlis
chadlawlis / .hyper.js
Last active November 12, 2016 00:22
HyperTerm settings as of 11/11/2016
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
@chadlawlis
chadlawlis / syncing_run_data.md
Last active November 15, 2016 04:28
Syncing run data

Syncing run data across platforms

I prefer running without my phone so I use a GPS watch instead - the Garmin Forerunner 10. This device is not equipped with bluetooth, so I upload my activity to Garmin Connect through Garmin Express then sync it across platforms with tapiriik. Set up as follows:

  1. Install Garmin Express, connect and add device: https://connect.garmin.com/en-US/start/forerunner/express
  2. In Garmin Express, select "view your activities on Garmin Connect" which will sync activity
  3. Hook up Garmin Connect to tapiriik which will provide the activity syncing across services
  4. Hook up any other services to sync to via tapiriik (I sync to Strava and Runkeeper)
  5. Activity will need to be synchronized manually via tapiriik (by selecting the "synchronize now" button) unless you pay for automatic synchronization (a trivial $2/year to cover costs, more for added support)