Skip to content

Instantly share code, notes, and snippets.

!#/usr/bin/python
import mechanize
import getpass
import time
import os
def reload(username=None, password=None, domain=None):
if username is None:
username = raw_input('Username: ')
@gpjt
gpjt / nginx-uwsgi-upgrade-post.md
Created September 5, 2012 14:48 — forked from hjwp/nginx-uwsgi-upgrade-post.md
Draft blog post on the switch from apache to nginx/uwsgi

Beloved users, and whomever else may find it of interest,

We recently made the switch from nginx to uwsgi. Well, I say recently, as far as I can tell from the commit logs we started work on it around July 10th, so that's fully six weeks ago. We just deployed it this week, and after a bumpy first few days it seems to be settling in well. We thought we'd share why we switched, and how it's going.

tl;dr: