Skip to content

Instantly share code, notes, and snippets.

View iSanchezDev's full-sized avatar
🎯
Focusing

Iván Sánchez iSanchezDev

🎯
Focusing
  • @showtimeanalytics
  • Dublin
View GitHub Profile
@foull
foull / mongo-create-user.js
Last active May 6, 2021 07:59
NodeJS - MongoDB - creating new user with admin privileges
var MongoClient = require('mongodb').MongoClient
//
// config
//
var mongoPort = '27017'
var mongoHost = 'localhost'
var dbName = 'dbName'
@JamesMGreene
JamesMGreene / gitflow-breakdown.md
Last active May 3, 2024 12:32
`git flow` vs. `git`: A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository