Skip to content

Instantly share code, notes, and snippets.

View guilhermecomum's full-sized avatar

Guilherme Guerra guilhermecomum

View GitHub Profile
@guilhermecomum
guilhermecomum / accounting.sql
Created July 22, 2024 02:56 — forked from 001101/accounting.sql
Basic double-entry bookkeeping system, for PostgreSQL.
CREATE TABLE accounts(
id serial PRIMARY KEY,
name VARCHAR(256) NOT NULL
);
CREATE TABLE entries(
id serial PRIMARY KEY,
description VARCHAR(1024) NOT NULL,
amount NUMERIC(20, 2) NOT NULL CHECK (amount > 0.0),
-- Every entry is a credit to one account...
@guilhermecomum
guilhermecomum / 1001albums.md
Created May 6, 2016 11:32 — forked from znseaman/1001albums.md
Pitchfork's 1001 Albums You Must Hear Before You Die
50s
  • Sinatra, Frank – In the Wee Small Hours
  • Presley, Elvis – Elvis Presley (1956)
  • Louvin Brothers – Tragic Songs of Life
  • Prima, Louis – Wildest
  • Domino, Fats – This is Fats
  • Ellington, Duke – At Newport (1956)
  • Sinatra, Frank – Songs for Swingin’ Lovers!
  • Crickets – Chirping…