I hereby claim:
- I am dpatti on github.
- I am dpatti (https://keybase.io/dpatti) on keybase.
- I have a public key ASDjxK0Rl8MLx9NbahvNdXZQw-4jB6pgHb8wxUtL22z4HAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/* 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 |
# Requires Mutagen: http://code.google.com/p/mutagen/wiki/Tutorial | |
# sudo easy_install mutagen | |
from mutagen.easyid3 import EasyID3 | |
from mutagen import File | |
import os, sys | |
if len(sys.argv) < 2: | |
print "Usage: python music-dump.py <path to music>" | |
exit() |
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(resp.cards,function(i){return i.idList;});console.log(_.map(_.values(cardGroups),function(i){return _.pluck(i,'name').join(",")}).join("\n"));},'json');} |
$> ./upenter.sh 10000 ./test | |
parent | |
child | |
-------------------------------------------------------------------------------- | |
child | |
parent | |
-------------------------------------------------------------------------------- | |
Took 995 attempt(s) to get a different output |