Skip to content

Instantly share code, notes, and snippets.

# Undocumented, unsupported means to compress GitHub Enterprise logs:
yes | ghe-unlock
sudo -u git gzip /var/log/github/unicorn.log.1
ghe-lock
@anl
anl / streisand_prereqs.sh
Last active July 1, 2016 18:23
Installing streisand prereqs in a virtualenv on OS X
brew install gmp
brew install libffi
virtualenv ~/virtualenvs/streisand
. ~/virtualenvs/streisand/bin/activate
pip install -U pip
pip install -U setuptools
env "CFLAGS=-I/usr/local/include -L/usr/local/lib" pip install pycrypto
pip install ansible