This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply from: rootProject.file('gradle/install-git-hooks.gradle') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create vagrant image | |
vagrant init ubuntu12_64 http://files.vagrantup.com/precise64.box | |
vagrant up | |
vagrant ssh | |
# Fork aws/opsworks-cookbooks on github | |
# https://github.com/aws/opsworks-cookbooks | |
# Clone locally | |
git clone [email protected]:yourusername/opsworks-cookbooks.git | |
cd opsworks-cookbooks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GLOBAL CONFIGURATIONS | |
# ------------------------------------------------------------------- | |
# See https://github.com/jigish/slate/wiki/Global-Configs | |
config defaultToCurrentScreen true | |
config secondsBeforeRepeat 0.4 | |
config secondsBetweenRepeat 0.1 | |
config keyboardLayout "qwerty" | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize |
Custom recipe to get OS X 10.9 Mavericks running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install.
The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This generic view displays a list of objects and a simple ModelForm to add a new | |
object to the list. | |
Just subclass this view and override the attributes and methods that you need. You | |
will probably need to override at least 'model', 'form_class' and 'success_url'. | |
See the documentation of the used mixins and ProcessFormView in | |
https://docs.djangoproject.com/en/1.4/ref/class-based-views/ | |
""" | |
from django.views.generic.list import MultipleObjectMixin, MultipleObjectTemplateResponseMixin | |
from django.views.generic.edit import ModelFormMixin, ProcessFormView |