Skip to content

Instantly share code, notes, and snippets.

View mattspitz's full-sized avatar

Matt Spitz mattspitz

View GitHub Profile

Hello! I saw you on the list of attendees for the ELC Summit and decided to reach out.

I’m hiring Vanta’s first Engineering Manager to work closely with me to develop the foundation for our engineering team, deciding how we’ll operate to deliver incredible results, and grow our talented team, and develop a healthy, inclusive engineering culture. Vanta offers its 500+ customers a security monitoring platform that identifies potential threats in real time to keep consumer data safe. We’re profitable and growing quickly, and it’s an exciting opportunity to shape the direction of a company on a strong trajectory.

If you’re open to exploring new opportunities, I think you could have a big impact in this role based on what I read in your ELC and LinkedIn profiles, and I’d love to tell you more about it. Please let me know!

Either way, I hope you have a great day and enjoy the rest of the (virtual) conference!

Best, Matt (matt@vanta.com)

@mattspitz
mattspitz / gist:3988022
Created October 31, 2012 16:21
Thin-API offline example
import functools
import os
import pickle
import urllib
import urllib2
CACHE_DIR = "/tmp/cached_results"
def cache_on_disk(filename_fn):
""" Takes a function that accepts (self, args, kwargs) and converts it into a reasonable filename representing that function call. """
@mattspitz
mattspitz / gist:2782794
Created May 24, 2012 16:59
Empty iterator check
"""
This is useful to avoid throwing empty iterators into a gevent Pool's imap() function, which hangs on empty input.
has_next, maybe_it = iterator_has_next(my_iterator)
if has_next:
use_the_iterator(maybe_it)
else:
handle_empty_iterator()
"""