Skip to content

Instantly share code, notes, and snippets.

View boffbowsh's full-sized avatar

Paul Bowsher boffbowsh

View GitHub Profile
From d585c7a4753ce48d46e1ba44c5e5c831811ed864 Mon Sep 17 00:00:00 2001
From: Paul Bowsher <paul.bowsher@gmail.com>
Date: Sat, 21 Nov 2009 23:06:39 +0000
Subject: [PATCH] Fix issue #81
Check that the file is readable before attempting to require it
---
kernel/delta/requirer.rb | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
Boffymac:~ boffbowsh$ dig +trace to.
; <<>> DiG 9.6.0-APPLE-P2 <<>> +trace to.
;; global options: +cmd
. 327999 IN NS I.ROOT-SERVERS.NET.
. 327999 IN NS J.ROOT-SERVERS.NET.
. 327999 IN NS K.ROOT-SERVERS.NET.
. 327999 IN NS L.ROOT-SERVERS.NET.
. 327999 IN NS M.ROOT-SERVERS.NET.
. 327999 IN NS A.ROOT-SERVERS.NET.
(function($) {
// All your code here
})(jQuery);
/**
IMPORTANT: Requires this version of jquery
until 1.3.3 comes out http://gist.github.com/186325
ALSO: This is very dirty still and has not been
abstracted for use. It is just solving our immediate problems.
Use cases that must pass (and should be tested someday):
* Clicking on links updates layout
* Click around a bit and then use back/forward buttons
#Add your items in here (When adding your entry DO NOT include #!)
#The format is:
#NAME:ID
#Default Items:
air:0
rock:1
grass:2
dirt:3
cobblestone:4
wood:5
#! /bin/sh
### BEGIN INIT INFO
# Provides: nullmailer
# Required-Start: $remote_fs $syslog $network
# Required-Stop: $remote_fs $syslog $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
### END INIT INFO
user rails rails;
worker_processes 4;
error_log /var/log/nginx/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
pid /var/run/nginx.pid;
#!/bin/bash
echo
echo
echo
echo "APPLETV SCRIPT DETAILS:"
@boffbowsh
boffbowsh / penfold_order_scenarios.txt
Created August 24, 2011 13:38
Penfold Order scenarios
Order (new)
LineItems (all new)
Contact (new)
Contact (existing)
changed
no Account
Account (new)
Account (existing)
changed
unchanged
@boffbowsh
boffbowsh / gist:1665831
Created January 23, 2012 22:21
WTFRuby
1.9.3p0 :001 > case nil.class
1.9.3p0 :002?> when NilClass
1.9.3p0 :003?> p 'yay'
1.9.3p0 :004?> else
1.9.3p0 :005 > p 'wtf'
1.9.3p0 :006?> end
"wtf"
=> "wtf"
1.9.3p0 :007 > nil.class
=> NilClass