Skip to content

Instantly share code, notes, and snippets.

View jackross's full-sized avatar

Jack A Ross jackross

View GitHub Profile
begin;
/*
Problem: I don't want the application to really care about how the data is
structured in the database. The application / view code needs to work
with the data in a sane format, without worrying about normalization, joins,
eager fetching, etc.
DB Schema Overview:
orders
@jackross
jackross / 0_reuse_code.js
Created June 26, 2014 19:39
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<!DOCTYPE html>
<html>
<head>
<title>Simple Stack</title>
<script src="http://d3js.org/d3.v3.js"></script>
<style>
svg {
border: solid 1px #ccc;
font: 10px sans-serif;
shape-rendering: crispEdges;
@jackross
jackross / postgresql.rb
Created August 6, 2012 19:58 — forked from croaker/postgresql.rb
Homebrew - PostgreSQL 9.2 Beta 3 Formula
require 'formula'
class Postgresql92beta < Formula
homepage 'http://www.postgresql.org/'
url 'http://ftp.postgresql.org/pub/source/v9.2.0beta3/postgresql-9.2beta3.tar.bz2'
md5 '5164fce3a6c46dd7f6ef188a25ac0bc9'
depends_on 'readline'
depends_on 'libxml2' if MacOS.leopard? # Leopard libxml is too old
depends_on 'ossp-uuid'