Skip to content

Instantly share code, notes, and snippets.

Tobias Kunze rixx

Block or report user

Report or block rixx

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@vdboor
vdboor / patch_migrations.py
Created Aug 19, 2016
Avoid the `verbose_name` and `help_text` in Django migrations for fields.
View patch_migrations.py
"""
Patch the creation of database migrations in Django
Import this early from `__init__.py``.
- Don't want verbose_name changes in the migrations file.
- Don't want help_text in the migrations file.
"""
from functools import wraps
from django.db.models import Field
@graymouser
graymouser / hb_all_books_dl.js
Created Feb 28, 2016
Humble bundle book bundles - download all books at once
View hb_all_books_dl.js
/*
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');
}
});
View soup_nfsw_userscript.js
// ==UserScript==
// @name soup.io always nsfw
// @namespace http://isobeef.org
// @version 0.1
// @description always shows all the unsafe pictures on soup
// @author rashfael
// @match http://*.soup.io/*
// @exclude http://*.soup.io/remote/*
// @exclude http://*.soup.io/frames
// @grant none
You can’t perform that action at this time.