https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/#run-mongodb-community-edition
- Start MongoDB with
sudo service mongod start
- Run mongo shell
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/#run-mongodb-community-edition
sudo service mongod start
{ | |
"editor.gotoLocation.multiple": "goto", | |
"window.zoomLevel": 0, | |
"git.enableSmartCommit": true, | |
"workbench.iconTheme": "material-icon-theme", | |
"explorer.confirmDelete": false, | |
"explorer.confirmDragAndDrop": false, | |
"editor.minimap.enabled": false, | |
"diffEditor.ignoreTrimWhitespace": true, | |
"workbench.editor.enablePreview": false, |
notes from a great talk What the heck is the event loop anyway? | Philip Roberts
Heap is where memory allocation happens
Things like setTimeout/DOM/Http doesnt exist in V8 - Chrome runtime
lsof -i tcp:3000 | |
kill -9 PID |
for f in <src_folder>/*.jpg; do guetzli $f $f; done |
dig frontendtyped.com any +noall +answer |
!/bin/bash | |
protected_branches=('master' 'develop') | |
current_branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,') | |
is_branch_protected=false; | |
for protected_branch in "${protected_branches[@]}" | |
do | |
if [ $protected_branch = $current_branch ] | |
then |