Skip to content

Instantly share code, notes, and snippets.

View vermiculus's full-sized avatar
🙃
I may be slow to respond.

Sean Allred vermiculus

🙃
I may be slow to respond.
View GitHub Profile
@reborg
reborg / rich-already-answered-that.md
Last active February 23, 2024 13:09
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

@t0xicCode
t0xicCode / README.md
Created August 9, 2012 17:37
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)
@freakhill
freakhill / .gitignore
Last active December 24, 2016 10:11
emacs init script
*~
.*
*.dat
*.eld
.smex-items
.emacs_workgroups_*
tmp*
places
ede-projects.*
ac-dict/
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
@vermiculus
vermiculus / lcr.tex
Last active November 24, 2015 20:10
\documentclass{report}
\makeatletter
\def\lcr@@set#1{\lcr@@@set{#1}}
\long\def\lcr@@@set#1#2{%
\expandafter\def\csname lcr@#1\endcsname{#2}}
\def\lcr@@get#1{\csname lcr@#1\endcsname}
\def\lcr@@new@format#1#2{%
\expandafter\def\csname #1Format\endcsname{#2}
\expandafter\def\csname #1\endcsname##1{%
\begingroup\csname #1Format\endcsname##1\endgroup}}
@joehillen
joehillen / quoth-the-raven.md
Last active November 20, 2015 05:37
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
jleechpe / gist:bc1ef519964d7bd8bd13
Created November 17, 2014 02:32
Extract function information for use in an org file
(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))