Skip to content

Instantly share code, notes, and snippets.

🍕
eating pizza and being happy making code.

Carlos Levano calevano

🍕
eating pizza and being happy making code.
View GitHub Profile
@calevano
calevano / regiones.sql
Created Jul 20, 2017
Tabla de regiones
View regiones.sql
INSERT INTO `regiones` (`id`, `region`) VALUES
(1, 'AMAZONAS'),
(2, 'ANCASH'),
(3, 'APURIMAC'),
(4, 'AREQUIPA'),
(5, 'AYACUCHO'),
(6, 'CAJAMARCA'),
(7, 'CALLAO'),
(8, 'CUSCO'),
(9, 'HUANCAVELICA'),
@calevano
calevano / change-email.sh
Last active May 8, 2017
Git - Change email
View change-email.sh
git filter-branch --env-filter '
WRONG_EMAIL="dude@gmail.com"
NEW_NAME="Dude Name"
NEW_EMAIL="dude@company.com"
if [ "$GIT_COMMITTER_EMAIL" = "$WRONG_EMAIL" ]
then
export GIT_COMMITTER_NAME="$NEW_NAME"
export GIT_COMMITTER_EMAIL="$NEW_EMAIL"
fi
View gist:abd9b42a3359e27fe18b89d53c3ea26b
[user]
name = Carlos Levano
email = calevano@gmail.com
[core]
editor = vim
excludesfile = ~/.gitignore_global
autocrlf = false
[alias]
a = add
br = branch
You can’t perform that action at this time.