Skip to content

Instantly share code, notes, and snippets.

@the42
the42 / shared.ledger
Created December 6, 2017 21:25
Ledger shared expenses
= /^Expenses:Housing/ & %/shared/
[Share:Housing] 1
[Share:Person:Johann] -0.5
[Share:Person:Bettina] -0.5
= /^Person:/
[Share:$account] -1
[Share] 1
; = /Expenses:Housing/ & %/shared/
@the42
the42 / .block
Last active March 12, 2019 22:00 — forked from mbostock/.block
Zoomable Circle Packing
license: gpl-3.0
height: 960
@the42
the42 / gist:1956518
Created March 2, 2012 07:34
GZip encoding for GO V1 using custom responsewriter
package main
import (
"compress/gzip"
"io"
"net/http"
"strings"
)
type gzipResponseWriter struct {