👨💻📲💻 FOLLOW US ON INSTAGRAM : https://instagram.com/code__talk?utm_source=ig_profile_share&igshid=1x24zmsfhszaj
🖱⌨️🖥 SUBSCRIBE TO OUR TELEGRAM CHANNEL : https://t.me/coding_talk
😎😄 OUR GITHUB REPO :
👨💻📲💻 FOLLOW US ON INSTAGRAM : https://instagram.com/code__talk?utm_source=ig_profile_share&igshid=1x24zmsfhszaj
🖱⌨️🖥 SUBSCRIBE TO OUR TELEGRAM CHANNEL : https://t.me/coding_talk
😎😄 OUR GITHUB REPO :
If you want resources offline to learn about programming and web technologies MDN is for you! and I recommend to use MDN over w3school because w3school is outdated.
Download it offline (2.1gb) at https://mdn-downloads.s3-us-west-2.amazonaws.com/developer.mozilla.org.tar.gz
Steps to deploy a Node.js app to Digital Ocean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user
// 🔥 Node 7.6 has async/await! Here is a quick run down on how async/await works | |
const axios = require('axios'); // promised based requests - like fetch() | |
function getCoffee() { | |
return new Promise(resolve => { | |
setTimeout(() => resolve('☕'), 2000); // it takes 2 seconds to make coffee | |
}); | |
} |
{ | |
"Console Log": { | |
"prefix": "cl", | |
"body": "console.log($1);", | |
"description": "Console Log" | |
}, | |
"Named Function": { | |
"prefix": "nfn", | |
"body": ["function ${1:functionName}($2) {", " $3", "}"], | |
"description": "Named Function" |