Skip to content

Instantly share code, notes, and snippets.

View rafaelcapucho's full-sized avatar

Rafael Capucho rafaelcapucho

View GitHub Profile
@rafaelcapucho
rafaelcapucho / cache_handler.py
Created September 5, 2016 07:46
Speeding up your MongoDB queries with Tornado Mixin
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import unicode_literals
from hashlib import md5
import datetime
import tornado.web

Keybase proof

I hereby claim:

  • I am rafaelcapucho on github.
  • I am rafaelcapucho (https://keybase.io/rafaelcapucho) on keybase.
  • I have a public key whose fingerprint is 32DA 6286 42E5 2CAC F971 26FD 3B10 B5CA 61E1 8ACF

To claim this, I am signing this object: