Skip to content

Instantly share code, notes, and snippets.

@trmwzm
trmwzm / seesaw-repl-tutorial.clj
Created December 27, 2016 22:23 — forked from daveray/seesaw-repl-tutorial.clj
Seesaw REPL Tutorial
; A REPL-based, annotated Seesaw tutorial
; Please visit https://github.com/daveray/seesaw for more info
;
; This is a very basic intro to Seesaw, a Clojure UI toolkit. It covers
; Seesaw's basic features and philosophy, but only scratches the surface
; of what's available. It only assumes knowledge of Clojure. No Swing or
; Java experience is needed.
;
; This material was first presented in a talk at @CraftsmanGuild in
; Ann Arbor, MI.
@trmwzm
trmwzm / gist:b60eeba546b9aef91283247683f9e170
Created December 27, 2016 22:20 — forked from jteneycke/gist:7947353
How to install and configure Common Lisp for Emacs. (SBCL + Slime + Emacs24)

In your shell

sudo apt-get install sbcl
curl -O http://beta.quicklisp.org/quicklisp.lisp
sbcl --load quicklisp.lisp

Inside the context of sbcl

svn update --depth infinity
export QMAKE=qmake-qt4
export MOC=moc-qt4
export UIC=uic-qt4
export LDFLAGS="$LDFLAGS -lz"
export GUILE_CFLAGS="`pkg-config --static --cflags guile-1.8`"
export GUILE_LDFLAGS="`pkg-config --static --libs guile-1.8`"
export GUILE_DATA_PATH="`pkg-config --variable=datadir guile-1.8`"