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
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Author: AxiaCore S.A.S. http://axiacore.com | |
import urllib2 | |
from django.core.files.base import ContentFile | |
from django.core.management.base import BaseCommand | |
from django.core.management.base import CommandError | |
from store.models import Application |
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
// Retina Sprite Mixins | |
@mixin retina-sprite-background($name) | |
background-repeat: no-repeat | |
background-image: sprite-url($sprite-normal) | |
background-position: sprite-position($sprite-normal, $name) | |
height: image-height(sprite-file($sprite-normal, $name)) | |
width: image-width(sprite-file($sprite-normal, $name)) | |
// Media Query for retina |
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
<!--[if lt IE 9]> | |
<div class="alert-browser"> | |
Oops! Parece que estás usando un navegador obsoleto. Por favor <a href="http://browsehappy.com/?locale=es_ES">actualiza tu navegador</a> para mejorar tu experiencia en la web. | |
</div> | |
<![endif]--> |
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
[alias] | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%Creset' --abbrev-commit | |
ac = "!git add . && git commit -am" | |
patch = "!bumpversion --tag --commit patch package.json bower.json" | |
minor = "!bumpversion --tag --commit minor package.json bower.json" | |
mayor = "!bumpversion --tag --commit mayor package.json bower.json" | |
[push] | |
default = matching |
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
# Virtualenvwrapper | |
export WORKON_HOME=$HOME/.virtualenvs | |
source /usr/local/bin/virtualenvwrapper.sh | |
# Color | |
export TERM=xterm-color | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxCxDxBxegedabagacad | |
# Bash completion |
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
class Comment(models.Model): | |
""" | |
Representa los comentarios a los posts del blog | |
""" | |
post = models.ForeignKey( | |
'blog.Post', | |
) | |
user = models.ForeignKey( | |
'auth.User', | |
) |
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
LOGGING = { | |
'version': 1, | |
'disable_existing_loggers': False, | |
'filters': { | |
'require_debug_false': { | |
'()': 'django.utils.log.RequireDebugFalse' | |
} | |
}, | |
'handlers': { | |
'console': { |
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
# Locale | |
export LC_ALL=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
# Homebrew | |
export PATH="/usr/local/bin:/usr/local/sbin:$PATH" | |
export PYTHONPATH="/usr/local/lib/python2.7/site-packages:$PYTHONPATH" | |
# Brew autocomplete | |
source `brew --prefix`/Library/Contributions/brew_bash_completion.sh |
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
.modal | |
$base-border-color: #dcdcdc !default | |
$base-border-radius: 3px !default | |
$base-background-color: #fff !default | |
$base-font-size: 1em !default | |
$base-line-height: 1.5em !default | |
$action-color: #477dca !default | |
$dark-gray: #333 !default | |
$light-gray: #ddd !default | |
$medium-screen: em(640) !default |
OlderNewer