This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# `node` run node 6 | |
# `node 3000:8080` run node 6 exposing port 8080 to docker:3000 | |
function node { | |
if [[ -n "$1" ]]; then | |
docker run -i \ | |
-v $(pwd):/app \ | |
-v $HOME/.ssh:/root/.ssh \ | |
-w='/app' \ | |
-p $1 \ | |
-t node:6 bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am Eruant on github. | |
* I am mattgale (https://keybase.io/mattgale) on keybase. | |
* I have a public key whose fingerprint is 6446 F460 8DE4 8D12 9808 9E06 C3CC 2305 FC62 98A9 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"presets": [ | |
"es2015-rollup", | |
"react" | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH="/usr/local/bin:$PATH" | |
export PATH=/usr/local/sbin:$PATH | |
alias vim='mvim -g' | |
alias la='ls -lGAp' | |
alias ll='ls -lGp' | |
alias e='mvim' | |
alias c='clear' | |
alias server='python -m SimpleHTTPServer' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function set_external_links() { | |
$('a[href^=http]').not('a[href^="'+window.location.protocol+'//'+window.location.host+'"]').click(function(e){ | |
e = window.event || e; if(e.preventDefault) e.preventDefault(); else e.returnValue = false; | |
window.open(this.href); return false; | |
}); | |
} |