I hereby claim:
- I am soldair on github.
- I am soldair (https://keybase.io/soldair) on keybase.
- I have a public key whose fingerprint is E225 9593 77B3 7C41 AF0E 9180 AEFB F862 B62A A835
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var pinoccio = require('pinoccio'); | |
var util = require('util'); | |
var style = require('style-dom'); | |
var term = require('hypernal')(); | |
var url = require('url'); | |
var colors = require('colors'); | |
var parsed = url.parse(window.location.href,true); | |
var token = (parsed.query||{}).token||"e113fa4270ae050a0c706d29eca5ad25"; |
<!DOCTYPE html> | |
<html> | |
<head></head> | |
<body> | |
<h1>Chipmunks!</h1> | |
<div id="graph"> | |
</div> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> |
{ | |
"name": "pinoccio-couch-example", | |
"description": "couch example for saving pinoccio stats", | |
"version": "0.0.0", | |
"repository": { | |
"url":"https://gist.github.com/c11d6ae6f4bead140838.git" | |
}, | |
"main": "index.js", | |
"scripts": { | |
"test": "tape test/*.js" |
var bs = require('binary-search'); | |
console.log(bs); |
var foot = function(){ | |
/* | |
<div>footer</div> | |
*/ | |
} | |
var index = function fn(){ | |
/* | |
<!DOCTYPE html> | |
<html> |
# to setup pinoccio bridge on boot | |
# this starts bridge and keeps it running if it crashes. | |
# if there are no scouts connected it will retry once per second. | |
# log data is written to /var/log/pinoccio-bridge.log | |
# for verbose logging change `pinoccio bridge` to `pinoccio bridge -v` | |
echo "while [ 1 ]\ | |
do\ | |
pinoccio bridge\ |
# note run this as your pi user. | |
wget https://pinocc.io/prebuilt/client-node-pinoccio_0.1.29.tar.gz && tar -xvf client-node-pinoccio_0.1.28.tar.gz && cd pinoccio && npm rebuild && sudo npm link --production |
wget http://download.savannah.gnu.org/releases/avrdude/avrdude-6.0.1.tar.gz | |
tar -xvf avrdude-6.0.1.tar.gz | |
sudo apt-get install build-essential flex bison libusb-dev libelf-dev libftdi-dev | |
cd avrdude-6.0.1 | |
./configure --enable-linuxgpio | |
make | |
sudo make install |
# HEY run this first https://gist.github.com/soldair/22604c4de8c1befe01cd | |
cd ~/pinoccio | |
# this fixes a link for using the example test in lib/testscout.js (batch-flashing) | |
ln -s `pwd`/node_modules/pinoccio-serial/node_modules/serialport/ node_modules/serialport | |
#download the latest hex | |
rm bootstrap.hex | |
wget https://pinocc.io/bootstrap/2014111401/bootstrap.hex |