Skip to content

Instantly share code, notes, and snippets.

View swrichards's full-sized avatar

Sidney Richards swrichards

View GitHub Profile
@swrichards
swrichards / message.txt
Created May 27, 2018 07:08
Signed Message Demonstration
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
You can be sure this message, with this *exact* content, originated from Sidney Richards, because he controls the private key used for signing. Only the private key can produce signatures that can successfully be verified by the corresponding public key.
-----BEGIN PGP SIGNATURE-----
Version: Keybase OpenPGP v2.0.77
Comment: https://keybase.io/crypto
wsBcBAABCgAGBQJbClldAAoJEMewQLGUdQHnS8IH/jJfuJJzR9FScLwKjUV8o14u
cqfi6QzhEjGuB8BYODVWKeJS/5swBhx/rT3tSB7nCQB2XJYFoXhOkn+r5oPiqp8l
@swrichards
swrichards / keybase.md
Created May 12, 2017 14:39
keybase.md

Keybase proof

I hereby claim:

  • I am swrichards on github.
  • I am swrichards (https://keybase.io/swrichards) on keybase.
  • I have a public key whose fingerprint is 319C 7156 6000 53F8 4724 3927 896E E5F2 C4CD 3D5A

To claim this, I am signing this object:

@swrichards
swrichards / secret_for_sidney.txt
Last active January 4, 2016 14:46
Clifford Chance - Signed Message Demonstration. Head over to https://keybase.io/verify to see it in action
-----BEGIN PGP MESSAGE-----
Version: Keybase OpenPGP v2.0.49
Comment: https://keybase.io/crypto
wcFMAxw/m9GWnEoyAQ//SfSQGb2JcCyfT49PRtQ2IRCsYRk6XP9Asz0Vtsgz6m/S
VCdrCuklNQakrCy+vrCyjhBNrHglnDh8a/nGG5N+Ih48iS0ytJoydMf46kLtWppn
6NgR73XWkHcUjsK6f0pMo4DfXDoDmSRqg+Zu3bhGhQlBxaxVN8ZH4aLIEzzX8FvA
k/iitxs4XeuaAx4aKb2vXuFmjmBuzPwrtRdXR7uLC0W1BBf/iV9yevpgowJSWbqG
NVUWpuOEiD2/lpIIDLCMliFsf2UOyAtj9jT2nCY2z3HbFgOBfXpqMVWlzrrHkwT3
x7wWkecNE3t8nzItYpsfvrHoz7ZpTk+lHS1uyRsbP2eRKlzIdn11yeFPb3W9v+Zi
#!/usr/bin/env/python
#
# More of a reference of using jinaj2 without actual template files.
# This is great for a simple output transformation to standard out.
#
# Of course you will need to "sudo pip install jinja2" first!
#
# I like to refer to the following to remember how to use jinja2 :)
# http://jinja.pocoo.org/docs/templates/
#
"""\
See `StreamLogger`.
"""
import sys
import logging
import cStringIO
class StreamLogger(object):
@swrichards
swrichards / keybase.md
Last active August 29, 2015 14:13
keybase.md

Keybase proof

I hereby claim:

  • I am swrichards on github.
  • I am swrichards (https://keybase.io/swrichards) on keybase.
  • I have a public key whose fingerprint is 005B 42FE 49A1 C68E 72BF 4012 D449 5C00 9928 991A

To claim this, I am signing this object:

from flask import Flask, request, make_response
from thrift.protocol import TBinaryProtocol
from thrift.server import TServer
from thrift.transport import TTransport
from FooService import FooService
from foo_service_handler import FooServiceHandler