Skip to content

Instantly share code, notes, and snippets.

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 May 16, 2022
A curated collection of answers that Rich gave throughout the history of Clojure
View rich-already-answered-that.md

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
joehillen / quoth-the-raven.md
Last active Nov 20, 2015
Quoth the Raven, "Turn down for what?"
View quoth-the-raven.md

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 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
\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}}
@freakhill
freakhill / .gitignore
Last active Dec 24, 2016
emacs init script
View .gitignore
*~
.*
*.dat
*.eld
.smex-items
.emacs_workgroups_*
tmp*
places
ede-projects.*
ac-dict/
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
t0xicCode / README.md
Created Aug 9, 2012
Build and display an animated text-based progress bar in python
View README.md

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)