Skip to content

Instantly share code, notes, and snippets.

View dbryson's full-sized avatar

David Bryson dbryson

  • Santa Clara, CA
View GitHub Profile
<VirtualHost 64.105.32.74:80>
ServerAlias www.statichacks.org
ServerPath /var/www/statichacks/
DocumentRoot /var/www/statichacks/
RewriteEngine on
<Directory "/var/www/statichacks/">
AllowOverride None
Options None
Order allow,deny
Allow from all
~/code/git.git (master)$ git fetch origin
remote: Counting objects: 39, done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 22 (delta 17), reused 0 (delta 0)
Unpacking objects: 100% (22/22), done.
From git://git.kernel.org/pub/scm/git/git
8b4eb6b..db87e39 maint -> origin/maint
c76dc95..c427559 master -> origin/master
7f0eb98..47a765d next -> origin/next
5f68a32..c5fc2d9 pu -> origin/pu
commit 9044ce7984fbb5d59e116dc0789b3222bd368a79
Author: David Bryson <david@statichacks.org>
Date: Mon Sep 29 22:37:03 2008 -0700
Use "git_config_string" to simplify "builtin-gc.c" code
where "prune_expire" is set
diff --git a/builtin-gc.c b/builtin-gc.c
index fac200e..6260652 100644
count: 2167
size: 45684
in-pack: 29910
packs: 1
prune-packable: 0
garbage: 0
make test
real 6m45.254s
user 2m7.952s
sys 1m56.668s
make -j6 test
real 4m24.501s
user 2m16.190s
sys 2m8.404s
$ mkdir example
$ cd example/
$ git init
Initialized empty Git repository in /home/mutex/code/example/.git/
$ echo "hi" > a
$ git add a
$ git commit -m "added a"
Created initial commit f11e70e: added a
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 a
# Organization for Example Corporation
dn: dc=example,dc=com
objectClass: dcObject
objectClass: organization
dc: example
o: Example
description: Example
# Organizational Role for Directory Manager
# example config file - global configuration entry
dn: cn=config
objectClass: olcGlobal
cn: config
olcReferral: ldap://root.openldap.org
# internal schema
dn: cn=schema,cn=config
objectClass: olcSchemaConfig
dn: uid=dbryson,ou=Users,dc=progressfin,dc=com
objectClass: account
objectClass: posixAccount
cn: dbryson
uid: dbryson
uidNumber: 10002
gidNumber: 10001
homeDirectory: /home/dbryson
loginShell: /bin/bash
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0x7fddee44d610 ptr=0x7fddee44d63f end=0x7fddee44d68d len=78
0000: a3 19 04 0b 6f 62 6a 65 63 74 63 6c 61 73 73 04 ....objectclass.
0010: 0a 70 6f 73 69 78 47 72 6f 75 70 a1 15 a3 13 04 .posixGroup.....
0020: 02 63 6e 04 0d 73 65 63 75 72 69 74 79 61 67 65 .cn..securityage
0030: 6e 74 30 1a 04 02 63 6e 04 09 67 69 64 4e 75 6d nt0...cn..gidNum
0040: 62 65 72 04 09 6d 65 6d 62 65 72 55 69 64 ber..memberUid
end get_filter 0
end get_filter_list
end get_filter 0