This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/local/bin/zsh | |
vagrant up | |
npm prune | |
npm install | |
npm run migrate:down && npm run migrate:up | |
cd client | |
npm prune | |
npm install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2>Code Review Checklist</h2> | |
<input type="checkbox"> Read Ticket <br> | |
<input type="checkbox"> Works from clean install <br> | |
<input type="checkbox"> Test Functionality: Does it solve the problem/satisfy the AC? <br> | |
<input type="checkbox"> Green path <br> | |
<input type="checkbox"> Red path <br> | |
<hr> | |
<p>Look for</p> | |
<input type="checkbox"> Errors in inspector <br> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs') | |
function printFormat(key) { | |
console.log(key + ": attr('" + model.properties[key].type + "'),") | |
} | |
var model = JSON.parse(fs.readFileSync(process.argv[2], {encoding: 'ascii'})) | |
Object.keys(model.properties).map(printFormat) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Copy this over the contents at tddbin.com | |
//Replace the [] in the assert statements with a functional equivalant | |
//Reference here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array | |
//Lambda syntax: (x,y) => x + y, works in firefox, try it out :) | |
function range(start, end, jump) { | |
jump = jump || 1 | |
if (start && !end) | |
return actualRange(0, start, jump) | |
return actualRange(start, end, jump) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var otomata = [ 220, 233, 261, 293, 330, 349, 440, 523 ]; | |
var harmonicMinotaur = [ 262, 293, 311, 349, 391 ]; | |
var majorPentatonic = [ 262, 293, 329, 391, 440 ]; | |
var C0 =16.35, | |
Cs0=17.32, | |
D0 =18.35, | |
Ds0=19.45, | |
E0 =20.60, | |
F0 =21.83, |
NewerOlder