Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am spiralman on github.
  • I am spiralman (https://keybase.io/spiralman) on keybase.
  • I have a public key ASCFpZLj1i-MnPWUyRJS_pUu6XAjtukKh0H-zbexLPldJQo

To claim this, I am signing this object:

/* * Iris Smart Fob
*
* Copyright 2015 Mitch Pond
* Presence code adapted from SmartThings Arrival Sensor HA device type
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
@spiralman
spiralman / 01_the_mess_were_in.md
Last active August 29, 2015 14:06
Notes from StrangeLoop 2014.
We couldn’t find that file to show.
@spiralman
spiralman / bdd.py
Created April 7, 2013 18:35
Mocha inspired, BDD style testing for Python, using decorators.
import unittest
import collections
tests = collections.defaultdict(list)
class BddLoader(object):
def loadTestsFromModule(self, module):
return unittest.TestSuite(tests[module.__name__])