Skip to content

Instantly share code, notes, and snippets.

View dhuseby's full-sized avatar

Dave Huseby dhuseby

View GitHub Profile
@dhuseby
dhuseby / Resulting Signed Git Mergetag
Last active May 8, 2021 17:46
Resulting Signed Git Mergetag
tree c7b1cff039a93f3600a1d18b82d26688668c7dea
parent c33429be94b5f2d3ee9b0adad223f877f174b05d
parent 04b871796dc0420f8e7561a895b52484b701d51a
author A U Thor <[email protected]> 1465982009 +0000
committer C O Mitter <[email protected]> 1465982009 +0000
mergetag object 04b871796dc0420f8e7561a895b52484b701d51a
type commit
tag signedtag
tagger C O Mitter <[email protected]> 1465981006 +0000
signtype openpgp
@dhuseby
dhuseby / Resulting Signed Git Commit
Last active May 8, 2021 17:44
Resulting Signed Git Commit
tree eebfed94e75e7760540d1485c740902590a00332
parent 04b871796dc0420f8e7561a895b52484b701d51a
author A U Thor <[email protected]> 1465981137 +0000
committer C O Mitter <[email protected]> 1465981137 +0000
signtype openpgp
sign -----BEGIN PGP SIGNATURE-----%0a
Version: GnuPG v1%0a
%0a
iQEcBAABAgAGBQJXYRjRAAoJEGEJLoW3InGJ3IwIAIY4SA6GxY3BjL60YyvsJPh/%0a
HRCJwH+w7wt3Yc/9/bW2F+gF72kdHOOs2jfv+OZhq0q4OAN6fvVSczISY/82LpS7%0a
S: 0006OK
C: 001b# signed object options
C: 001f# end signed object options
C: 0014# config options
C: 002eOPTION identifier=Jane Hacker <[email protected]>
S: 0006OK
C: 0021OPTION minTrustLevel=marginal
S: 0006OK
C: 0017OPTION armored=true
S: 0006OK
S: 0006OK
C: 001b# signed object options
C: 001eOPTION minTrustLevel=fully
S: 0006OK
C: 001f# end signed object options
C: 0014# config options
C: 002eOPTION identifier=Jane Hacker <[email protected]>
S: 0006OK
C: 0021OPTION minTrustLevel=marginal
S: 0006OK
tag v0.0.1
tagger: Joe Coder <[email protected]>
signtype openpgp
sign -----BEGIN PGP SIGNATURE-----%0a
%0a
iHUEABYKAB0WIQTXto4BPKlfA2YYS5Pn3hDaTgk8fAUCX5C+ugAKCRDn3hDaTgk8%0a
fOk8AQCRGkdNGMXhJ95e5QIHk44rvfNsyibxY6ZvTXdLQJvt/gEAlFCeEM3SfaDL%0a
8RQR368L0+caDlaZW51VZVP2UBXP6w0=%0a
=1Fby%0a
-----END PGP SIGNATURE-----%0a
S: 0006OK
C: 002eOPTION identifier=Jane Hacker <[email protected]>
S: 001aERR Unknown identifier
C: 0007BYE
S: 0006OK
S: 0006OK
C: 0014# config options
C: 002eOPTION identifier=Jane Hacker <[email protected]>
S: 0006OK
C: 001fOPTION min_trust_level=marginal
S: 0006OK
C: 0017OPTION armored=true
S: 0006OK
C: 0018OPTION detached=true
S: 0006OK

Keybase proof

I hereby claim:

  • I am dhuseby on github.
  • I am dwh (https://keybase.io/dwh) on keybase.
  • I have a public key whose fingerprint is B0B4 98B5 5F7A E68E 994A B121 6071 E533 0CE8 1F9B

To claim this, I am signing this object:

@dhuseby
dhuseby / precise_exceptions.py
Last active August 29, 2015 13:57
Precise Python Exception Messages
#!/bin/env python
"""
Exceptions that give more precise error messages.
"""
import sys, inspect
def main():
try:
# your application code
@dhuseby
dhuseby / .userconfig
Created March 5, 2014 19:14
a minimal distcc .userconfig
# figure out where B2G root is
export B2G_DIR=${B2G_DIR:-$(cd $(dirname $0); pwd)}
# options
export CC=gcc-4.6
export CXX=g++-4.6
export USE_DISTCC=${USE_DISTCC:-}
export CCACHE_DIR=${CCACHE_DIR:-$HOME/.ccache}
# enable distcc if specified