-
Download this Makefile
-
Install YAML and SerialPort Perl libraries
Using Terminal:
sudo cpan >
window.Component = { | |
init: function () { | |
var self = this; | |
self.events.parent = self; | |
self.callbacks = {}; | |
}, | |
events: { | |
actionHappened: function (event) { | |
var self = this.parent; |
Somen with Tempeh and Broccoli | |
- Tempeh brick | |
- Broccoli florets | |
- Canola oil | |
- 1 tbsp Maple Syrup | |
- 1 tbsp Tamari | |
- 1 tbsp Water | |
- 1/4 tsp liquid smoke | |
- Somen noodles (1 bundle broken in half) |
Function.prototype.times = function (times) { | |
while (times) { | |
this.call(); | |
times--; | |
} | |
} |
BOARD_TAG = uno | |
ARDUINO_PORT = /dev/cu.usb* | |
ARDUINO_LIBS = | |
include /usr/local/arduino/Arduino.mk |
Download this Makefile
Install YAML and SerialPort Perl libraries
Using Terminal:
sudo cpan >
{ | |
"cmd": ["grunt", "--no-color"], | |
"selector": ["source.js", "source.less", "source.json"] | |
} |
var Person = function () {}; | |
Person.prototype.name = 'Person'; | |
Person.prototype.config = { | |
arms: 2 | |
}; | |
Person.prototype.metadata = { | |
type: 'Person' |
In a repeating sequence of integers the sum of any group of concurrent integers of the same length as the pattern will always be the same.
IE:
1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 ...
5 + 1 + 2 + 3 + 4 = 15
1 + 2 + 3 + 4 + 5 = 15
4 + 5 + 1 + 2 + 3 = 15
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)]; | |
} |
brew install mplayer --use-gcc
)cat video1.avi video2.avi > output.avi
mencoder -forceidx -oac copy -ovc copy output.avi -o output_final.avi