Public Gists by sohooo

Gravatar
Sun Nov 15 11:15:33 -0800 2009
1
2
3
### Vim
 
`autocmd BufWritePre * :%s/\s\+$//e`
Gravatar
Wed Nov 04 10:14:07 -0800 2009
1
2
3
        RED="\[\033[0;31m\]"
     YELLOW="\[\033[0;33m\]"
  GREEN="\[\033[0;32m\]"
Gravatar
Wed Nov 04 06:32:01 -0800 2009
1
2
3
#!/usr/bin/env ruby
require 'fileutils'
 
Gravatar
Thu Sep 03 10:13:31 -0700 2009
1
2
3
using terms from application "Quicksilver"
on process text log_text
set theDate to (do shell script "date '+%m-%d-%Y %H:%M'")
Gravatar
Thu Jul 09 23:50:48 -0700 2009
1
2
3
# $ tweet Hi mom!
#
# Put this in ~/.bashrc or wherever.
gist: 109560 vhost script
Gravatar
Sun May 10 02:04:42 -0700 2009
1
2
3
#!/bin/sh
 
ME=sven
gist: 91819 retrieve tournament info fr...
Gravatar
Wed Apr 08 08:18:41 -0700 2009
1
2
3
#!/usr/bin/env ruby
 
require 'rubygems'
gist: 81371 vhosts script
Gravatar
Wed Mar 18 13:17:32 -0700 2009
1
2
3
#!/bin/sh
 
ME=your-username
gist: 79815 Ruby T-Shirt text
Gravatar
Mon Mar 16 03:19:54 -0700 2009
1
2
["do", "dont do"].include? "try"
#=> false