Skip to content

Instantly share code, notes, and snippets.

View willcadell's full-sized avatar

Will Cadell willcadell

View GitHub Profile
@willcadell
willcadell / gist:9e81cfcea15bc5e18202
Created January 12, 2016 14:16
Your device can be too smart.
Assumptions lead to inaccuracy. This is as true for devices as it is for people.
I love skiing, all kinds of skiing. I am lucky enough to live in a place where I can do quite a bit of skiing of one variety or another. One of my great pleasures is to take to the XC trails after work (in the dark) and zip around the woods with the snow gently falling around me.
I'm also a technology guy, and I've been using Map My Fitness (MMF) on various different iPhones for years. This has been a great combination for me to track my adventures, but it's not really an 'activity tracker'. It turns out that life in general is also an interesting thing to measure. This year, Santa upgraded me to a Fitbit Surge, primarily because of its GPS abilities which would allow me to track workouts that happen in an ad hoc manner (my life seems to be getting progressively more ad hoc!)
I'm a geospatial guy, so GPS is always interesting to me - distance, elevation, speed are all good things to measure. In XC skiing these can change wil
@willcadell
willcadell / gist:df824f1e550dec4bcaee
Created May 21, 2015 17:11
better leaflet onEachFeature example
<!DOCTYPE html>
<html>
<head>
<title>Leaflet</title>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" />
<script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet.js"></script>
</head>
<body>
<div style="width:500px; height:500px" id="map"></div>
@willcadell
willcadell / LICENSE.txt
Created July 18, 2011 15:55 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE