Public Gists by timshadel

Gravatar
Mon Aug 10 09:56:46 -0700 2009
1
2
3
require 'socket'
require 'openssl'
# port can be anything. here it's ldaps
gist: 89426 Simple way to access github...
Gravatar
Thu Apr 02 13:43:46 -0700 2009
1
2
[core]
    gitproxy="/Users/name/bin/gitproxy" for github.com
gist: 65217 Counts the number of files ...
Gravatar
Mon Feb 16 07:50:13 -0800 2009
1
2
3
# Counts the number of files in each subdirectory of the given directory
# and then outputs the count in a Tufte-esque style histogram, where the
# number before the | is the 10's column, and each number after the |
gist: 54231 Bold your current git branc...
Gravatar
Wed Jan 28 14:40:58 -0800 2009
1
2
3
TERM=xterm-color
# \[ starts a sequence of non-printable chars
# \] ends that sequence
gist: 54227 Use git-symbolic-ref instea...
Gravatar
Wed Jan 28 14:37:03 -0800 2009
1
2
3
parse_git_branch() {
  git symbolic-ref HEAD 2> /dev/null | cut -d/ -f3- | sed -e 's/\(.*\)/ (\1)/'
}
gist: 51249 SVN log filter: Search the ...
Gravatar
Fri Jan 23 14:57:47 -0800 2009
1
2
3
@record = []
 
def record_match?