Skip to content

Instantly share code, notes, and snippets.

View edwardhotchkiss's full-sized avatar

Edward Hotchkiss edwardhotchkiss

View GitHub Profile
/**
* Compile JSX/ES6 to .js
*/
var babelify = require('babelify');
module.exports = function(grunt) {
grunt.config.set('browserify', {
@edwardhotchkiss
edwardhotchkiss / bison_tartare_recipe.md
Last active August 29, 2015 14:14
Bison Tartare Recipe

BISON TARTARE RECIPE, V0.1.0

Ingredients

  • 1 LB Raw Bison diced
  • 1 TBSP Dijon Mustard
  • 1 TBSP Minced Garlic
  • 1/2 Cup Chives
  • 1 TBSP Worcestershire Sauce
  • 3 TBSP Capers
@edwardhotchkiss
edwardhotchkiss / Makefile
Created March 5, 2014 23:30
ATtiny85 avr-gcc / avrdude Makefile
DEVICE = attiny85
CLOCK = 8000000
PROGRAMMER = stk500v1
PORT = /dev/tty.usbmodem1421
BAUD = 19200
FILENAME = main
COMPILE = avr-gcc -Wall -Os -DF_CPU=$(CLOCK) -mmcu=$(DEVICE)
all: usb clean build upload
@edwardhotchkiss
edwardhotchkiss / a.js
Created December 10, 2013 20:28 — forked from mrvisser/a.js
var events = require('events');
var b = require('./b');
var emitter = module.exports = new events.EventEmitter();
module.exports.init = function(callback) {
b.init(function() {
emitter.emit('done');
});
};
@edwardhotchkiss
edwardhotchkiss / debug-grid.js
Created September 26, 2013 00:44
Creates an HTML Grid for debugging Animations
/**
* @library DebugGrid
* @author CandidBlend <hi@candidblend.la>
* @description grid for debugging, layouts & demos
* @license MIT
*/
(function() {
@edwardhotchkiss
edwardhotchkiss / Gruntfile.js
Created September 11, 2013 00:57
Gruntfile (site, non-lib)
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
options: {
banner: '// <%= pkg.version %> v<%= pkg.version %>, <%= grunt.template.today("yyyy-mm-dd") %>\n'
},
build: {
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>skeleton w/ requirejs</title>
<script data-main="src/init" src="vendor/require.js"></script>
</head>
<body>
</body>
// configure
require.config({
baseUrl: './dist',
paths: {
'skeleton': 'wrapper-demo-0.0.1.min'
},
shim: {
skeleton: {
exports: 'Skeleton',
deps: []
var skeleton = new Skeleton({ name : 'skeletonStandard' });
=> this skeleton's name is "skeletonStandard"