Public Gists by curzonj

Gravatar
Mon Jun 01 16:51:24 -0700 2009
1
2
3
check process mongrel-5000 with pidfile /usr/local/nextgen/current/tmp/pids/mongrel.5000.pid
    start program = "/bin/su -c '/bin/rm -f /usr/local/nextgen/current/tmp/pids/mongrel.5000.pid && /usr/bin/ruby /usr/bin/mongrel_rails start -d -e production -p 5000 -a 127.0.0.1 -P /usr/local/nextgen/current/tmp/pids/mongrel.5000.pid -c /usr/local/nextgen/current' nextgen"
    stop program = "/bin/su -c '/usr/bin/ruby /usr/bin/mongrel_rails stop -P /usr/local/nextgen/current/tmp/pids/mongrel.5000.pid && ([ ! -f /usr/local/nextgen/current/tmp/pids/mongrel.5000.pid ] || (kill -9 `/usr/local/nextgen/current/tmp/pids/mongrel.5000.pid` && /bin/rm -f /usr/local/nextgen/current/tmp/pids/mongrel.5000.pid))' nextgen"
Gravatar
Sat Mar 21 15:17:46 -0700 2009
1
2
3
diff --git a/lib/icalendar/component.rb b/lib/icalendar/component.rb
index a2d7bc3..2fb8f02 100644
--- a/lib/icalendar/component.rb
Gravatar
Tue Feb 17 12:31:30 -0800 2009
1
2
3
for file in *.pdf; do
if [ -f "$file" ]; then
pdfimages -j "$file" image_extraction
Gravatar
Sat Dec 20 12:14:11 -0800 2008
1
2
3
name = 'date_received'
model = Sample
input_name = 'bob'