start new:
tmux
start new with session name:
tmux new -s myname
This was fucking annoying.
For the pedants (which I can totally be at times):
Base64 uses a reduced character set, so we're generating a less computationally complex string for something like hashcat to chew on, than say, the full ascii character set.
Base64 also typically ends with = or == making the pattern even more predictable.
It's still better than hex, and orders of magnitude better than your initials + your grandma's birthday.
| #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) |
| #include "FastLED.h" | |
| #define LED_PIN 1 | |
| #define LED_TYPE WS2811 | |
| #define COLOR_ORDER GRB | |
| #define NUM_LEDS 35 | |
| CRGB leds[NUM_LEDS]; | |
| #define MASTER_BRIGHTNESS 255 |
| #!/usr/bin/env bash | |
| #### StatsD data generator #### | |
| STATSD_PORT=8125 | |
| STATSD_HOST=127.0.0.1 | |
| METRICS=("someService" "otherService" "foo.bar") | |
| function generate_data { |
| # 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 | |
| } |