My Recent Pastes (26 and counting)
Pastes by Dave Grijalva (26 and counting)
Below are the 11 most recent pasties by Dave Grijalva.
May 04, 2007
3:51PM EDT
by Dave Grijalva
View all 15 lines
var special_keys = {
KEY_BACKSPACE: 8,
KEY_TAB: 9,
KEY_RETURN: 13,
KEY_ESC: 27,
April 19, 2007
7:35PM EDT
by Dave Grijalva
View all 9 lines
2007-04-19 16:34:20.391 mate[27690] CFLog (0): CFMessagePort: bootstrap_register(): failed 1100 (0x44c), port = 0x2003, name = 'NSApplication-MainThread-6c2a-887724440042029#' See /usr/include/servers/bootstrap_defs.h for the error codes. 2007-04-19 16:34:20.392 mate[27690] CFLog (99): CFMessagePortCreateLocal(): failed to name Mach port (NSApplication-MainThread-6c2a-887724440042029#) 2007-04-19 16:34:20.393 mate[27690] *** Assertion failure in -[NSApplication _createWakeupPort], AppKit.subproj/NSApplication.m:3578 2007-04-19 16:34:20.394 mate[27690] CFMessagePortCreateLocal returned NULL port
April 09, 2007
4:51PM EDT
by Dave Grijalva
View all 63 lines
#!/usr/bin/ruby require 'fileutils' require 'find' # TODO: move this class out to a file
April 09, 2007
4:26PM EDT
by Dave Grijalva
View all 25 lines
class ExcludeSet attr_accessor :explicit attr_accessor :implicit attr_reader :base_dir
April 06, 2007
4:32AM EDT
by Dave Grijalva
View all 33 lines
<Proxy balancer://tj_photo_cluster>
Allow from all
BalancerMember http://127.0.0.1:8000
BalancerMember http://127.0.0.1:8001
</Proxy>
April 05, 2007
12:34AM EDT
by Dave Grijalva
View all 9 lines
make gcc -I. -I. -I/usr/local/lib/ruby/1.8/i686-darwin8.9.1 -I. -DHAVE_MYSQL_SSL_SET -DHAVE_MYSQL_H -I/usr/local/mysql/include -fno-common -g -O2 -pipe -fno-common -c mysql.c mysql.c: In function 'Init_mysql': mysql.c:2015: error: 'ulong' undeclared (first use in this function) mysql.c:2015: error: (Each undeclared identifier is reported only once
March 23, 2007
2:38PM EDT
by Dave Grijalva
View all 15 lines
def trigger_redeploy
`touch tmp/pids/byl_redeploy.lock 2>&1`
`ruby lib/utils/redeploy.rb #{params[:id]} 2>&1 >> log/activity.log &`
March 02, 2007
7:02PM EDT
by Dave Grijalva
View all 6 lines
try{
var example = 123;
var more_stuff = 'Some stuff';
} catch (e) {
Debug.error(e);
March 02, 2007
7:00PM EDT
by Dave Grijalva
View all 8 lines
#!/usr/bin/env ruby
require "#{ENV["TM_SUPPORT_PATH"]}/lib/escape"
puts "try{"
puts e_sn(STDIN.read);
