Skip to content

Instantly share code, notes, and snippets.

View nh200zcta.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View 2010_Bike_Ped_NYC.csv
We can't make this file beautiful and searchable because it's too large.
"33274808",2010,"","2010-01-05 00:00:00","12",1,0,"Y","03030","","01","007",1,"03","Y","01","1","1","1","1","09","2","14","K","N3","","","2010-01-05 16:02:00","NYC PD","1","011","3","N","Y",4508040.91,585391.79,429082113,169972,0,"3",2
"33308985",2010,"","2010-01-02 00:00:00","09",0,1,"Y","03030","","01","030",1,"02","Y","02","1","2","1","2","09","2","13","C","N3","","","2010-01-02 07:00:00","NYC PD","2","011","1","N","N",0,0,0,0,0,"",12
thecristen / .block
Last active Oct 26, 2017
Accessible country selector map widget
View .block
license: cc-by-sa-3.0
height: 800
border: no
thecristen / index.html
Last active Jun 3, 2018 — forked from awoodruff/MarkerCluster.css
Leaflet heatmap
View index.html
<title>A Leaflet map!</title>
<link rel="stylesheet" href="" />
<script src=""></script>
<script src="leaflet.heat.js"></script>
<script src=""></script>
#map{ height: 100% }
thecristen /
Created Mar 13, 2016 — forked from awoodruff/
Dot density map

This is an attempt at a slightly D3-ish way of drawing a dot density map on a canvas element. In short, each polygon is drawn (invisibly) with a unique color, then random points are thrown at polygon bounding boxes and the pixel color is used for a point-in-polygon test. This example draws one dot for every 2 people in central Boston census blocks, for a total of approximately 132,000 dots.

thecristen /
Last active Mar 12, 2016
forked off IBM Web accessibility checklist - Version 5.2

IBM Web accessibility checklist - Version 5.2

  • 1.1 Text alternatives: Provide text alternatives for all non-text content so that it can be changed into other forms people need, such as large print, Braille, speech, symbols or simpler language.
  • 1.1a Text alternatives. All non-text content that is presented to the user has a text alternative that serves the equivalent purpose.
  • 1.1b Non-text content. A descriptive label is provided for time-based media, including live audio-only and live video-only content. Non-text content that is used to confirm that content is being accessed by a person rather than a computer is available in different forms to accommodate multiple disabilities.
  • 1.1c Image maps. Client-side image maps are used and alternative text is provided for image map hot spots. Equivalent text links are provided if a server-side image map is used.
  • [ ]
thecristen / chosen-bootstrap.scss
Last active Mar 24, 2018 — forked from koenpunt/chosen-bootstrap.css
Bootstrap 3.0 theme for Chosen
View chosen-bootstrap.scss
// Customized styles for select boxes using the Chosen jQuery plugin
// forked from Bootstrap-themed version at
// This one uses your variables from bootstrap-sass
// by thecristen, at (no license go nuts)
// TODO: This only covers single select
select.form-control + .chosen-container.chosen-container-single .chosen-single {
@include box-shadow(inset 0 1px 1px rgba(0, 0, 0, .075));
@include transition(border-color ease-in-out .15s, box-shadow ease-in-out .15s);
display: block;
thecristen / getPrettyJSON.rb
Created Aug 24, 2015
take a url that returns a json response and print it all pretty
View getPrettyJSON.rb
require 'json'
require 'net/http'
def getPrettyJSON(url)
uri = URI.parse(url)
http =, uri.port)
request =
response = http.request(request)
p = JSON.parse(response.body)
return JSON.pretty_generate(p)