Skip to content

Instantly share code, notes, and snippets.

Avatar

Carl Meyer carljm

View GitHub Profile
@ptone
ptone / patch_coverage.py
Created Oct 21, 2011
Annotate coverage report with lines modified by patch
View patch_coverage.py
#!/usr/bin/env python
import os
from collections import defaultdict
import patch
import re
import coverage
import django
from optparse import OptionParser
import webbrowser
@epicserve
epicserve / svn_to_git.rst
Created Sep 15, 2011
Convert SVN Repositories to Git Repositories
View svn_to_git.rst

Convert SVN Repositories to Git Repositories

This guide on how to convert an SVN repository to a git repository was mostly taken from John Albin Wilkins post on Converting a Subversion repository to Git.

1. Retrieve a list of all Subversion committers

@jacobian
jacobian / replication_fabfile.py
Created Jan 27, 2011
A fab task to start pg9 hot standby.
View replication_fabfile.py
def start_replication():
"""
Begin Postgresql standby
"""
# Stop pg on the slave machine.
with settings(host_string=env.db_slave):
run('service postgresql-9.0 stop')
# Create the backup on the master machine
with settings(host_string=env.db_master):
You can’t perform that action at this time.