$ gconftool-2 --dump /apps/gnome-terminal/profiles > profiles.xml
$ gconftool-2 --load profiles.xml
set nocompatible | |
filetype off | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" alternatively, pass a path where Vundle should install bundles | |
"let path = '~/some/path/here' | |
"call vundle#rc(path) |
# Path to your oh-my-zsh installation. | |
export ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="agnoster" | |
# Example aliases |
language: python | |
python: | |
- "3.3" | |
- "3.4" | |
install: | |
- "pip install --quiet coveralls" | |
- "pip install --quiet -r requirements/local.txt" |
# -*- coding: utf-8 -*- | |
"""Storages for split media and static in different folders.""" | |
import storages.backends.s3boto | |
class StaticRootS3BotoStorage(storages.backends.s3boto.S3BotoStorage): | |
"""Storage for save all static files in static folder.""" | |
def __init__(self, *args, **kwargs): | |
"""Overrides and define location in "static". |
from PIL import Image | |
def random_image(size=(200, 200)): | |
""" Generates a random PIL image, for testings propouse. | |
:param size: Size of the random image generated. | |
""" | |
color = (random.randint(0, 255), random.randint(0, 255), random.randint(0, 255), 0) | |
return Image.new("RGBA", size, color) |
# This file contains the WSGI configuration required to serve up your | |
# web application at http://cuble.pythonanywhere.com/ | |
# It works by setting the variable 'application' to a WSGI handler of some | |
# description. | |
# | |
# Below are templates for Django and Flask. You should update the file | |
# appropriately for the web framework you're using, and then | |
# click the 'Reload /yourdomain.com/' button on the 'Web' tab to make your site | |
# live. |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
# -*- coding: utf-8 -*- | |
"""Version code adopted from Django development version. | |
https://github.com/django/django | |
""" | |
from __future__ import unicode_literals | |
import datetime | |
import os | |
import subprocess |
import sys | |
try: | |
from django.conf import settings | |
from django.test.utils import get_runner | |
settings.configure( | |
DEBUG=True, | |
USE_TZ=True, | |
DATABASES={ |