Skip to content

Instantly share code, notes, and snippets.


Matt Rude mattrude

View GitHub Profile
mattrude / gist:2005151
Created Mar 9, 2012 — forked from stran12/gist:1394757
Step-by-step installation of cGit with Nginx
View gist:2005151

How to install cGit on Nginx (Ubuntu server)

Step-by-step installtion of cGit on nginx without funky rewrite rules.


This is for ::

mattrude /
Created Dec 21, 2011 — forked from jasongraham/
Used by the cgit 'about-filter' to parse a markdown file.
#!/usr/bin/env python
# Copyright 2011, Jason Graham
# Uses python-markdown to convert a markdown document to the body
# of an HTML document to display with cgit (
# Install:
# 1- Install python-markdown ( sudo apt-get install python-markdown )
# Copyright 2010 Drew Blas <>
# From:
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of