Skip to content

Instantly share code, notes, and snippets.

View rondymesquita's full-sized avatar

Rondinelli Mesquita rondymesquita

View GitHub Profile
@rondymesquita
rondymesquita / gist:24e56079a117fa3428b2b9e246f2326f
Created September 5, 2016 12:57 — forked from vladimirtsyupko/gist:10964772
Git force pull to overwrite local files
git fetch --all
git reset --hard origin/master
git pull origin master
@rondymesquita
rondymesquita / multiple_ssh_setting.md
Created June 24, 2016 11:59 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"
adb kill-server
adb connect 127.0.0.1:53001
@rondymesquita
rondymesquita / PasswordGenerator.java
Last active February 2, 2017 12:16
FriendlyPasswordGenerator
import java.util.Random;
public class PasswordGenerator {
String[] consonants = { "b", "c", "d", "f", "g", "h", "j", "k", "l", "m",
"n", "p", "q", "r", "s", "t", "v", "w", "x", "y", "z" };
String[] vowels = { "a", "e", "i", "o", "u" };
public String generate() {
String password = "";