Skip to content

Instantly share code, notes, and snippets.

View k-izzo's full-sized avatar

Ken Izzo k-izzo

  • Affirm
  • San Francisco / Oakland
View GitHub Profile
@k-izzo
k-izzo / beaker.svg
Last active December 13, 2020 22:33
shape packing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@k-izzo
k-izzo / _.md
Created August 4, 2014 19:17
Tributary inlet
@k-izzo
k-izzo / _.md
Created August 4, 2014 17:24
Tributary inlet
!function(){function n(n,t){return t>n?-1:n>t?1:n>=t?0:0/0}function t(n){return null!=n&&!isNaN(n)}function e(n){return{left:function(t,e,r,u){for(arguments.length<3&&(r=0),arguments.length<4&&(u=t.length);u>r;){var i=r+u>>>1;n(t[i],e)<0?r=i+1:u=i}return r},right:function(t,e,r,u){for(arguments.length<3&&(r=0),arguments.length<4&&(u=t.length);u>r;){var i=r+u>>>1;n(t[i],e)>0?u=i:r=i+1}return r}}}function r(n){return n.length}function u(n){for(var t=1;n*t%1;)t*=10;return t}function i(n,t){try{for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}catch(r){n.prototype=t}}function o(){}function a(n){return ia+n in this}function c(n){return n=ia+n,n in this&&delete this[n]}function s(){var n=[];return this.forEach(function(t){n.push(t)}),n}function l(){var n=0;for(var t in this)t.charCodeAt(0)===oa&&++n;return n}function f(){for(var n in this)if(n.charCodeAt(0)===oa)return!1;return!0}function h(){}function g(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function p(n,
@k-izzo
k-izzo / index.html
Last active August 29, 2015 14:02
redmoon dreams map (2014.06.12 version)
<!DOCTYPE html>
<meta charset="utf-8">
<head><link rel='stylesheet' type='text/css' href='style.css'></head>
<body>
<div id='head'></div>
<div id='container'>
<span id='left'></span>
<span id='right'></span>
</div>
<script src='http://d3js.org/d3.v3.js'></script>
@k-izzo
k-izzo / dreams3_coded_clean.csv
Last active August 29, 2015 14:02
redmoon dreams (working version)
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 9.
"X","name","age","landmark","memory","intersection","imageurl","caption","directurl","lat","lng"
0,"Gus",8,"","In 2008 I met Dylan for the first time.","California and 56th street ","","","","41.7918663","-87.6937368"
1,"Clarence",9,"","I skidded and twisted my knee.","Western and 45th street","","","","41.8120617","-87.6845245"
2,"Inez",9,"","I had strawberry ice cream with my cousin and my dad.","Pulaski and 47th street ","","","","41.8078781","-87.723653"
3,"Jorge",9,"","I remember when my dad fell in the snow. ","Kedzie and 59th street","","","","41.7862429","-87.70332069999999"
4,"Franklin",8,"","On September 23rd, 2011 my baby sister was born.","Homan and 55th street ","","","","41.7934419","-87.7084421"
5,"Jillian",8,"","My first house. ","Avers and Wrightwood","","","","41.9281939","-87.7231978"
6,"Kevin",9,"","Love buried in the backyard. ","Western and Palmer","","","","41.9216635","-87.6874861"
7,"Kelly",9,"Skinner Park","I played on the swings and slide.","Adams and Racine","","","","41.8790489","
<!DOCTYPE html>
<meta charset="utf-8">
<head><link rel='stylesheet' type='text/css' href='style.css'></head>
<body>
<div id='head'>
</div>
<div id='container'></div>
<script src='http://d3js.org/d3.v3.js'></script>
<script src='http://d3js.org/topojson.v1.min.js'></script>
<script src="tabletop.js"></script>
@k-izzo
k-izzo / data.csv
Created June 2, 2014 13:36
candlesticks
date open high low close vol
May 30, 2014 560.80 561.35 555.91 559.89 1,766,300
May 29, 2014 563.35 564 558.71 560.08 1,350,400
May 28, 2014 564.57 567.84 561 561.68 1,647,500
May 27, 2014 556 566 554.35 565.95 2,098,400
May 23, 2014 547.26 553.64 543.7 552.7 1,926,900
May 22, 2014 541.13 547.6 540.78 545.06 1,611,400
May 21, 2014 532.9 539.18 531.91 538.94 1,193,000
May 20, 2014 529.74 536.23 526.3 529.77 1,779,900
May 19, 2014 519.7 529.78 517.58 528.86 1,274,300
@k-izzo
k-izzo / _.md
Created May 15, 2014 21:11
Tributary inlet
@k-izzo
k-izzo / _.md
Created March 21, 2014 04:21
Tributary inlet