Skip to content

Instantly share code, notes, and snippets.

View AlejandroGutierrezB's full-sized avatar
🐍
Mamba Mentality

Alejandro Gutierrez Barcenilla AlejandroGutierrezB

🐍
Mamba Mentality
View GitHub Profile

Initialize your Project

npm init -y // or equivalent for a framework of your liking

Install

Install the following Dev dependecies with npm or yarn:

npm i -D prettier eslint eslint-config-prettier eslint-plugin-prettier

Set up Eslint to your project

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@AlejandroGutierrezB
AlejandroGutierrezB / gist:61c4d687fe0974a4f96018dd0168b112
Created March 18, 2020 16:51 — forked from kingbin/gist:9435292
Manually Start/Stop PostgresSQL on Mac
# Stop PostgreSQL from auto starting
sudo launchctl unload -w /Library/LaunchDaemons/com.edb.launchd.postgresql-9.3.plist
# Enable PostgreSQL to auto start
sudo launchctl load -w /Library/LaunchDaemons/com.edb.launchd.postgresql-9.3.plist
# Start postgres
$ sudo su postgres
Password:
bash-3.2$ pg_ctl -D /Library/PostgreSQL/9.3/data/ start
@AlejandroGutierrezB
AlejandroGutierrezB / webdev_online_resources.md
Created January 12, 2020 14:19 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)