$ docker
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 // -> go to mongo shell | |
$show dbs // -> show dbs | |
$use DATABASE_NAME // -> go to DATABASE_NAME | |
//GET records from TABLE_NAME | |
$show tables // -> show tables on DATABASE_NAME | |
$db.TABLE_NAME.find().pretty() // -> Show records on TABLE_NAME as a json file | |
$db.TABLE_NAME.find() // -> show all records no pretty - just one line. | |
//DELETE all records from |
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
/* | |
LOCAL | |
*/ | |
//Setup email | |
$ git config user.email "[email protected]" | |
//Setup name | |
$ git config user.name "Miguel Angel González" | |
//Setup username | |
$ git config user.username "m4kito" | |
//Setup git colors |
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
//Install Firebase Tools | |
$ npm install firebase-tools -g |
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
To run this, you can try: | |
curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh | |
chmod +x ./uninstall-node.sh | |
./uninstall-node.sh | |
rm uninstall-node.sh |
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
::::: Install packages | |
//Install Global package | |
$ npm install -g {packageName} | |
//Install local package | |
$ npm install {packageName} | |
//Install and save local package |