Step-by-step installtion of cGit on nginx without funky rewrite rules.
This is for ::
| <?php | |
| /** | |
| * LDAP PHP Change Password Webpage | |
| * @author: Matt Rude <http://mattrude.com> | |
| * @website: http://technology.mattrude.com/2010/11/ldap-php-change-password-webpage/ | |
| * | |
| * | |
| * GNU GENERAL PUBLIC LICENSE | |
| * Version 2, June 1991 |
| '============================================================================== | |
| 'LANG : VBScript | |
| 'NAME : computername.vbs | |
| 'DESCRIPTION: Changes My Computer to actual Computername | |
| '============================================================================== | |
| Option Explicit | |
| Const HKEY_CLASSES_ROOT = &H80000000 | |
| Const HKEY_CURRENT_USER = &H80000001 | |
| Const HKEY_LOCAL_MACHINE = &H80000002 |
| <?php | |
| /* | |
| Matt Rude <[email protected]> - 1 Nov 2009 | |
| This shortcode displays the years since the date provided. | |
| To use this shortcode, add some text to a post or page simmiler to: | |
| [ts date='1983-09-02'] | |
| The date format is YYYY-MM-DD |
| # /bin/bash | |
| BKNAME= | |
| DIR= | |
| DBHOST= | |
| DBNAME= | |
| DBUSER= | |
| DBPASS= | |
| # Backup Varibles | |
| BKDIR= |
| # Copyright 2010 Drew Blas <[email protected]> | |
| # From: http://drewblas.com/2010/07/15/an-analysis-of-gpled-code-in-thesis | |
| # | |
| # 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 |
| #!/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 (http://hjemli.net/git/cgit/). | |
| # | |
| # Install: | |
| # | |
| # 1- Install python-markdown ( sudo apt-get install python-markdown ) |
| #!/bin/sh | |
| # | |
| # Copyright (c) 2007 Andy Parkins | |
| # | |
| # An example hook script to mail out commit update information. This hook | |
| # sends emails listing new revisions to the repository introduced by the | |
| # change being reported. The rule is that (for branch updates) each commit | |
| # will appear on one email and one email only. | |
| # | |
| # This hook is stored in the contrib/hooks directory. Your distribution |
| /******************************************************************************** | |
| * Add Footer to WordPress RSS feeds. Add this snippet to your functions.php | |
| */ | |
| function mdr_postrss($content) { | |
| if(is_feed()){ | |
| $site_name = get_bloginfo_rss('name'); | |
| $post_title = get_the_title_rss(); | |
| $home_url = home_url('/'); | |
| $post_url = post_permalink(); |
| #!/bin/sh | |
| # | |
| # An example hook script to mail out commit update information. This hook | |
| # sends emails listing new revisions to the repository introduced by the | |
| # change being reported. The rule is that (for branch updates) each commit | |
| # will appear on one email and one email only. | |
| # | |
| # This hook is stored in the contrib/hooks directory. Your distribution | |
| # will have put this somewhere standard. You should make this script | |
| # executable then link to it in the repository you would like to use it in. |