This file contains 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 scales = { | |
'natural major': [0,2,4,5,7,9,11,12], | |
'ionian': [0,2,4,5,7,9,11,12], | |
'major': [0,2,4,5,7,9,11,12], | |
'chromatic': [0,1,2,3,4,5,6,7,8,9,10,11,12], | |
'spanish 8 tone': [0,1,3,4,5,6,8,10,12], | |
'flamenco': [0,1,3,4,5,7,8,10,12], | |
'symmetrical': [0,1,3,4,6,7,9,10,12], | |
'inverted diminished': [0,1,3,4,6,7,9,10,12], | |
'diminished': [0,2,3,5,6,8,9,11,12], |
This file contains 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
one | |
one zero | |
one one | |
one zero zero | |
one zero one | |
one one zero | |
one one one | |
one zero zero zero | |
one zero zero one | |
one zero one zero |
This file contains 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
from karel.stanfordkarel import * | |
""" | |
File: MidpointKarel.py | |
---------------------- | |
When you finish writing it, MidpointKarel should | |
leave a beeper on the corner closest to the center of 1st Street | |
(or either of the two central corners if 1st Street has an even | |
number of corners). Karel can put down additional beepers as it | |
looks for the midpoint, but must pick them up again before it |
This file contains 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
{ | |
"homeId": "t2gL5t597etyfgk6n", | |
"isAutoArrange": false, | |
"isParticles": true, | |
"createSmallSpherePhrase": "Algo", | |
"createLargeSpherePhrase": "Corona", | |
"keywordMap": [{ | |
"keyword": "Dali's Nerd", | |
"url": "http://d1iledcq9v5bid.cloudfront.net/spheres/lg_IMG_8583.JPG" | |
}, { |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am gleitz on github. | |
* I am gleitz (https://keybase.io/gleitz) on keybase. | |
* I have a public key whose fingerprint is F028 DAA4 C579 8221 1AED 5FFB C6D9 D29D 77AC C7E3 | |
To claim this, I am signing this object: |
This file contains 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
// Reloading modules from the repl in Node.js | |
// Benjamin Gleitzman (gleitz@mit.edu) | |
// | |
// Inspired by Ben Barkay | |
// http://stackoverflow.com/a/14801711/305414 | |
// | |
// Usage: `node reload.js` | |
// You can load the module as usual | |
// var mymodule = require('./mymodule') | |
// And the reload it when needed |
This file contains 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
// editions is one of: | |
// edition-algo | |
// edition-algo-test | |
// edition-algocollection | |
// edition-meditationstudio | |
// edition-milan | |
// edition-mon-aims | |
// edition-mon-trails | |
// edition-smilenexus | |
// edition-tdma |
This file contains 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
{ | |
"extends": ["tslint:recommended"], | |
"rules": { | |
"member-ordering": [ | |
true, | |
{ | |
"order": [ | |
"public-static-field", | |
"protected-static-field", | |
"private-static-field", |
This file contains 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
Show hidden characters
{ | |
"extends": ["tslint:recommended"], | |
"rules": { | |
"align": [ | |
true, | |
"parameters", | |
"statements" | |
], | |
"ban": false, | |
"class-name": true, |
This file contains 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
# CommitBot | |
# An interface for audibly broadcasting commit messages | |
# Tested on OSX | |
# Created by the friendly team at Hunch.com (sharing is caring!) | |
# | |
# Installation | |
# 1. replace USERNAME, PASSWORD, and HOSTNAME below | |
# 2. ... | |
# 3. profit! |
NewerOlder