Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View erlingwl's full-sized avatar

Erling Wegger Linde erlingwl

View GitHub Profile
@erlingwl
erlingwl / gist:5386985
Last active December 16, 2015 05:49 — forked from pkordel/gist:5386788
# -*- encoding : utf-8 -*-
require 'unit_spec_helper'
require 'ostruct'
describe "Parser" do
let(:expected) {
[
["(0) Mammal", 1],
["(0) Mammal | (0) Dog", 3],
@erlingwl
erlingwl / postgresql.rb
Created May 22, 2012 11:01
Postgres 8.4.11 Homebrew forumula
require 'formula'
require 'hardware'
class Postgresql <Formula
homepage 'http://www.postgresql.org/'
url 'http://ftp2.uk.postgresql.org/sites/ftp.postgresql.org/source/v8.4.11/postgresql-8.4.11.tar.bz2'
md5 'f9b731a1162b177a173640efab2275d0'
depends_on 'readline'
depends_on 'libxml2' if MACOS_VERSION < 10.6 # Leopard libxml is too old