Skip to content

Instantly share code, notes, and snippets.

@gthole
gthole / keybase.md
Created September 23, 2014 19:34
keybase.md

Keybase proof

I hereby claim:

  • I am gthole on github.
  • I am gthole (https://keybase.io/gthole) on keybase.
  • I have a public key whose fingerprint is 2BEA BB7C C7A0 1C93 679F 91D3 967C A8B6 63B6 E492

To claim this, I am signing this object:

@gthole
gthole / app.py
Last active August 13, 2022 03:53
Simple Flask Proxy
from flask import Flask, request, abort
import hashlib
import json
import requests
import os
app = Flask(__name__)
app.config['CAPTURE'] = bool(os.environ.get('CAPTURE'))
app.config['CACHE_DIR'] = os.environ.get('CACHE_DIR', '/tmp/cache')
@gthole
gthole / progress_matchbox_assignments.py
Last active December 15, 2015 19:29
Progress Matchbox Assignments.
"""
Progress Matchbox Assignments - Automatically move completed
assignments from one role to another for the same assignee and
due date.
progress (intransitive verb):
1: to move forward, proceed
2: to develop to a higher, better, or more advanced stage
author - gthole@matchbox.net, 4/3/2013