Skip to content

Instantly share code, notes, and snippets.

View DouglasHennrich's full-sized avatar

Douglas Hennrich DouglasHennrich

  • Brazil - RS - Estância Velha
View GitHub Profile
@DouglasHennrich
DouglasHennrich / multi-git.md
Last active September 2, 2015 22:35 — forked from rosswd/multi-git-win.md
Setting up a Github and Bitbucket account on the same computer.

Setting up github and bitbucket on the same computer

Github will be the main account and bitbucket the secondary.

Create SSH Keys

ssh-keygen -t rsa -C "github email"

Enter passphrase when prompted. If you see an option to save the passphrase in your keychain, do it for an easier life.

var usuarioJaExiste = function ( err, data, res, req ) {
var dados,
model;
if ( err ) return res.json(err);
if ( data ) return res.json({ Error: "Usuario ja existe.", Code: 0 });
dados = {
idFace: req.body.idFace,
arrayUsuario: [{