Skip to content

Instantly share code, notes, and snippets.

View dougmorato's full-sized avatar

Doug Morato dougmorato

View GitHub Profile
@dougmorato
dougmorato / gist:1166559
Created August 23, 2011 21:10 — forked from voodootikigod/gist:1155790
PyCodeConf Ticket Give-away
Day job: Software Developer and Security Expert
Favorite Python project: FABRIC
Favorite Conference: Pycon 2011
Python Experience Level: Intermediate
@dougmorato
dougmorato / dfamorato.vim
Created July 19, 2011 22:40
dfamorato vim colorscheme
" Vim color file
"
" Author: Douglas Morato <[email protected]>
"
" Note:
" Based on the monokai theme for vim and textmate.
" Based on the darkmate theme orm vim by YearOfMoo Matias Niemelä <[email protected]>
"
" Based on the FRUITY theme by Armin Ronacher <[email protected]>
@dougmorato
dougmorato / search
Created July 13, 2011 14:54
Output os sphinx `search` command
@dougmorato
dougmorato / sphinx.conf
Created June 20, 2011 16:30
Sample sphinx.conf file to index Tryton product name and description
#
# Sphinx configuration file sample
#
# Please refer to doc/sphinx.html for details.
#
#############################################################################
## data source definition
#############################################################################
"""
This fabric file makes setting up and deploying a django application much
easier, but it does make a few assumptions. Namely that you're using Git,
Apache and mod_wsgi and your using Debian or Ubuntu. Also you should have
Django installed on your local machine and SSH installed on both the local
machine and any servers you want to deploy to.
_note that I've used the name project_name throughout this example. Replace
this with whatever your project is called._
@dougmorato
dougmorato / fabfile.py
Created April 23, 2011 23:25 — forked from onyxfish/fabfile.py
Chicago Tribune News Applications fabric deployment script
from fabric.api import *
"""
Base configuration
"""
env.project_name = '$(project)'
env.database_password = '$(db_password)'
env.site_media_prefix = "site_media"
env.admin_media_prefix = "admin_media"
env.newsapps_media_prefix = "na_media"