Skip to content

Instantly share code, notes, and snippets.

View tarekziade's full-sized avatar

Tarek Ziade tarekziade

View GitHub Profile
@tarekziade
tarekziade / settings_local_mkt.py
Created October 2, 2012 11:01
settings file for mkt
from mkt.settings import *
DEBUG = True
TEMPLATE_DEBUG = DEBUG
DEBUG_PROPAGATE_EXCEPTIONS = DEBUG
LESS_PREPROCESS = LESS_LIVE_REFRESH = True
LESS_BIN = '/usr/local/bin/lessc'
UGLIFY_BIN = 'uglifyjs'
SERVE_TMP_PATH = True
CELERY_ALWAYS_EAGER = True
@tarekziade
tarekziade / marketplace_installation.rst
Created September 24, 2012 10:09
Installing Marketplace in Ubuntu 12.04
@tarekziade
tarekziade / piproxy.py
Created May 2, 2012 09:12
Proxy to simulate --allow-hosts with PIP- adapted from a wsgi proxy found out there
# adapted from https://code.google.com/p/wsgi-proxy
from httplib import HTTPConnection
from urlparse import urlparse
import copy
import logging
import mimetypes
import os
_hoppish = {