This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
ksdiff = difftool | |
[diff] | |
tool = ksdiff | |
[difftool "ksdiff"] | |
cmd = "ksdiff $LOCAL $REMOTE" | |
[difftool] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
st = status -sb | |
ci = commit | |
co = checkout | |
ls = "log --oneline --decorate --color" | |
lsg = "log --oneline --decorate --color --graph" | |
untrack = "rm --cached --" | |
unstage = "reset HEAD --" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
# | |
# Script to create an empty Git-Repository. | |
# | |
GIT_BASEPATH=/var/cache/git | |
SCRIPT_NAME="`basename $0`" | |
PROJECT_NAME="$1" | |
if [ -z "$PROJECT_NAME" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf8" /> | |
<meta name="DC.Title" content="" /> | |
<meta name="DC.Description" content="" /> | |
<meta name="description" content="" /> | |
<meta name="DC.Author" content="" /> | |
<meta name="DC.Publisher" content="" /> | |
<meta name="DC.Copyright" content="" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Creates a Subversion repository under /var/lib/svn and imports the default | |
# SVN directory layout (trunk branches tags) as initial commit. | |
# | |
SCRIPT_NAME="`basename $0`" | |
SVN_REPOSITORY_PATH="/var/lib/svn" | |
SVN_HOOKS_PATH="/usr/local/share/subversion/repository-creation/hooks" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Wrapper script to force correct umask for svnadmin. | |
# Put in /usr/local/sbin to override default svnadmin binary. | |
# | |
umask 002 | |
/usr/bin/svnadmin "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cat <<EOF | |
<VirtualHost *:80> | |
ServerName alex.macbook | |
ServerAdmin webmaster@macbook | |
DocumentRoot "/opt/local/www/alex.macbook" | |
ErrorLog "logs/alex_macbook_error.log" | |
CustomLog "logs/alex_macbook_access.log" common | |
<IfModule mod_rewrite.c> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Update or checkout official TextMate bundles. | |
# | |
TEXTMATE_SUPPORT_DIR=~/Library/Application\ Support/TextMate | |
if [ -z $LC_CTYPE ]; then | |
export LC_CTYPE=en_US.UTF-8 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Error documents | |
ErrorDocument 404 /404.htm | |
ErrorDocument 403 /403.htm | |
#RedirectMatch permanent ^/somedir/?$ http://www.domain.com/ | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
# RewriteBase / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@CHARSET "UTF-8"; | |
body { | |
font: normal 1em/1.25em times new roman,arial,helvetica,sans-serif; | |
color: black; | |
background-color: white; | |
} | |
a { | |
color: #666; |