This guide is a short form of MongoDB and MySQL Compared from mongoDB
This file contains hidden or 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/sh | |
echo "Removing lock files!" | |
sudo rm /var/lib/apt/lists/lock | |
sudo rm /var/cache/apt/archives/lock | |
sudo rm /var/lib/dpkg/lock | |
echo "Adding repo of atom" | |
sudo add-apt-repository ppa:webupd8team/atom |
Time | Topics |
---|---|
09:00 - 10:30 | Code School or Pluralsight |
10:30 - 10:45 | Short break |
10:45 - 12:15 | Continue with shopping-cart - finish your own ideas |
12:15 - 13:00 | Lunch break |
13:00 - 14:30 | - Decouple your app in to modules / components - Use a pub/sub pattern to let components listen on data changes Check out this video you can find the pub/sub code here |
14:30 - 14:45 | Short break |
Time | Topics |
---|---|
09:00 - 09:45 | Code School or Pluralsight |
09:45 - 10:30 | Questions & What is wrong and why we need to solve it? (Shopping Cart Project) |
10:30 - 10:45 | Short break |
10:45 - 12:15 | Questions and Decouple into multiple Classes |
12:15 - 13:00 | Lunch break |
13:00 - 14:30 | - Decouple your app into modules / components - Use a pub/sub pattern to let components listen on data changes Check out this video you can find the pub/sub code here |
I hereby claim:
- I am oliverwebr on github.
- I am oliverwebr (https://keybase.io/oliverwebr) on keybase.
- I have a public key ASB3_0cjwV40_bGQnOh-jXkUdbkNAV79_TqN73FwfJvhGwo
To claim this, I am signing this object:
This file contains hidden or 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 | |
# Update packages | |
sudo apt update && sudo apt-get upgrade -y | |
# Install needed tools | |
sudo apt install curl wget htop -y | |
# Installing Sublime Text + Git | |
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - |
This file contains hidden or 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
const express = require('express'); | |
const app = express(); | |
// Application | |
app.get('/', function(req, res) { | |
if (process.env.NODE_ENV === 'development') { | |
for (var key in require.cache) { | |
delete require.cache[key]; | |
} | |
} |
This file contains hidden or 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 () { | |
let myLuckyNumber = 5; | |
function main() { | |
let myLuckyNumber = 10; | |
console.log(myLuckyNumber); | |
} | |
main(); | |
})(); |
This file contains hidden or 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 () { | |
let myLuckyNumber = 5; | |
function main() { | |
console.log(myLuckyNumber); | |
} | |
main(); | |
})(); |
This file contains hidden or 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 () { | |
let myLuckyNumber = 5; | |
function main() { | |
debugger; | |
// the debugger statement sets a breakpoint, when your | |
// developer-tools are open your application will stop here | |
console.log(myLuckyNumber); | |
} |
OlderNewer