Skip to content

Instantly share code, notes, and snippets.

View joyrexus's full-sized avatar

J. Voigt joyrexus

View GitHub Profile
@joyrexus
joyrexus / README.md
Last active December 21, 2015 10:49 — forked from mbostock/.block
UP/Munising zoom.
@joyrexus
joyrexus / home.geojson
Last active December 22, 2015 05:58
Our temporary abode in Sewanee, TN
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@joyrexus
joyrexus / forecast.coffee
Last active December 22, 2015 05:58
Get current weather conditions via forecast.io.
# Return current weather conditions via forecast.io
req = require 'request'
key = '1b21e642bf3edf6d313f3e7ef95e3d15'
loc = '35.2102,-85.9364' # Sewanee, TN
url = "https://api.forecast.io/forecast/#{key}/#{loc}"
req url, (err, res, body) ->
data = JSON.parse body
console.log data.currently
@joyrexus
joyrexus / README.md
Last active December 22, 2015 05:59
via:geojson.io

27 Canterbury Way

coordinates: -85.9365, 35.21

@joyrexus
joyrexus / README.md
Last active December 22, 2015 07:29
DIY DOM W/ D3
@joyrexus
joyrexus / commute.md
Last active December 22, 2015 08:29
via:geojson.io

Maggie's Daily Commute

@joyrexus
joyrexus / hiking.md
Created September 6, 2013 15:28
Options for hiking in and near Sewanee, TN.

Sewanee Hiking

Options for hiking in and near Sewanee, TN.

Near Sewanee

Hikes include ...

  • Buggy Top Cave
@joyrexus
joyrexus / geocode.coffee
Last active December 22, 2015 18:09
Find geo-coordinates for an address.
#!/usr/bin/env coffee
'''
Find coords for an address.
See https://developers.google.com/maps/documentation/geocoding
'''
req = require 'request'
argv = require('optimist').argv
@joyrexus
joyrexus / brewpubs.geojson
Last active December 22, 2015 18:19
Brewpubs in Chattanooga
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@joyrexus
joyrexus / yelp.coffee
Last active December 22, 2015 19:19
Render yelp search results as geojson (or map).
#!/usr/bin/env coffee
'''
Yelp TERM in CITY and render results as geojson (or map).
Examples:
yelp tacos
yelp --in Louisville brewpubs
yelp --in Nashville "chinese takeout"
yelp --map --in Milwaukee "bowling alleys" # render results as map via geojson.io