Skip to content

Instantly share code, notes, and snippets.

View davedash's full-sized avatar
🏠
Working from home

Dave Dash davedash

🏠
Working from home
View GitHub Profile
policy = """{
"Statement":[{
"Effect":"Allow",
"Action":["s3:*"],
"Resource":["arn:aws:s3:::mybucket"]}]}"""
import boto
c = boto.connect_iam()
instance_profile = c.create_instance_profile('myinstanceprofile')
role = c.create_role('myrole')
c.add_role_to_instance_profile('myinstanceprofile', 'myrole')
@davedash
davedash / -
Created July 30, 2013 22:54 — forked from anonymous/-
Analyzing performance of various loggers.
import logging
import logging.handlers
log_file = logging.getLogger('f')
log_watch = logging.getLogger('w')
log_rotate_bytes = logging.getLogger('r')
log_time = logging.getLogger('t')
fh = logging.FileHandler('f.log')
wh = logging.handlers.WatchedFileHandler('w.log')
@davedash
davedash / mac-homebrew-pyexiv2.sh
Created September 5, 2012 00:14 — forked from jpwatts/mac-homebrew-pyexiv2.sh
In which I finally get pyexiv2 working on my Mac using Homebrew and a series of disgusting hacks
#!/bin/sh
brew install python boost exiv2
curl -O http://launchpadlibrarian.net/61465005/pyexiv2-0.3.0.tar.bz2
tar xjvf pyexiv2-0.3.0.tar.bz2
cd pyexiv2-0.3.0
# https://answers.launchpad.net/pyexiv2/+question/140742
echo "env['FRAMEWORKS'] += ['Python']" >> src/SConscript

Hi!

I'm not currently looking for a job as I'm pretty happy at my current job.

However Mozilla is looking for a recruiting manager in Mountain View. Mozilla also has deep ties in the open source communities and it sounds like it might be an interesting fit for you. <OPTIONAL-ADDITIONAL-TEXT>

If you're interested in applying, check out our careers link: