Skip to content

Instantly share code, notes, and snippets.

View 1j01's full-sized avatar

Isaiah Odhner 1j01

View GitHub Profile
notes = ['A', 'A#', 'B', 'C', 'C#', 'D', 'D#', 'E', 'F', 'F#', 'G', 'G#']
getFrequency = (noten)->
440 * 2 ** ((noten - 49) / notes.length)
getNoteN = (notestr)->
i = notes.indexOf notestr[0...-1]
octave = parseInt notestr[-1..]
octave -= 1 if i >= notes.indexOf 'C'
@1j01
1j01 / npm uninstall emojis-list -ddd.txt
Created November 11, 2017 19:36
the ok is a lie :( 🎂
npm info it worked if it ends with ok
npm verb cli [ 'C:\\Program Files\\nodejs\\node.exe',
npm verb cli 'C:\\Users\\Isaiah\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli 'uninstall',
npm verb cli 'emojis-list',
npm verb cli '-ddd' ]
npm info using npm@5.5.1
npm info using node@v6.10.0
npm verb npm-session 71c9cc4b23c86eae
npm sill install loadCurrentTree