Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Sean Allred vermiculus

I may be slow to respond.
View GitHub Profile
reborg /
Last active May 16, 2022
A curated collection of answers that Rich gave throughout the history of Clojure

Rich Already Answered That!

A list of commonly asked questions, design decisions, reasons why Clojure is the way it is as they were answered directly by Rich (even when from many years ago, those answers are pretty much valid today!). Feel free to point friends and colleagues here next time they ask (again). Answers are pasted verbatim (I've made small adjustments for readibility, but never changed a sentence) from mailing lists, articles, chats.

How to use:

  • The link in the table of content jumps at the copy of the answer on this page.
  • The link on the answer itself points back at the original post.

Table of Content

joehillen /
Last active Nov 20, 2015
Quoth the Raven, "Turn down for what?"

The Raven

Once upon a midnight dreary, while I pondered, weak and weary,
Over many a quaint and curious volume of forgotten lore—
    While I nodded, nearly napping, suddenly there came a tapping,
As of some one gently rapping, rapping at my chamber door.
“’Tis some visitor,” I muttered, “tapping at my chamber door—
            Only this and nothing more.”
jleechpe / gist:bc1ef519964d7bd8bd13
Created Nov 17, 2014
Extract function information for use in an org file
View gist:bc1ef519964d7bd8bd13
(defun extract-information (sym)
(if (fboundp sym)
(cons 'function (or (help-split-fundoc (documentation sym) sym)
(documentation sym)))
(cons 'variable (documentation-property sym 'variable-documentation))))
(defun def-to-org-headline (sym &optional level)
(let* ((toplevel (or level 1))
(info (extract-information sym))
(name (format "%s" sym))
View lcr.tex
\expandafter\def\csname lcr@#1\endcsname{#2}}
\def\lcr@@get#1{\csname lcr@#1\endcsname}
\expandafter\def\csname #1Format\endcsname{#2}
\expandafter\def\csname #1\endcsname##1{%
\begingroup\csname #1Format\endcsname##1\endgroup}}
freakhill / .gitignore
Last active Dec 24, 2016
emacs init script
View .gitignore
View color-ligatures.lua
documentdata = documentdata or { }
documentdata.color_ligatures = { }
local color_ligatures = documentdata.color_ligatures
color_ligatures.color = { r = 0xee/255,
g = 0x31/255,
b = 0x09/255, }
local stringformat = string.format
t0xicCode /
Created Aug 9, 2012
Build and display an animated text-based progress bar in python

This started out as a fork of the progress bar class which I first hosted on ActiveState Code.

It builds a text progress bar and displays it with the draw() method.

The methods are showcased below:

from progressBar import progressBar

# Initiates the progessBar
prog = progressBar(maxValue = 50)