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 F1FE 8791 5DE4 0E28 52C6 6704 65A6 1688 8058 EEC8
To claim this, I am signing this object:
{ | |
"repository" : { | |
"url" : "git+https://github.com/snikch/jquery.dirtyforms.git", | |
"type" : "git" | |
}, | |
"keywords" : [ | |
"jquery", | |
"plugin", | |
"dirty", | |
"forms", |
I hereby claim:
To claim this, I am signing this object:
I am Ryan Day.
I love javascript and opensource. I am just as comfortable on the frontend as on the server. Managing servers, crunching big data, or running a team to meet business goals. Over the last 10 years i have worked in ecom, social networking, and most recently open IOT hardware. The cool thing is it turns out you need javascript for just about everything. I am not a one trick js pony though i have used c/c++/python/sh to name a few to get jobs done when js is not the right tool.
I follow the js framework debates and have a good working grasp on their design tradeoffs and am more than comfortable using any of them or none of them when it comes to frontend. Browserify and npm are the greatest tools to happen in recent history to js. I love fully tested and covered code and prefer minimal testing frameworks like node-tap/tap, but have worked with many others. Responsive ui design impacts conversion rates so much in good ways if done right. I'm a very big fan of AB testing in modern/mobile browser f
var server = require('pinoccio-server'); | |
// you would use an array to support multiple troops | |
var troop; | |
server(function(t){ | |
troop = t; | |
troop.command(1,'led.red',function(err,data){ | |
console.log('i set the led to red',data); | |
}); |
/// flash a scout with bootstrap and js | |
var serial = require('./node_modules/stk500/node_modules/serialport'); | |
var stk500 = require('stk500'); | |
var port = '/dev/ttyACM0'; | |
var fs = require('fs'); | |
var intelhex = require('intel-hex'); | |
var hex = intelhex.parse(fs.readFileSync(__dirname+"/bootstrap.hex",{encoding:'utf8'})).data; |
# 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 |
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 |
# 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 |
# 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\ |