Skip to content

Instantly share code, notes, and snippets.

View ahdinosaur's full-sized avatar
☀️
abundant

Mikey ahdinosaur

☀️
abundant
View GitHub Profile
TAP version 13
# Platform
ok 1 (unnamed assert)
Node.js 6.2.1 on Linux 64-bit
1..1
# tests 1
# pass 1
# ok
@ahdinosaur
ahdinosaur / .gitignore
Created June 15, 2016 00:35
multiplayer inu demo on 15/06/16
node_modules
npm-debug.log*
@ahdinosaur
ahdinosaur / data.json
Created March 24, 2016 02:14
live http server / client
{
"animal": "chinchilla"
}
@ahdinosaur
ahdinosaur / browser.js
Created March 22, 2016 00:32
live streams for real-time cats
var Ws = require('websocket-stream')
var ws = Ws('ws://localhost:8000')
var stream = require('readable-stream')
var h = require('virtual-dom/virtual-hyperscript/svg')
var vraf = require('virtual-raf')
var vdom = require('virtual-dom')
var keycode = require('keycode')
var state = { x: 0, y: 0 }
var step = 0.01
@ahdinosaur
ahdinosaur / index.js
Created March 21, 2016 21:35
live lecture 16-03-22
var express = require('express')
var bodyParser = require('body-parser')
/*
RESTful HTTP API routing
example: `/things` resource
GET /things -> [{ id: 0, name: "computer" }, { id: 1, name: "javascript" }]
POST /things { name: "desk" } -> { id: 2, name: "desk" }
@ahdinosaur
ahdinosaur / local-food-northland.md
Created March 4, 2016 05:07
Local Food Northland - Software

Local Food Northland - Software

continuing from the Local Food Northland Software Project document

whiteboard notes

Principles

Similar to what physical tools you have available on your work site, computer systems are tools we rely on to facilitate the work we do. This project requires us to build new computer systems, yet we want these systems to be re-usable for ourselves in other projects as well as others. To achieve this, for this project we are not building one tool, we are building an ecosystem of tools (re-usable micro-services) that each focus on a single concern of the overall problem space. To limit our scope, we will only commit to building the features of these tools that we need for this project.

@ahdinosaur
ahdinosaur / instructions.js
Last active March 3, 2016 22:02
Enspiral Dev Academy dishwasher instructions
var runSerial = require('run-serial')
var runParallel = require('run-parallel')
var createKitchen = require('@eda/kitchen')
var lifeskills = require('lifeskills')
var kitchen = createKitchen(process.env.KITCHEN)
var { dishes, dishwasher, dryingRack } = kitchen
function startDishwasher (callback) {
@ahdinosaur
ahdinosaur / log.txt
Created February 3, 2016 03:54
blockchain info
15:54]
Gina Rembe dear universe, I’m keen to learn more about Blockchain… what are your favourite articles or videos? Wikipedia is failing me with too much tech language.
[16:19]
Mikey Williams @gina: what in particular are you interested in learning about, or why? "Blockchain" is a buzzword similar to "Cloud", it's become a catch-all term for fuzzily related ideas, initially based on deeply technical concepts. in my opinion a blockchain is a particular type of database based on "public-key cryptography" (https://en.wikipedia.org/wiki/Public-key_cryptography), "content-addressable storage" (https://en.wikipedia.org/wiki/Content-addressable_storage) (often as a "merkle tree" (https://en.wikipedia.org/wiki/Merkle_tree)) , and "kappa architecture" (http://www.confluent.io/blog/turning-the-database-inside-out-with-apache-samza/). it's usually often in reference to computable contracts, distributed consensus, and continuous economic growth. maybe @mix can be more helpful, i'm too technical by nature.(edited)
[16
@ahdinosaur
ahdinosaur / developer-value-flows.md
Last active January 3, 2016 20:39
developer value flows

developer value flows

Vocabulary

ResourceTypes

AgentTypes

  • [Person]
  • [Group]
@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)