Skip to content

Instantly share code, notes, and snippets.

View jeremybuis's full-sized avatar

Jeremy Buis jeremybuis

View GitHub Profile
@jeremybuis
jeremybuis / angular.sandbox.escapes.md
Created January 27, 2016 15:31
Angular Sandbox Escape Cheatsheet
### Keybase proof
I hereby claim:
* I am jeremybuis on github.
* I am jeremybuis (https://keybase.io/jeremybuis) on keybase.
* I have a public key whose fingerprint is 21C8 761C 3FCE 1C4F CBC9 70A9 D15D B207 8DFE 16B1
To claim this, I am signing this object:
@jeremybuis
jeremybuis / zero-init-array.js
Created April 16, 2014 15:04
A snippet of js that generates a 0 filled array
// http://stackoverflow.com/questions/1295584/most-efficient-way-to-create-a-zero-filled-javascript-array?lq=1
Array.apply(null, new Array(5)).map(Number.prototype.valueOf, 0);
@jeremybuis
jeremybuis / extend.js
Created April 10, 2014 15:25
An implementation of the extend function for object mixin
// Taken from
// http://raganwald.com/2014/04/10/mixins-forwarding-delegation.html
(function(window) {
var __slice = [].slice;
function extend () {
var consumer = arguments[0],
providers = __slice.call(arguments, 1),
key,
@jeremybuis
jeremybuis / README.md
Created November 20, 2013 20:26 — forked from mbostock/.block
@jeremybuis
jeremybuis / README.md
Last active December 21, 2015 14:59
something something

D3 Streamgraph Example

Series Hover

The series hover interactivity uses the technique from lgrammel seen here: http://bl.ocks.org/1963983

Data Tooltip

It isn't necessarily a tooltip, but data is displayed by inverting the x-axis value into a date, and mapping the date to the corresponding data value for the series.

@jeremybuis
jeremybuis / README.md
Last active December 17, 2015 17:09 — forked from dwtkns/README.md

Building on this - experimenting with fake 3d svg arcs using two nested orthographic projections and cardinal line interpolation.

<!doctype html>
<head>
<style>
body {
font: 10px sans-serif;
}
#main {
left: 25%;
position: absolute;
}
@jeremybuis
jeremybuis / README.md
Last active December 16, 2015 08:39
An updated spinny map to work with the new api's

A new spinny map for the masses