Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View clhenrick's full-sized avatar

Chris Henrick clhenrick

View GitHub Profile
@clhenrick
clhenrick / .gitignore
Last active January 11, 2024 12:33
Node.JS script to aggregate NYC vehicle collision data into a hexagonal grid and compute the ck means for each cell using Turf.JS and Simple Statistics.JS
node_modules/
.DS_Store
@clhenrick
clhenrick / .block
Last active January 20, 2019 05:32
Stacked Bar Chart Sorting
license: gpl-3.0
@clhenrick
clhenrick / barley.csv
Created February 24, 2018 00:49
barley data
id yield gen year site
1 47.5 Manchuria 1927 StPaul
2 45.4 Glabron 1927 StPaul
3 45 Svansota 1927 StPaul
4 43.4 Velvet 1927 StPaul
5 60.2 Trebi 1927 StPaul
6 45.2 ManxSA 1927 StPaul
7 50.3 SAxMan 1927 StPaul
8 49 Peatland 1927 StPaul
9 45.9 Colsess 1927 StPaul
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@clhenrick
clhenrick / .block
Last active February 15, 2018 01:29
mapd-connector (wip)
license: mit
@clhenrick
clhenrick / mapd-browser-connector.js
Created February 15, 2018 00:17
MapD browser connector
This file has been truncated, but you can view the full file.
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
@clhenrick
clhenrick / data.csv
Last active February 9, 2018 01:59
baseball players by ethnicity, 1947 - 2016
year of_players ethnicity of_war
1947 0.983 White 0.999
1948 0.985 White 0.976
1957 0.881 White 0.828
1977 0.179 African American 0.272
1978 0.174 African American 0.242
1979 0.179 African American 0.242
1980 0.174 African American 0.264
1981 0.187 African American 0.26
1982 0.179 African American 0.221
@clhenrick
clhenrick / StartAudioContext.js
Created January 7, 2018 21:29 — forked from AvneeshSarwate/basic.html
Tone.Sequence not running on iOS
/**
* StartAudioContext.js
* @author Yotam Mann
* @license http://opensource.org/licenses/MIT MIT License
* @copyright 2016 Yotam Mann
*/
(function (root, factory) {
if (typeof define === "function" && define.amd) {
define([], factory)
} else if (typeof module === "object" && module.exports) {
@clhenrick
clhenrick / .block
Last active January 7, 2018 18:19
ios audio context debug monkeypatch
license: mit
@clhenrick
clhenrick / .block
Last active December 14, 2017 20:18
3rd party raster tiles in Mapbox GL JS
license: mit