Skip to content

Instantly share code, notes, and snippets.

View rixx's full-sized avatar

Tobias Kunze rixx

View GitHub Profile
@hugeblank
hugeblank / tiktok.sh
Last active December 31, 2023 23:09
Tiktok speech to text parser
#!/bin/zsh
# Tiktok speech to text parser
# by hugeblank, April 2022
# API endpoint & oneshot reading and playing discovered by @scanlime
# https://twitter.com/scanlime/status/1512288857596653568
# First argument - string of text to read
# Second argument - voice to use
# Usage examples:
@heroheman
heroheman / ranger-cheatsheet.md
Last active April 23, 2024 15:12
Ranger Cheatsheet

Ranger Cheatsheet

General

Shortcut Description
ranger Start Ranger
Q Quit Ranger
R Reload current directory
? Ranger Manpages / Shortcuts
@vdboor
vdboor / patch_migrations.py
Created August 19, 2016 09:03
Avoid the `verbose_name` and `help_text` in Django migrations for fields.
"""
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 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');
}
});
@rashfael
rashfael / soup_nfsw_userscript.js
Created February 14, 2015 22:22
soup.io show nfsw
// ==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
@manolomartinez
manolomartinez / .muttrc
Last active January 25, 2022 10:58
Use ranger to save attachments in mutt.
# use ranger to save attachment
macro attach S "<pipe-message>/path/to/muttsaveattach.sh"<enter>