Skip to content

Instantly share code, notes, and snippets.

View mozey's full-sized avatar
🇿🇦

Christiaan B van Zyl mozey

🇿🇦
View GitHub Profile
package main
import (
"fmt"
"github.com/labstack/echo/middleware"
"net/http"
"github.com/labstack/echo"
)

Keybase proof

I hereby claim:

  • I am mozey on github.
  • I am mozey (https://keybase.io/mozey) on keybase.
  • I have a public key whose fingerprint is 8B13 92AF 8831 EF82 709D AB48 3716 E9C2 3CAB DA0E

To claim this, I am signing this object:

@mozey
mozey / trie.py
Last active June 2, 2017 12:41 — forked from nickstanisha/trie.py
An object-oriented implementation of a "Trie" in Python
# An object-oriented implementation of a "Trie" in Python
# https://gist.github.com/mozey/2604f7ac08226f774bbc2fab57f0c67e
class Node:
def __init__(self, label=None, data=None):
self.label = label
self.data = data
self.children = dict()
@mozey
mozey / middleware.py
Last active April 19, 2016 09:29
SpectoLabs/hoverfly Lookup response by key only
#!/usr/bin/env python3
import sys
import logging
import json
import os
import hashlib
import collections
import copy