Skip to content

Instantly share code, notes, and snippets.


Noah Sussman textarcana

View GitHub Profile
#!/usr/bin/env python
Create SPC charts from data sets. Inspired by Simon Guilfoyle's
"Intelligent Policing"
The algorithm described by Guilfoyle in the book is:
Given a list of data points sorted in chronological order, iterate
over the list starting at index 1 (that is, skip the last entry in
the list), subtracting each value from the previous value. The
View noahsussman.html
<iframe src="" width="427" height="356" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px 1px 0; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe> <div style="margin-bottom:5px"> <strong> <a href="" title="Software Entomology or Where Do Bugs Come From?" target="_blank">Software Entomology or Where Do Bugs Come From?</a> </strong> from <strong><a href="" target="_blank">Noah Sussman</a></strong> </div>
textarcana /
Created Jul 23, 2014
A simple test runner in bash and Perl.
perl -lwne 'BEGIN{$status=0;
print "tests running..."};
print qq{$_:};
$result = qx{curl -s -IL $_ | grep "200 OK"};
if ($result eq ""){print "FAIL\n"; $status=1} else {print $result};
END{if($status != 0){print "Some tests failed."} else {print "All done!"};
exit $status}' test.config
textarcana /
Last active Aug 29, 2015
Show a green smiley or red frowny face to inidicate whether the last command exited with a good or bad exit status.
EMOTE="if [ \$? = 0 ]; then echo \"${SMILEY}\"; else echo \"${FROWNY}\"; fi"
export PS1="${RESET}\n\`${EMOTE}\` \
\u@\h \
textarcana / README
Created Oct 2, 2014
A Web log data set from The Web Server Workload Characterization project.
A Web log data set from The Web Server Workload Characterization project.
textarcana / gist:2a9f8bf46a509a814732
Created Jan 20, 2015
sparkler coverage reported by
View gist:2a9f8bf46a509a814732
Name Stmts Miss Cover
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/__init__ 3 0 100%
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/parser 611 527 14%
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/relativedelta 221 192 13%
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/rrule 815 720 12%
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/tz 575 476 17%
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/tzwin 106 103
textarcana / index.html
Last active Aug 29, 2015 — forked from biovisualize/index.html
d3 Game of Life / cellular automaton
View index.html
<!DOCTYPE html>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script type='text/javascript' src=""></script>
<style type='text/css'>
stroke: none;
View Freenode Account Setup
== Example
/nick homer
/msg nickserv register changeme
/nick homer_
/msg nickserv group
/nick awesome_homer
/msg nickserv group
textarcana / .emacs
Created Feb 14, 2009
.emacs file for Aquamacs Emacs and GNU Emacs on OS X.
View .emacs
;;Noah Sussman's .emacs file for Aquamacs Emacs and GNU Emacs on OS X.
;;Branched February 16 2008 from my config for GNU Emacs for Windows, created Oct 18 2001.
;;Time-stamp: </Users/noah/Documents/n_s/config/emacs/aquamacs/.emacs last changed by Noah Sussman on noah.local/Textarcana Saturday 14 February 2009 at EST 16:51:25>
(load-file "~/.emacs-cfg/secrets.el")
;;;; Spaces are always used for indendation
;;;;;; Haml and Sass modes require this setting
(setq indent-tabs-mode nil)
View ERC Robot configuration (IRC chat bot for Emacs).el
;;;; ERC Robot
; See
; On first installing Aquamacs, do the following 4 steps to install erc-robot,
; then just paste this entire gist at the bottom of your .emacs
; cd ~/Library/Application\ Support/Aquamacs\ Emacs/
; mkdir site-lisp
; cd site-lisp
; wget