Skip to content

Instantly share code, notes, and snippets.

View ahdinosaur's full-sized avatar
☀️
abundant

Mikey ahdinosaur

☀️
abundant
View GitHub Profile
@ahdinosaur
ahdinosaur / index.js
Created October 25, 2014 18:42
requirebin sketch
var Color = require('color');
var canvas = document.createElement('canvas');
var context = canvas.getContext('2d');
var body = document.body;
body.appendChild(canvas);
var holons = ["organism", "organ", "tissue", "cell", "molecule", "atom", "sub-atomic particle"];
@ahdinosaur
ahdinosaur / index.js
Created October 26, 2014 06:53
requirebin sketch
var Color = require('color');
var canvas = document.createElement('canvas');
var context = canvas.getContext('2d');
var body = document.body;
body.appendChild(canvas);
var holons = ["individual", "family", "community", "city", "county", "state", "nation"];
holons = holons.reverse();
@ahdinosaur
ahdinosaur / index.js
Created October 26, 2014 20:05
requirebin sketch
// create graph:
var createGraph = require('ngraph.graph');
var createSvg = require('ngraph.svg');
var QS = require('query-string');
var graphGenerators = require('ngraph.generators');
function render (svg) {
var query = QS.parse(window.location.search.substring(1));
var graph = getGraphFromQueryString(query);
var graphics = createSvg(graph, {
@ahdinosaur
ahdinosaur / index.js
Last active August 29, 2015 14:09
requirebin sketch
var traverse = require('traverse');
function recurseKeySwap (obj, prevKey, newKey) {
return traverse(obj).map(function (value) {
// if key we want to swap
if (this.key === prevKey) {
// remove value at previous key
this.remove();
// set value at new key
this.parent.node[newKey] = value;
@ahdinosaur
ahdinosaur / index.js
Created November 13, 2014 08:45
requirebin sketch
var nets = require('nets');
var allDocsUrl = 'isaacs.iriscouch.com/registry/_all_docs';
if (document) {
// prefix with corsproxy url
allDocsUrl = "http://www.corsproxy.com/" + allDocsUrl;
} else {
// prefix with http://
allDocsUrl = "http://" + allDocsUrl;
@ahdinosaur
ahdinosaur / README.md
Last active February 21, 2016 21:41
beagle bone black pixel jockey install

nothing to see here, ignore please.

# get bbb image (http://elinux.org/Beagleboard:BeagleBoneBlack_Debian)
wget https://rcn-ee.com/rootfs/bb.org/release/2015-11-03/console/BBB-eMMC-flasher-debian-7.9-console-armhf-2015-11-03-2gb.img.xz
sha256sum BBB-eMMC-flasher-debian-7.9-console-armhf-2015-11-03-2gb.img.xz 
  ebdd2938253e179a36a1b9b1f1def2a04595f9e0ee94776988c490ea317e97bc BBB-eMMC-flasher-debian-7.9-console-armhf-2015-11-03-2gb.img.xz

# flash image to sd card
unxz -c BBB-eMMC-flasher-debian-7.9-console-armhf-2015-11-03-2gb.img.xz | sudo dd bs=1M of=/dev/sdb
@ahdinosaur
ahdinosaur / mad-science.md
Created July 14, 2015 07:52
where some mad science is happening

people:

  • substack
  • mikolalysenko
  • feross
  • mafintosh
  • mmckegg
  • dominictarr
  • pfraze
  • mattdesl
  • Raynos
@ahdinosaur
ahdinosaur / STACKS.md
Last active March 17, 2016 10:12
stack attack
@ahdinosaur
ahdinosaur / services-os.md
Last active December 21, 2015 01:32
notes on Enspiral Services Organizing System

Enspiral Services organizing system

livelihood pod

your pseudo-family

  • who to share financial commitments with
    • trust and compatibility of financial needs
    • group folx with similar expectations of financial commitments together
  • high dependents (family, mortgages, etc) versus high passion (travel, mad science, etc)