Skip to content

Instantly share code, notes, and snippets.


Ben Ratzlaff ratzlaff

View GitHub Profile
ratzlaff / gist:1a8b1190f3e9e2a91ce4928601941338
Created Nov 21, 2018
Make suckless st compile on OSX..
View gist:1a8b1190f3e9e2a91ce4928601941338
diff --git a/ b/
index 298484e..6d90f86 100644
--- a/
+++ b/
@@ -14,7 +14,7 @@ X11LIB = /usr/X11R6/lib
INCS = -I. -I/usr/include -I${X11INC} \
`pkg-config --cflags fontconfig` \
`pkg-config --cflags freetype2`
-LIBS = -L/usr/lib -lc -L${X11LIB} -lm -lrt -lX11 -lutil -lXext -lXft \
+LIBS = -L/usr/lib -lc -L${X11LIB} -lm -lX11 -lutil -lXext -lXft \
ratzlaff /
Created Jun 27, 2016 — forked from masak/
How is git commit sha1 formed

Ok, I geeked out, and this is probably more information than you need. But it completely answers the question. Sorry.

Locally, I'm at this commit:

$ git show
commit d6cd1e2bd19e03a81132a23b2025920577f84e37
Author: jnthn <>
Date:   Sun Apr 15 16:35:03 2012 +0200

    When I added FIRST/NEXT/LAST, it was idiomatic but not quite so fast. This makes it faster. Another little bit of masak++'s program.