Skip to content

Instantly share code, notes, and snippets.


Doug Patti dpatti

View GitHub Profile

Keybase proof

I hereby claim:

  • I am dpatti on github.
  • I am dpatti ( on keybase.
  • I have a public key ASDjxK0Rl8MLx9NbahvNdXZQw-4jB6pgHb8wxUtL22z4HAo

To claim this, I am signing this object:

dpatti /
Last active May 23, 2020
Binding of Isaac Mechanics Guide

Binding of Isaac Mechanics Guide



Each character starts with the following health

  • Isaac: 3
  • Maggy: 4
  • Cain: 2
  • Judas: 1
dpatti /
Created Jul 2, 2012
Twitter search updates filter
/* When dotjs eval()'s this script, it's in the context of the extension, which
* in Chrome's case means that there is no way to access the window object, and
* thus no way to access the XMLHttpRequest object of the Twitter tab. However,
* you can access the DOM just fine, so by taking all of my code and using
* JavaScript's oh-so-useful (apparently!) Function.prototype.toString(), I can
* append this entire file as a script tag and execute it. What a hack.
var pageScript = (function(){
function loadFilters() {
// Filters are executed in the order they are defined. If a filter matches a
dpatti /
Created Jun 27, 2012
Music info dump
# Requires Mutagen:
# sudo easy_install mutagen
from mutagen.easyid3 import EasyID3
from mutagen import File
import os, sys
if len(sys.argv) < 2:
print "Usage: python <path to music>"
dpatti / Minified
Created Jun 25, 2012
Trello Card CSV Bookmarklet
View Minified
javascript:var url=document.location.href;var match=url.match(/\/board\/.+?\/([0-9a-f]+)/);if(match){$.get("/1/boards/"+match[1],{cards:'all'},function(resp){var cardGroups=_.groupBy(,function(i){return i.idList;});console.log(,function(i){return _.pluck(i,'name').join(",")}).join("\n"));},'json');}
dpatti / Sample Output
Created Feb 24, 2012
UpEnter Shell Script
View Sample Output
$> ./ 10000 ./test
Took 995 attempt(s) to get a different output
You can’t perform that action at this time.