I hereby claim:
- I am adamweeks on github.
- I am adamweeks (https://keybase.io/adamweeks) on keybase.
- I have a public key whose fingerprint is 4711 16EE 3DDE 01D9 36FE 7E11 749D 236F BECA CB30
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| function testFailure() { | |
| return new Promise((resolve, reject) => { | |
| setTimeout(() => { | |
| reject(); | |
| }, 2000); | |
| }); | |
| } |
| // eslint-disable-reason legacy API passes all of these params | |
| // eslint-disable max-params | |
| const processData = (a1, b2, c3, d4, e5) => a1+b2+c3+d4+e5; |
| #Colorful Terminal | |
| export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx | |
| export CLICOLOR=1 | |
| # Aliases | |
| alias ll="ls -al"; | |
| alias ..="cd ../"; | |
| alias ..l="cd ../ && ll"; | |
| alias vb="vim ~/.bash_profile"; | |
| alias sb="source ~/.bash_profile"; |
| RED_COLOR="\[$(tput setaf 1)\]" | |
| YELLOW_COLOR="" | |
| END_COLOR="\[$(tput sgr0)\]" | |
| function __git_dirty { | |
| git diff --quiet HEAD &>/dev/null | |
| [ $? == 1 ] && echo " ↺ " | |
| } | |
| function __git_branch { |
| isZero(0) | |
| zero! | |
| FINALLY | |
| isZero() | |
| not zero | |
| FINALLY | |
| error caught |