Skip to content

Instantly share code, notes, and snippets.

@cbaggers
cbaggers / psqlcp.app.src
Created December 24, 2018 00:08 — forked from w495/psqlcp.app.src
Postgresql connection pool with poolboy
{application, psqlcp, [
{description, "Postgresql connection pool with poolboy"},
{vsn, "0.1"},
{applications, [kernel, stdlib]},
{modules, [psqlcp, psqlcp_worker]},
{registered, [psqlcp]},
{mod, {psqlcp, []}},
{env, [
{pools, [
{fk, [
@cbaggers
cbaggers / save-lisp-tree-shake-and-die.lisp
Created September 1, 2016 12:21 — forked from burtonsamograd/save-lisp-tree-shake-and-die.lisp
A quick and dirty tree shaker for SBCL, giving about a 40% reduction in dump size.
;; -*- mode: lisp -*-
;;
;; A quick and dirty tree shaker for SBCL. Basically, it destroys the
;; package system and does a gc before saving the lisp image. Gives
;; about a 40% reduction in image size on a basic hello world test.
;; Would like to hear how it works on larger projects.
;;
;; Original idea from: https://groups.google.com/d/msg/comp.lang.lisp/6zpZsWFFW18/WMy4PyA9B4kJ
;;
;; Burton Samograd