Skip to content

Instantly share code, notes, and snippets.

@timwis
timwis / index.js
Created June 19, 2016 00:12 — forked from kvnneff/index.js
requirebin sketch
var html = require('bel')
var text = html('<p>Some text</p>')
var el = html`<div>${text}</div>`
document.body.appendChild(el)
@timwis
timwis / chicago-crimes.v2.json
Last active January 17, 2016 21:06 — forked from marks/chicago-crimes.v2.json
Chicago crime incidents VizWit configuration
{
"version": "2",
"header": {
"title": "Crime Incidents in Chicago",
"description": "This dataset reflects reported incidents of crime (with the exception of murders where data exists for each victim) that occurred in the City of Chicago from 2001 to present, minus the most recent seven days. Data is extracted from the Chicago Police Department's CLEAR (Citizen Law Enforcement Analysis and Reporting) system. In order to protect the privacy of crime victims, addresses are shown at the block level only and specific locations are not identified.",
"navigation": [{
"label": "Download",
"url": "https://data.cityofchicago.org/api/views/ijzp-q8t2/rows.csv?accessType=DOWNLOAD&bom=true"
}]
},
@timwis
timwis / gist:4237abfc1607d93bb5a0
Created September 14, 2015 16:20 — forked from ehershey/gist:ac1e9d9d246a5cb7de0c
Amazon Linux and Ubuntu and Red Hat Enterprise Linux
I've been launching and launching to test
varied instances, sizes, OS
to rule out dud instances
and regional differences
I'll try it outside us-west
mike o used an existing vpc
creating new ones broke for me
it all was this morning
with AMI's boring
I guess I'll go home now, thanks.
@timwis
timwis / modernizr-custom.js
Last active September 14, 2015 16:05 — forked from ianlintner-wf/modernizr-custom.js
2.x dev-build of modernizr minified
/* Modernizr 2.8.3 (Custom Build) | MIT & BSD
* Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load
*/
;window.Modernizr=function(a,b,c){function C(a){j.cssText=a}function D(a,b){return C(n.join(a+";")+(b||""))}function E(a,b){return typeof a===b}function F(a,b){return!!~(""+a).indexOf(b)}function G(a,b){for(var d in a){var e=a[d];if(!F(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function H(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:E(f,"functi