Skip to content

Instantly share code, notes, and snippets.

@billstron
billstron / keybase.md
Created March 20, 2014 11:08
keybase.md

Keybase proof

I hereby claim:

  • I am billstron on github.
  • I am billstron (https://keybase.io/billstron) on keybase.
  • I have a public key whose fingerprint is F5F8 A439 7BAD D185 0631 B900 66EB 341A AE12 96BC

To claim this, I am signing this object:

@billstron
billstron / How to patch Ubuntu Raring (13.04) against OpenSSL Heartbleed
Last active August 29, 2015 13:58
How to patch Ubuntu Raring (13.04) against OpenSSL Heartbleed
Add this to /etc/apt/sources.list
<snip>
deb http://security.ubuntu.com/ubuntu saucy-security main
deb-src http://security.ubuntu.com/ubuntu saucy-security main
deb http://security.ubuntu.com/ubuntu saucy-security universe
deb-src http://security.ubuntu.com/ubuntu saucy-security universe
</snip>
# sudo apt-get update
# sudo apt-get install libssl1.0.0 openssl
@billstron
billstron / full_provider.py
Created September 17, 2015 00:22
Example of TRP with "fully formed objects" as provider
import sys, os
myPath = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, myPath + '/TranRunPy/')
import TranRunPy as trp
from TranRunPy.Provider import provide, deprive
import json
class MockHwh():
cnt = 0