which?
$ which which
/usr/bin/which
$ which $(!!)
which $(which which)
/usr/bin/which
$ which $(!!)
which $(which $(which which))
/usr/bin/which
which?
$ which which
/usr/bin/which
$ which $(!!)
which $(which which)
/usr/bin/which
$ which $(!!)
which $(which $(which which))
/usr/bin/which
| export AWS_CREDENTIAL_FILE=/Users/deanc/.aws_credential_file | |
| export AWS_SECRET_ACCESS_KEY=$(cat $AWS_CREDENTIAL_FILE | grep -i secret | cut -d "=" -f 2) | |
| export AWS_ACCESS_KEY_ID=$(cat $AWS_CREDENTIAL_FILE | grep -i access | cut -d "=" -f 2) |
| /* LAYER 0 | |
| * | |
| * ,--------------------------------------------------. ,--------------------------------------------------. | |
| * | Esc | 1 | 2 | 3 | 4 | 5 | + = | | +L2 | 6 | 7 & | 8 * | 9 ( | 0 ) | -_ | | |
| * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| | |
| * | Tab | Q | W | E | R | T | \ | | | { | Y | U | I | O | P | } ] | | |
| * |--------+------+------+------+------+------| \ | | | [ |------+------+------+------+------+--------| | |
| * | LCtrl | A | S | D | F | G |------| |------| H | J | K | L | ; : | ' " | | |
| * |--------+------+------+------+------+------| ~L1 | | ~L1 |------+------+------+------+------+--------| | |
| * | LShift | Z | X | C | V | B | | | | N | M | ,< | . > | / ? | RShift | |
| type DocumentBody = Raw String | Words List String | |
| tokenize: DocumentBody -> List String | |
| tokenize s = | |
| case s of | |
| Raw str_body -> String.split " " str_body |> (List.map String.toLower) | |
| Words list_body -> List.map String.toLower list_body | |
| -- Tests |
saw a cool animation
https://twitter.com/MirantisIT/status/703363866516828161
wanted to replicate it in the browser
| (* how is this: *) | |
| type value = [ | |
| | `Assoc of (string * value) list | |
| | `Bool of bool | |
| | `Float of float | |
| | `Int of int | |
| | `List of value list | |
| | `Null | |
| | `String of string | |
| ] |
| Qwerty | |
| ,-----------------------------------------------------------------------------------. | |
| | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | | |
| |------+------+------+------+------+------+------+------+------+------+------+------| | |
| | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | |
| |------+------+------+------+------+-------------+------+------+------+------+------| | |
| | Esc | A | S | D | F | G | H | J | K | L | ; | " | | |
| |------+------+------+------+------+------|------+------+------+------+------+------| | |
| | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | | |
| |------+------+------+------+------+------+------+------+------+------+------+------| |
*** QMK Toolbox (http://qmk.fm/toolbox)
Supporting following bootloaders:
- DFU (Atmel, LUFA) via dfu-programmer (http://dfu-programmer.github.io/)
- Caterina (Arduino, Pro Micro) via avrdude (http://nongnu.org/avrdude/)
- Halfkay (Teensy, Ergodox EZ) via teensy_loader_cli (https://pjrc.com/teensy/loader_cli.html)
- STM32 (ARM) via dfu-util (http://dfu-util.sourceforge.net/)
- Kiibohd (ARM) via dfu-util (http://dfu-util.sourceforge.net/)
*** DFU device connected
*** Attempting to flash, please don't remove device
| #!/bin/bash | |
| REPOS=$(find . -type d -depth 1) | |
| for i in $REPOS; do | |
| echo building $i | |
| cd $i | |
| git pull | |
| rm -rf node_modules | |
| yarn install | |
| cd - | |
| done |
| (tmp-d03b8292d70950f0) - - - | |
| tmp-d03b8292d70950f0 0 | |
| - ❯❯❯ python | |
| Python 2.7.13 (default, Jul 18 2017, 09:17:00) | |
| [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] on darwin | |
| Type "help", "copyright", "credits" or "license" for more information. | |
| >>> import warnings | |
| >>> warnings.filterwarnings('ignore') | |
| >>> import sklearn.cross_validation |