Skip to content

Instantly share code, notes, and snippets.

View noahsussman's full-sized avatar

Noah Sussman noahsussman

View GitHub Profile
#!/usr/bin/env python3
"""
Create SPC charts from data sets. Inspired by Simon Guilfoyle's
"Intelligent Policing" http://amzn.to/1dNNCfb
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
@noahsussman
noahsussman / init.el
Last active July 26, 2018 19:25
.emacs.d/init.el - Noah Sussman's configuration for Emacs 26 on OS X
;;; package --- Summary"
;;; Commentary:
;;; Noah Sussman's .emacs file
;;; Code:
(setenv "PATH" (concat (getenv "PATH") ":/usr/local/bin:/usr/local/opt/curl/bin:/usr/local/opt/findutils/bin:/usr/local/opt/coreutils/libexec/gnubin:/Users/nsussman/Documents/toolchain/bin:/opt/local/bin"))
(require 'package)
brew cask reinstall vagrant
# this might take a long time
vagrant plugin update
@noahsussman
noahsussman / Vagrantfile
Created September 28, 2017 17:34 — forked from gabrielelana/Vagrantfile
How to create a VirtualBox machine with encrypted storage with Vagrant
# -*- mode: ruby -*-
# vi: set ft=ruby :
PASSWORD_PATH = ".password"
PASSWORD_ID_PATH = ".password_id"
# Make sure to have installed vagrant-triggers plugin
# > vagrant plugin install vagrant-triggers
# After the first `vagrant up` stop the VM and execute the following steps