Skip to content

Instantly share code, notes, and snippets.

Stephen's Shitlist

Person/Place/Thing Shit-storm level (tm)
Obama / Healthcare ![1][poo] ![2][poo] ![3][poo] ![4][poo] ![5][poo]
ERB and HAML templates ![1][poo] ![2][poo] ![3][poo] ![4][poo] ![5][poo]
Matt Newton Metaprogramming ![1][poo] ![2][poo] ![3][poo] ![4][poo] ![5][poo]
T-Mobile ![1][poo] ![2][poo] ![3][poo] ![4][poo] ![5][poo]
Ruby Hash Rockets ![1][poo] ![2][poo] ![3][poo] ![4][poo] ![5][poo]
PHP Developers ![1][poo] ![2][poo] ![3][poo] ![4][poo] ![5][poo]
@AndrewO
AndrewO / Main.hs
Created February 6, 2014 14:05 — forked from anonymous/Main.hs
module MountJSON where
-- import Prelude hiding (getContents)
import qualified Data.Aeson as JSON
import qualified Data.ByteString.Lazy.Char8 as Char
main :: IO ()
main = do
input <- Char.getContents
case JSON.eitherDecode input of
@AndrewO
AndrewO / macruby_js_bridge.rb
Created August 1, 2011 21:02 — forked from mattetti/macruby_js_bridge.rb
Fixed "kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection"; turned off plugins
framework 'Cocoa'
framework 'WebKit'
class Cat
attr_accessor :name, :age
def initialize(name = 'kitty', age=42)
@name = name
@age = age
end
#project.rb
has_many :usages
has_many :asset_orders
has_many :usages, :through => :requests
#request.rb
belongs_to :project
#usage.rb
belongs_to :request