Last active
August 28, 2018 06:48
-
-
Save Luvgreed/bd5ddb5e0e36653fb74b4a76c5a4e550 to your computer and use it in GitHub Desktop.
Nodesource
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
https://nodejs.org/en/ | |
https://github.com/creationix/nvm | |
https://github.com/nodesource/distributions | |
# Using Ubuntu | |
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
sudo apt-get install -y nodejs | |
# the rules currently running on the NAT (Network Address Translation) table: | |
$ sudo iptables -t nat -L | |
# add a rule forwarding packets sent to external port 80 to internal port 8000 | |
$ sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8000 |
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
cyberduck |
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
# async await | |
https://blog.grossman.io/how-to-write-async-await-without-try-catch-blocks-in-javascript/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment