Skip to content

Instantly share code, notes, and snippets.

View chaosphere2112's full-sized avatar

Sam Fries chaosphere2112

View GitHub Profile
@chaosphere2112
chaosphere2112 / changelog.py
Created April 2, 2015 22:30
Basic changelog
import git
r = git.Repo("/Users/fries2/projects/uvcdat")
t = None
for tag in r.tags:
if tag.tag:
tag = tag.tag
if t is None or tag.object.committed_date > t.object.committed_date:
@chaosphere2112
chaosphere2112 / clt.nc
Last active August 29, 2015 14:06
UV-CDAT Crash Files
This file has been truncated, but you can view the full file.
@chaosphere2112
chaosphere2112 / gist:89ee62d4d73632d7dd75
Created September 16, 2014 19:40
CentOS CA Certificate Fix
$ yum install ca-certificates
$ update-ca-trust enable
$ cp foo.crt /etc/pki/ca-trust/source/anchors/
$ update-ca-trust extract
@chaosphere2112
chaosphere2112 / gist:8198926
Created December 31, 2013 16:08
Port Forwarding with VirtualBox
VBoxManage modifyvm "VM Name" --natpf1 "rulename,tcp,,host_port,,guest_port"
@chaosphere2112
chaosphere2112 / gist:7328733
Created November 6, 2013 00:20
Generate an application secret using /dev/urandom
dd if=/dev/urandom bs=1 count=256 | shasum -a 256