Skip to content

Instantly share code, notes, and snippets.

View calevano's full-sized avatar
🍕
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 July 20, 2017 05:21
Tabla de regiones
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 16:38
Git - Change email
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
[user]
name = Carlos Levano
email = calevano@gmail.com
[core]
editor = vim
excludesfile = ~/.gitignore_global
autocrlf = false
[alias]
a = add
br = branch