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
-- Remove the history from | |
rm -rf .git | |
-- recreate the repos from the current content only | |
git init | |
git add . | |
git commit -m "Initial commit" | |
-- push to the github remote repos ensuring you overwrite history | |
git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git |
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
The JavaScript Round: | |
Closure | |
Call, Bind, Apply | |
Map, reduce, filter, splice, slice | |
Prototypical Inheritance | |
Scope: The ‘this’ keyword | |
The ‘new’ keyword | |
New ES6 Features | |
Why Arrow Functions? | |
let, const, var |
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
Mongo DB unlike relational database, is a JSON-like document oriented database. The mongo shell is an interface used to add, query, update, etc data. | |
Here’s a cheat sheet of Mongo Shell commands often used: | |
1 Login to the server | |
2 Type `mongo` to get the mongo terminal | |
To create a new database: | |
use database_name | |
To See the list of all database present: |