Item | Link | Unit Price |
---|---|---|
foo | bar | baz |
This file contains hidden or 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 raspi = require('raspi-io'); | |
var five = require('johnny-five'); | |
var board = new five.Board({ | |
io: new raspi() | |
}); | |
board.on('ready', function() { | |
var on = new five.Pin(8); | |
}); |
This file contains hidden or 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
// stolen from the official debounce sample | |
// constants won't change. They're used here to | |
// set pin numbers: | |
const int buttonPin = 2; // the number of the pushbutton pin | |
const int ledPin = 11; // the number of the LED pin | |
// Variables will change: | |
int ledState = 0; // the current state of the output pin | |
int buttonState; // the current reading from the input pin | |
int lastButtonState = LOW; // the previous reading from the input pin |
This file contains hidden or 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
<link rel="import" href="../components/polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
This file contains hidden or 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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<!-- you can move signIn() configs into meta tags. | |
See https://developers.google.com/+/web/signin/reference#page-level_configuration_options --> | |
<title>Drive Picker & API Sample</title> | |
</head> | |
<body> | |
This file contains hidden or 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
[ Scaling, nginx/ec2 auto scaling ][ Monitoring, dtrace/new relic ][ Logging, splunk/loggly ] | |
> [ Deployment, Chef ] | |
[ Frontend MV*, backbone/angular/ember ][ Visuals, bootstrap/foundation ] | |
[ Server framework, express, meteor ][ Templating, ejs/jade ][ Layout/styling, Sass ] | |
[ Language, Node.js/java/ruby ][ Persistance, mongo/mysql ][ Cache, memcache/redis ] | |
[ OS/container, mac/docker/vsphere ][ IaaS/PaaS/hosting, amazon/nodejitsu/digital ocean ] |
This file contains hidden or 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
string_decoder.js:109 | |
charStr += buffer.toString(this.encoding, 0, end); | |
^ | |
RangeError: toString() radix argument must be between 2 and 36 | |
at Number.toString (native) | |
at StringDecoder.write (string_decoder.js:109:21) | |
at ReadStream.onData (readline.js:839:39) | |
at ReadStream.EventEmitter.emit (events.js:117:20) | |
at Board.<anonymous> (/Users/jberi/Desktop/node_modules/johnny-five/lib/board.js:284:27) | |
at Board.<anonymous> (/Users/jberi/Desktop/node_modules/johnny-five/lib/board.js:131:18) |
This file contains hidden or 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
<element name="plus-plusone"> | |
<script> | |
Polymer.register(this, { | |
ready: function() { | |
addInstance(this); | |
}, | |
plusOneReady: function() { | |
// do stuff | |
console.log('plusone.js is ready'); | |
} |
This file contains hidden or 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
In file included from StandardFirmata.cpp:19: | |
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:80: error: typedef 'callbackFunction' is initialized (use __typeof__ instead) | |
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:80: error: 'byte' was not declared in this scope | |
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:80: error: expected primary-expression before 'int' | |
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:83: error: typedef 'sysexCallbackFunction' is initialized (use __typeof__ instead) | |
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:83: error: 'byte' was not declared in this scope | |
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:83: error: 'byte' was not declared in this scope | |
/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:83: error: 'byte' was not declared in this scope | |
/Applications/Arduino.a |
This file contains hidden or 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
// used https://github.com/MarkBennett/css-smasher/blob/master/lib/parser.jison | |
//latest node stable and all packages | |
jison parser.jison -o cssParser.js -m js | |
// in the browser | |
<script src="cssParser.js"></script> | |
<script> | |
cssParser.parse("body { color: red; }"); | |
</script> |