Skip to content

Instantly share code, notes, and snippets.

# obscure provides a command that will obscure any text passed in via standard input
# obscure replaces all the text passed into standard input, save the first five characters,
# with random symbols by default. It was developed as a way to show sensitive information
# (auth tokens, etc.) to the audience during presentations. It lets you prove, e.g., that
# an environment variable is set without disclosing the full contents of the variable.
# Example usage: $ echo $MYVAR | obscure
seren /
Created Feb 11, 2017
Simple event dispatcher in python. Inspired by Symfony/EventDispatcher component.
from collections import OrderedDict
class Event(object):
def __init__(self):
self.__name = None
def setName(self, name):
self.__name = name
View gist:f19ba37ccf538340d9364c6b3959597d
# PowerUserAccess
"Version": "2012-10-17",
"Statement": [
"Effect": "Allow",
"NotAction": "iam:*",
View jq examples
"name": "",
"id": 561968,
"address": {
"city": "new york",
"state": "NY"
"name": "",
"id": 50000,

Keybase proof

I hereby claim:

  • I am seren on github.
  • I am seren ( on keybase.
  • I have a public key whose fingerprint is 4A32 0AB1 128D CCA3 0A18 6440 D466 E9E6 996D E102

To claim this, I am signing this object:

View gist:3e2d61fb923d2319ec2f
# may or may not be necessary
brew install libtiff libjpeg webp little-cms2
# may need sudo in front
pip install pyopengl
pip install Pillow
seren / gist:470f368760f17e0261f3
Last active Aug 29, 2015 fixes and environment changes
View gist:470f368760f17e0261f3
#For OS X:
# Install homebrew ( with this command:
ruby -e "$(curl -fsSL"
# Then install opencv:
brew update
brew upgrade
brew install liblo