Skip to content
View loltie.txt
lol lol
>o< "I've lost R2!"

Keybase proof

I hereby claim:

  • I am sdball on github.
  • I am sdball ( on keybase.
  • I have a public key whose fingerprint is D718 9FCA 7760 1079 3990 C5AE 9337 38E4 021E 0115

To claim this, I am signing this object:

View self_instance_demo.rb
class UsingSelf
attr_accessor :a, :b, :c
def initialize(a, b, c)
self.a = a
self.b = b
self.c = c
class UsingInstance
View nil_what_are_you_doing_stahp.rb
class NilWhatAreYouDoingStahp
attr_accessor :not_nil
def initialize
@not_nil = "I'm not nil! I'm a value!"
def wat
if not_nil.nil?
not_nil = "Ok, now I'm not nil."
View index.php
// page setup
$javascript = '<script type="text/javascript" src="/ipdatabase/js/index.js"></script>';
$page = new IPDB_Page();
View ezproxy_redirect.php
* ezproxy_redirect
* EZProxy requires that the username and password be passed via GET.
* This is just about as insecure as possible.
* So, we trick ezproxy into security by opening a socket connection
* to the server; acting as a browser to initiate the connection; then
* writing out its response to the actual browser.
View hardcoded_swap.rb
require 'minitest/spec'
require 'minitest/autorun'
class String
def one_time_override(method, &override)
self.instance_eval do
def to_s
self.instance_eval do
def to_s
View deploy.rb
# drop this task in the environment(s) you want to confirm deployment for
before :deploy, "deploy:confirm"
namespace :deploy do
desc "Should we really deploy?"
task :confirm do
if Capistrano::CLI.ui.ask("Are you sure?") == "yes"
puts "You got it buddy. Imma deploy now."
Something went wrong with that request. Please try again.