Skip to content

Instantly share code, notes, and snippets.

View aendra-rininsland's full-sized avatar
:shipit:
e'rry day I'm hustlin'

Ændra Rininsland aendra-rininsland

:shipit:
e'rry day I'm hustlin'
View GitHub Profile
@aendra-rininsland
aendra-rininsland / .block
Last active July 7, 2017 16:08
fresh block
license: mit
@aendra-rininsland
aendra-rininsland / column-chart-examples.js
Created April 6, 2017 11:07
Weird Nightingale Charts bug
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;
@aendra-rininsland
aendra-rininsland / .block
Last active April 6, 2017 15:22
fresh block
license: mit
@aendra-rininsland
aendra-rininsland / fix-node.sh
Created March 6, 2017 14:20
Simple bash script that attempts to fix NodeJS using n via Homebrew on OS X
#!/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"
@aendra-rininsland
aendra-rininsland / d3-sankey.d.ts
Created February 12, 2017 22:40
In-development TypeScript def for d3-sankey 0.4.1
// 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,
@aendra-rininsland
aendra-rininsland / .block
Last active January 5, 2017 03:06
Ordinal histogram
license: mit
@aendra-rininsland
aendra-rininsland / .block
Created December 30, 2016 00:18
Streamgraph
license: mit
@aendra-rininsland
aendra-rininsland / .block
Last active December 30, 2016 00:15
Streamgraph v4
license: gpl-3.0
@aendra-rininsland
aendra-rininsland / .block
Created December 27, 2016 05:46
Chord Diagram
license: gpl-3.0
height: 960
border: no
@aendra-rininsland
aendra-rininsland / GoT-screentimes--s06.json
Last active September 7, 2017 13:33
Game Of Thrones total screentimes (Up to and including Season 6)
[
{
"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/"
}