Skip to content

Instantly share code, notes, and snippets.

View rdub's full-sized avatar

Ryan Du Bois rdub

View GitHub Profile
@rdub
rdub / keybase.md
Last active August 29, 2015 13:59
keybase.md

Keybase proof

I hereby claim:

  • I am rdub on github.
  • I am rdubulous (https://keybase.io/rdubulous) on keybase.
  • I have a public key whose fingerprint is 0E57 6E79 8CBB 873C BF66 BA45 A0F5 4317 BCEC 48F1

To claim this, I am signing this object:

@rdub
rdub / pmerge.py
Created June 7, 2011 22:06
Merge a directory of photos into another, protecting against overwriting non-identical files that have the same name.
#!/usr/bin/env python
import os, os.path, sys, filecmp, subprocess, hashlib
from pprint import pprint
from stat import *
dryrun = False
def usage(progname):
name = os.path.basename(progname)