Skip to content

Instantly share code, notes, and snippets.

"""
Map oplog to you custom interface. To, for example, have triggers in mongo.
see example in '__main__' below
https://gist.github.com/rescommunes/4e5035242b8e4b07ff3a
"""
import logging
from time import sleep
import pickle
@rescommunes
rescommunes / example.py
Created February 14, 2015 05:04
Example 1 (test example)
id = "90a9c597-46ed-4bb4-8b51-fba42eadb4b0"