Skip to content

Instantly share code, notes, and snippets.

View leocassarani's full-sized avatar

Leo Cassarani leocassarani

View GitHub Profile
@jraines
jraines / rails31init.md
Created May 24, 2011 17:03
Rails 3.1 with Rspec, Cucumber, Factory Girl, Haml, and Simple Form

Install Rails 3.1 RC

gem install rails --pre

generate new app, skipping Test::Unit file generation

rails new my_app -T

Set up Gemfile

@patrickt
patrickt / Overture.hs
Created September 26, 2013 23:02
A drop-in replacement for the Haskell Prelude.
module Prelude.Overture
( module X
)
where
-- Haskell 98 stuff is easier to get at through the Prelude
-- than through the GHC-specific modules
import Prelude as X ( Bounded (..)
, Enum (..)
, Floating (..)

First, you install ruby-build and chruby. ruby-build is a program that knows how to download and build different ruby versions. chruby manages $PATH to control which ruby gets invoked in your shell. They work completely independently.

sudo su
cd /usr/src

git clone https://github.com/sstephenson/ruby-build.git
cd ruby-build
./install.sh
cd -
(Chapters marked with * are already written. This gets reorganized constantly
and 10 or so written chapters that I'm on the fence about aren't listed.)
Programmer Epistemology
* Dispersed Cost vs. Reduced Cost
* Verificationist Fallacy
* Mistake Metastasis
The Overton Window
Epicycles All The Way Down
The Hyperspace Gates Were Just There