Skip to content

Instantly share code, notes, and snippets.

Matías Herranz matiasherranz

Block or report user

Report or block matiasherranz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View forms.py
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.contrib.auth import password_validation
from django.contrib.auth.forms import UserCreationForm, UserChangeForm
from accounts.models import User
class CustomUserCreationForm(UserCreationForm):
View build step
# Let's move to the proper GIT branch
git checkout $BRANCH
git pull origin $BRANCH
# Activate the virtualenv of this job
. venv/bin/activate
# Install project requirements
pip install -Ur requirements.txt
View build step node
# Let's move to the proper GIT branch
git checkout $BRANCH
git pull origin $BRANCH
# Let's go to the correct folder
cd converter
# Install the dependencies
npm install
View profile.json
{
"Working Directory" : "\/Users\/matiasherranz",
"Prompt Before Closing 2" : 0,
"Selected Text Color" : {
"Green Component" : 0.8470588,
"Blue Component" : 0.4784314,
"Red Component" : 0.7607843
},
"Rows" : 25,
"Ansi 11 Color" : {
View gist:7322372
git config --global alias.conflicts "diff --name-only --diff-filter=U"
View gist:6832420
beep() {
$@ && paplay /usr/share/sounds/gnome/default/alerts/glass.ogg || paplay /usr/share/sounds/alsa/Noise.wav
}
View gist:6832433
beep() {
$@ && afplay /System/Library/Sounds/Glass.aiff || afplay /System/Library/Sounds/Blow.aiff
}
You can’t perform that action at this time.