Skip to content

Instantly share code, notes, and snippets.

View psi's full-sized avatar

JD Harrington psi

  • Philadelphia, PA
View GitHub Profile
yo, what's up kid!?
@psi
psi / gist:331
Created July 21, 2008 21:58 — forked from julien51/gist:327
puts "yo!"
[user]
name = JD Harrington
email = [email protected]
[alias]
ci = commit
st = !PAGER="" git status
co = checkout
chpk = cherry-pick
up = pull --rebase
put = !git up && git push origin HEAD
[mysqld]
skip-thread-priority
bind-address = 127.0.0.1
max_allowed_packet = 16M
log = /tmp/mysql-query.log
socket = /private/tmp/mysql.sock
[mysql]
socket = /private/tmp/mysql.sock
spicycode about 19 hours ago
Any other features going away with the move?
tekkub about 19 hours ago
@spicycode, yes, weekly file-system induced restarts.
whatever
When I reset MemCache in before_fork and after_fork with preload_app = true
---------------------------------------------------------------------------
# master process
[jd@adm-644 ~]$ sudo /usr/sbin/lsof -p 15360 | grep 11212
unicorn_r 15360 app 5u IPv4 19566533 TCP adm-644-priv.s--e.net:46594->web-b35-priv.s--e.net:11212 (ESTABLISHED)
unicorn_r 15360 app 8u IPv4 19566712 TCP adm-644-priv.s--e.net:46597->web-b35-priv.s--e.net:11212 (ESTABLISHED)
# worker[0]
[jd@adm-644 ~]$ sudo /usr/sbin/lsof -p 15369 | grep 11212
unicorn_r 15369 app 5u IPv4 19566533 TCP adm-644-priv.s--e.net:46594->web-b35-priv.s--e.net:11212 (ESTABLISHED)
From 551f672638e05221ad898fdbd3c1ea8ef56aa627 Mon Sep 17 00:00:00 2001
From: JD Harrington <[email protected]>
Date: Fri, 14 May 2010 12:13:13 -0400
Subject: [PATCH] Fix Regexp#to_s when using %r
---
kernel/common/regexp.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/common/regexp.rb b/kernel/common/regexp.rb
01 Mohlao - Luminescent [Field Records, 2010]
02 Luke Hess - Platte [Echocord Colour, 2008]
03 Mokira - Time Track (Silent Servant Remix) [Kontra-Musik, 2011]
04 Ghosting Season - Far End Of The Graveyard [This Is It Forever, 2011]
05 Maurizio - M-4.5 A [Maurizio, 1995]
06 Sandwell District - Grey Cut Out (Version) [Sandwell District, 2011]
07 Iori - Resonant [Soul Aid, 2011]
08 Conforce - Grace [Delsin, 2010]
09 Truncate - Concentrate [Truncate, 2011]
10 Theorem Vs Swayzak - Devil Of Rotations [M_nus, 2002]
abstract (1.0.0)
actionmailer (3.0.3, 3.0.1, 3.0.0, 2.3.8, 2.3.5, 1.3.6)
actionpack (3.0.3, 3.0.1, 3.0.0, 2.3.8, 2.3.5, 1.13.6)
actionwebservice (1.2.6)
activemerchant (1.9.3, 1.9.0, 1.8.0, 1.7.2)
activemodel (3.0.3, 3.0.1, 3.0.0)
activerecord (3.0.3, 3.0.1, 3.0.0, 2.3.8, 2.3.5, 1.15.6)
activeresource (3.0.3, 3.0.1, 3.0.0, 2.3.8, 2.3.5)
activesupport (3.0.4, 3.0.3, 3.0.1, 3.0.0, 2.3.8, 2.3.5, 1.4.4)
acts_as_ferret (0.5.2, 0.5.1, 0.4.8, 0.4.4, 0.4.3)