Skip to content

Instantly share code, notes, and snippets.

@ljwolf
ljwolf / precision_sampling.ipynb
Created November 22, 2016 20:55
This details what should be a method to sample from a multivariate normal in a spatial error model using only the precision matrix, instead of the covariance matrix.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kwmsmith
kwmsmith / gist:1229277
Created September 20, 2011 14:41 — forked from srossross/gist:1188971
Template to build a stable jenkins build
#Clean everything like a brand new checkout
#Don't remove "jenkins-upstream" directory
if test -t 1 ; then
echo "stdout is a tty. Are you sure you want to continue? This operation will clean any uncommitted files."
read -p "CTRL-C to exit. Enter to continue:"
fi
git clean -dxf -e "jenkins-upstream"
#Unlink any current development d