Public Gists by hui

Gravatar
Mon Sep 07 03:00:12 -0700 2009
1
2
3
[hui@DYLAN ~] $ cat .gitconfig
[merge]
tool = opendiff
Gravatar
Mon Sep 07 02:24:16 -0700 2009
1
2
3
#
# bash completion support for core Git.
#
Gravatar
Mon Sep 07 02:23:01 -0700 2009
1
2
3
export PATH="$HOME/bin:$PATH"
source ~/bin/git-completion.bash
PS1='[\u@\h \w$(__git_ps1 " (%s)")] \$ '
Gravatar
Mon Sep 07 02:19:04 -0700 2009
1
2
3
export PATH="$HOME/bin:$PATH"
source ~/bin/git-completion.bash
PS1='[\u@\h \w$(__git_ps1 " (%s)")] \$ '
Gravatar
Mon Aug 31 18:04:40 -0700 2009
1
2
3
CREATE TABLE `newsletters` (
  `id` int(11) NOT NULL auto_increment,
  `subject` varchar(255) NOT NULL,
Gravatar
Mon Aug 31 18:00:57 -0700 2009
1
2
3
<Directory /var/www/project.php/release/webroot/newsletters/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Gravatar
Wed Aug 19 19:15:36 -0700 2009
1
2
3
?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
Gravatar
Sun Jun 14 21:14:48 -0700 2009
1
2
require "bigdecimal"
BigDecimal("9E69999999").to_s("F")
Gravatar
Thu Apr 16 19:55:15 -0700 2009
1
2
3
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
Gravatar
Tue Apr 14 09:15:49 -0700 2009
1
!.*/(\.[^/]*|vendor/rails|vendor/.*/test|log|doc|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$
Gravatar
Fri Apr 10 19:26:52 -0700 2009
1
2
3
git clone git://github.com/etrepum/tokyo-tyrant.git
cd tokyo-tyrant/
./configure
Gravatar
Fri Apr 10 19:15:08 -0700 2009
1
2
3
git clone git://github.com/etrepum/tokyo-cabinet.git
cd tokyo-cabinet
./configure
Gravatar
Wed Mar 25 03:28:14 -0700 2009
1
2
3
.chatlines {
  height: 300px;width:100%;
  overflow-y: scroll;
Gravatar
Fri Mar 20 08:02:34 -0700 2009
1
2
3
<IfModule mod_deflate.c>
          AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript application/javascript
</IfModule>
Gravatar
Thu Mar 05 19:09:24 -0800 2009
1
undefined
Gravatar
Thu Feb 05 08:17:17 -0800 2009
1
2
3
var DateHelper = {
  // Takes the format of "Jan 15, 2007 15:45:00 GMT" and converts it to a relative time
  // Ruby strftime: %b %d, %Y %H:%M:%S GMT
Gravatar
Tue Jan 06 20:04:59 -0800 2009
1
git config --global branch.autosetupmerge true
Gravatar
Tue Jan 06 00:44:50 -0800 2009
1
2
3
sudo env ARCHFLAGS="-arch i386" gem install mysql -- \
  --with-mysql-dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib \
  --with-mysql-include=/usr/local/mysql/include
Gravatar
Mon Jan 05 17:55:18 -0800 2009
1
2
3
# MacPorts Installer addition on 2009-01-02_at_18:10:26: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
Gravatar
Mon Dec 22 05:15:49 -0800 2008
1
2
3
# config.ru
require 'rubygems'