Skip to content

Instantly share code, notes, and snippets.

@graymouser
graymouser / hb_all_books_dl.js
Created February 28, 2016 14:09
Humble bundle book bundles - download all books at once
/*
After purchasing a humble book bundle, go to your download page for that bundle.
Open a console window for the page and paste in the below javascript
*/
$('a').each(function(i){
if ($.trim($(this).text()) == 'MOBI') {
$('body').append('<iframe id="dl_iframe_'+i+'" style="display:none;">');
document.getElementById('dl_iframe_'+i).src = $(this).data('web');
}
});
@maikelwever
maikelwever / requirements.txt
Created December 16, 2011 00:31
pip requirements file useful for django debugging
-e git://github.com/django-debug-toolbar/django-debug-toolbar.git#egg=Package
-e git://github.com/jbalogh/django-debug-cache-panel.git#egg=Package
@maikelwever
maikelwever / shoutspam3000xl.js
Created December 6, 2011 02:08
shoutspam3000xl
/*
* I shall call this script: shoutspam3000xl
* I = Maikel Wever (maikelwever@gmail.com)
*
* It only works in Chrome devtools, because Firebug does not like me.... :(
*/
// You can set the speed here:
var MAXIMUM_POWER = 10;