start new:
tmux
start new with session name:
tmux new -s myname
| # from i8ramin - http://getintothis.com/blog/2012/04/02/git-grep-and-blame-bash-function/ | |
| # runs git grep on a pattern, and then uses git blame to who did it | |
| ggb() { | |
| git grep -n $1 | while IFS=: read i j k; do git blame -L $j,$j $i | cat; done | |
| } | |
| # small modification for git egrep bash | |
| geb() { | |
| git grep -E -n $1 | while IFS=: read i j k; do git blame -L $j,$j $i | cat; done | |
| } |
| #include <Adafruit_NeoPixel.h> | |
| #define PIN 2 | |
| #define Pixels 25 | |
| // Parameter 1 = number of pixels in strip | |
| // Parameter 2 = Arduino pin number (most are valid) | |
| // Parameter 3 = pixel type flags, add together as needed: | |
| // NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs) | |
| // NEO_KHZ400 400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers) |
| # Set up notification options | |
| notifications: | |
| email: | |
| recipients: | |
| - [email protected] | |
| - [email protected] | |
| # change is when the repo status goes from pass to fail or vice versa | |
| on_success: change | |
| on_failure: always |