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
<iframe src="http://blip.tv/play/hq0Kgtf%2BcAI.html" width="480" height="300" frameborder="0" allowfullscreen></iframe><embed type="application/x-shockwave-flash" src="http://a.blip.tv/api.swf#hq0Kgtf+cAI" style="display:none"></embed> |
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
Day job: | |
Favorite Python project: | |
Favorite Conference: | |
Python Experience Level: |
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
define([ | |
"eyebrow/Widget", | |
"eyebrow/Template!Example" | |
], function(Widget, template){ | |
return Widget.extend({ | |
_template: template, | |
_onInput: function(){ | |
this.set("value", this.textbox.value); | |
} |
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
<div> | |
<p>Input: <input data-dojo-attach-point="textbox" | |
data-dojo-attach-event="input: _onInput"></p> | |
<p>You typed: {{value}}</p> | |
</div> |
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
define([ | |
""eyebrow/Widget"", | |
""eyebrow/Template!Example"" | |
], function(Widget, template){ | |
return Widget.extend({ | |
_template: template, | |
_onInput: function(){ | |
this.set(""value"", this.textbox.value); | |
} |
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
<div> | |
<p>Input: <input data-dojo-attach-point=""textbox"" | |
data-dojo-attach-event=""input: _onInput""></p> | |
<p>You typed: {{value}}</p> | |
</div> |
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
void setup(){ | |
Serial.begin(9600); | |
}; | |
int inByte = 0; | |
void loop(){ | |
Serial.print(inByte++); | |
Serial.print('\r'); | |
delay(500); | |
}; |
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 serialport = require("serialport"); | |
var SerialPort = serialport.SerialPort; | |
// localize object constructor | |
var sys = require("sys"); | |
var port = "/dev/tty.usbmodemfd531"; | |
//var port = "/dev/tty.usbserial-A6007zeJ"; // RFID reader | |
var serial_port = new SerialPort(port, { | |
baudrate: 9600, | |
// parser: serialport.parsers.raw | |
parser: serialport.parsers.readline("\r") |
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
Conditionals | |
( false :) | |
console.log "if" | |
:( true ) | |
console.log "else if" | |
:() | |
console.log "else" | |
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 sp = require("serialport") | |
serialport = sp.SerialPort; | |
var port = "/dev/tty.usbmodem621"; // Update with your port tty path | |
var serial_port = new serialport(port, { | |
baudrate: 9600, | |
parser: sp.parsers.raw | |
}); |