- Batarang extension for Chrome
- AngularJS in 60-ish minutes (Pretty good overview video)
components:
window.echo = function (message, namespace) { | |
if (namespace && !echo.namespaces[namespace]) { | |
return; | |
} | |
console.log(message); | |
}; | |
// TODO : DRY | |
echo.warn = function (message, namespace) { |
components:
#!/bin/bash | |
rm -rf node_modules | |
rm -rf bower_components | |
npm cache clean | |
npm install | |
echo "freshmaker" | say -v cello |
// @gvn - "sinewave duet" | |
var Context = window.AudioContext || window.webkitAudioContext; | |
var context = new Context(); | |
var basePitch = 120; | |
var phraseCount = 12; | |
var osc = context.createOscillator(); | |
osc.frequency.value = 0; | |
osc.connect(context.destination); |
{ | |
"html": { | |
"brace_style": "collapse", | |
"indent_char": " ", | |
"indent_scripts": "normal", | |
"indent_size": 2, | |
"max_preserve_newlines": 1, | |
"preserve_newlines": true, | |
"unformatted": ["sub", "sup", "p", "span", "h1", "h2", "h3", "h4", "h5", "h6", "label"], | |
"wrap_line_length": 0 |
{ | |
"globals": { | |
"module": false, | |
"define": false, | |
"requirejs": false, | |
"require": false | |
}, | |
"bitwise": true, | |
"browser": true, | |
"curly": true, |
brew install mplayer --use-gcc
)cat video1.avi video2.avi > output.avi
mencoder -forceidx -oac copy -ovc copy output.avi -o output_final.avi
function randomWord(hand, length) { | |
var chooseVowel = !!Math.round(Math.random()), | |
word = ''; | |
while (length) { | |
if (chooseVowel) { | |
word += hand.vowels[Math.floor(Math.random() * hand.vowels.length)]; | |
} else { | |
word += hand.consonants[Math.floor(Math.random() * hand.consonants.length)]; | |
} |