I hereby claim:
- I am whostolemyhat on github.
- I am whostolemyhat (https://keybase.io/whostolemyhat) on keybase.
- I have a public key ASABvz3HOuF9QyBg64jeHfukKaOqqr2rpqTbkKB10gpDBAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Check out the branch just pushed | |
while read oldrev newrev refname | |
do | |
branch=$(git rev-parse --symbolic --abbrev-ref $refname) | |
if [ -n "$branch" ]; then | |
GIT_WORK_TREE=~/myproject git checkout $branch -f | |
echo "/==========================================/" |
extern crate rand; | |
extern crate iron; | |
extern crate rustc_serialize; | |
extern crate router; | |
use iron::prelude::*; | |
use iron::status; | |
use iron::mime::Mime; | |
use rand::Rng; | |
use rustc_serialize::json; |
{ | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme", | |
"draw_white_space": "selection", | |
"font_face": "Menlo", | |
"font_size": 11, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"ignored_packages": |
background (46, 46, 46) | |
comment grey (121, 121, 121) | |
white (214, 214, 214) | |
yellow (229, 181, 103) | |
green (180, 210, 115) | |
orange (232, 125, 62) | |
purple (158, 134, 200) | |
pink (176, 82, 121) | |
blue (108, 153, 187) |
# set power on: write('@') | |
# set power off: write('!') | |
# get status: write('~'); readline() | |
# example python script | |
import re | |
import time | |
import serial | |
def doRead(ser,term): |