Skip to content

Instantly share code, notes, and snippets.

View ahdinosaur's full-sized avatar
☀️
abundant

Mikey ahdinosaur

☀️
abundant
View GitHub Profile
@ahdinosaur
ahdinosaur / grid-beam.py
Created July 30, 2012 04:20
simple script to generate .dxf files for use in making grid beam
#!/usr/bin/env python
import sys
import dxfwrite
from dxfwrite import DXFEngine as dxf
def main():
num_args = len(sys.argv) - 1
if sys.argv[1] == "stick":
@ahdinosaur
ahdinosaur / Configuration.h
Created February 19, 2013 03:36
Ace Monster Toys MakerGear Mosaic marlin config
#ifndef CONFIGURATION_H
#define CONFIGURATION_H
// This configurtion file contains the basic settings.
// Advanced settings can be found in Configuration_adv.h
// BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration
//User specified version info of this build to display in [Pronterface, etc] terminal window during startup.
//Implementation of an idea by Prof Braino to inform user that any changes made
//to this build by the user have been successfully uploaded into firmware.
@ahdinosaur
ahdinosaur / digest.md
Created January 17, 2014 01:11
digest of holons


holons

the idea of the "holon" was introduced by Arthur Koestler in The Ghost in the Machine (1967) and was presented again at the Alpbach Symposium (1968) in a paper titled: Beyond Atomism and Holism - the concept of the holon. full text

definition

Koestler defines holons as something that is simultaneously a whole and a part, thus reconciling atomism and holism. he presents holons as building block of self-regulating open hierarchic order as found in biological organisms. the concept of holons is the core thesis behind the implementation of holonic software designed to solve real problems faced by the modern holon.

@ahdinosaur
ahdinosaur / gist:9637714
Last active August 29, 2015 13:57
how to install docker 0.9.0 on Debian testing / sid
# install docker from Debian repos
sudo aptitude install docker.io
# add your user to the docker group
sudo adduser <user> docker
# alias docker.io to docker
sudo ln "$(which docker.io)" "$(dirname $(which docker.io))/docker"
# log out and log back in
@ahdinosaur
ahdinosaur / index.js
Created April 18, 2014 04:26
requirebin sketch
var d3 = require('d3');
var nodes = d3.range(200).map(function () {
return {
radius: Math.random() * 12 + 4
};
});
var root = nodes[0];
@ahdinosaur
ahdinosaur / index.js
Created May 5, 2014 03:21
requirebin sketch
var mapify = require('geojson-mapify');
L.Icon.Default.imagePath = "http://cdn.leafletjs.com/leaflet-0.7.2/images";
// add Leaflet stylesheet
var stylesheet = document.createElement("link");
stylesheet.rel = "stylesheet";
stylesheet.href = "http://cdn.leafletjs.com/leaflet-0.7.2/leaflet.css";
document.getElementsByTagName("head")[0].appendChild(stylesheet);
@ahdinosaur
ahdinosaur / keybase.md
Created August 21, 2014 02:11
keybase.md

Keybase proof

I hereby claim:

  • I am ahdinosaur on github.
  • I am dinosaur (https://keybase.io/dinosaur) on keybase.
  • I have a public key whose fingerprint is AD5B 7EEE B7FF 158B 33FC DB3A A4A6 6E44 80A0 CCF9

To claim this, I am signing this object:

@ahdinosaur
ahdinosaur / notes.md
Created September 2, 2014 02:32
OpenApp notes 1 Sept 2014

full stack OpenApp

architecture

  • entities
    • type schema
  • protocols
    • set of method schemas (input and output)
  • services
  • functions to implement protocol
@ahdinosaur
ahdinosaur / Dockerfile
Created September 30, 2014 03:04
cobudget Docker files
FROM stackbrew/ruby:2.1
RUN apt-get update -qq
RUN apt-get install -y build-essential libpq-dev postgresql-contrib
WORKDIR /tmp
ADD Gemfile Gemfile
ADD Gemfile.lock Gemfile.lock
RUN bundle install --full-index --jobs $(nproc)
@ahdinosaur
ahdinosaur / index.js
Last active August 29, 2015 14:08
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", "particle"];