Skip to content

Instantly share code, notes, and snippets.

Avatar
:shipit:
e'rry day I'm hustlin'

Ændrew Rininsland aendrew

:shipit:
e'rry day I'm hustlin'
View GitHub Profile
@aendrew
aendrew / column-chart-examples.js
Created Apr 6, 2017
Weird Nightingale Charts bug
View column-chart-examples.js
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])
@aendrew
aendrew / .block
Last active Apr 6, 2017
fresh block
View .block
license: mit
@aendrew
aendrew / fix-node.sh
Created Mar 6, 2017
Simple bash script that attempts to fix NodeJS using n via Homebrew on OS X
View fix-node.sh
#!/bin/bash
echo "Running Ændrew's Node Fixer Script"
if (( $(stat -f %u /usr/local) == 0)); then
echo "Fixing /usr/local permissions"
sudo chown -R $USER:"$(id -gn)" /usr/local
fi
echo "Install Node LTS"
@aendrew
aendrew / d3-sankey.d.ts
Created Feb 12, 2017
In-development TypeScript def for d3-sankey 0.4.1
View d3-sankey.d.ts
// Type definitions for D3JS d3-sankey module v0.4.1
// Project: https://github.com/d3/d3-sankey/
// Definitions by: Ændrew Rininsland <https://github.com/aendrew>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// I plan to submit this to DefinitelyTyped; if you find this online, please check there first.
interface Sankey {
/**
* If _width_ is specified, sets the node width to the specified function or number and returns
* this sankey generator. If width is not specified, returns the current node width accessor,
@aendrew
aendrew / .block
Last active Jan 5, 2017
Ordinal histogram
View .block
license: mit
View .block
license: mit
@aendrew
aendrew / .block
Last active Dec 30, 2016
Streamgraph v4
View .block
license: gpl-3.0
@aendrew
aendrew / .block
Created Dec 27, 2016
Chord Diagram
View .block
license: gpl-3.0
height: 960
border: no
@aendrew
aendrew / GoT-screentimes--s06.json
Last active Sep 7, 2017
Game Of Thrones total screentimes (Up to and including Season 6)
View GoT-screentimes--s06.json
[
{
"name": "Tyrion Lannister",
"imdbUrl": "http://www.imdb.com/character/ch0146096/",
"screentime": 293.3,
"episodes": 54,
"portrayedBy": {
"name": "Peter Dinklage",
"imdbUrl": "http://www.imdb.com/name/nm0227759/"
}
@aendrew
aendrew / .block
Last active Dec 15, 2016
FT Perils of Perception reader results -- Perceived happiness
View .block
license: mit
You can’t perform that action at this time.