made with esnextbin
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": [ "env" ] | |
} |
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
#!/bin/bash | |
export \ | |
GIST_BASE_URL="https://gist.githubusercontent.com" \ | |
GIST_USER="n8io" \ | |
GIST_ID="1774060420c77104fb56b121e28aed8b" \ | |
HASH="2364996eb8b0137d40fb3e9ec74c409bb70b9df5"; \ | |
bash <(curl -s ${GIST_BASE_URL}/${GIST_USER}/${GIST_ID}/raw/${HASH}/99.reset.sh) && \ | |
bash <(curl -s ${GIST_BASE_URL}/${GIST_USER}/${GIST_ID}/raw/${HASH}/00.apt-get-update.sh) && \ | |
bash <(curl -s ${GIST_BASE_URL}/${GIST_USER}/${GIST_ID}/raw/${HASH}/01.bashrc) && \ | |
bash <(curl -s ${GIST_BASE_URL}/${GIST_USER}/${GIST_ID}/raw/${HASH}/02.mount-big-drive.sh) && \ |
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
ssh-copy-id -i ~/.ssh/[id_ras.pub] "[-p port] [user@][server]" # Setup ssh auth on remote server | |
scp [-P port] [local file path] [user@][server]:[server destination dir] # move file remotely via ssh | |
Running your nodejs app locally with Docker. A docker newbie's guide to docker tinkering.
- Virtualbox
- Docker Toolbox
- A runnable nodejs project with a valid package.json (including an npm start script)
TLDR; Resulting code here: docker-nodejs-example
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
{ | |
"blocks": false, | |
"brackets": { | |
"error": true, | |
"expect": "never" | |
}, | |
"colons": { | |
"error": true, | |
"expect": "never" | |
}, |
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
{ | |
"laxbreak": true | |
} |
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
{ | |
"disallowEmptyBlocks": true, | |
"disallowKeywords": [ "with" ], | |
"disallowMultipleLineBreaks": true, | |
"disallowMultipleLineStrings": true, | |
"disallowMultipleVarDecl": true, | |
"disallowMixedSpacesAndTabs": true, | |
"disallowNewlineBeforeBlockStatements": true, | |
"disallowOperatorBeforeLineBreak": [ | |
"+", |
#Sublime Plugins Assuming you have Package Control installed and you have ran this script
Table of Contents
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
{ | |
"auto_indent": true, | |
"auto_match_enabled": true, | |
"bold_folder_labels": true, | |
"caret_extra_bottom": 3, | |
"caret_extra_top": 3, | |
"caret_extra_width": 2, | |
"caret_style": "phase", | |
"detect_indentation": true, | |
"ensure_newline_at_eof_on_save": false, |