Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View bblack's full-sized avatar

Brian Black bblack

View GitHub Profile
This file has been truncated, but you can view the full file.
var geojson = {"type":"MultiLineString","coordinates":[[[63.888388838883884,36.028822897143044],[64.42844284428443,36.23147040798666],[64.71647164716472,36.85630023308782],[64.75247524752476,37.09272232907203],[65.47254725472547,37.24470796220476],[65.32853285328534,36.99139857365023],[65.47254725472547,36.36656874854907],[65.14851485148515,35.92749914172124],[65.6885688568857,35.99504831200244],[65.43654365436544,35.252007438909175],[64.71647164716472,35.21823285376858],[65.04050405040505,34.812937832081346],[64.46444644464447,34.677839491518924],[63.81638163816382,34.50896656581591],[63.02430243024304,34.64406490637833],[62.66426642664268,34.84671241722195],[62.808280828082815,35.319556609190386],[63.096309630963106,35.43776765718249],[63.096309630963106,35.85994997144003],[63.888388838883884,36.028822897143044],[63.99639963996401,35.4884295348934],[64.71647164716472,35.21823285376858]],[[64.46444644464447,34.677839491518924],[64.14041404140414,34.22188259212079],[63.492349234923495,34.2725444698317],[63.56
@bblack
bblack / states.geojson
Created July 25, 2013 17:19
Geojson for worldwide admin_1 regions
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bblack
bblack / dnd.rb
Created March 9, 2012 19:43
sim kasper's dice problem
def get_trial(dice_sides=6, explode_on=6)
total = 0
while true
roll = rand(dice_sides) + 1 # rand(x) is int in 0..(x-1)
total += roll
break if roll < explode_on
end
return total