Skip to content

Instantly share code, notes, and snippets.

View pannal's full-sized avatar

pannal

  • Germany
View GitHub Profile
@pannal
pannal / slack-always-online.user.js
Last active March 7, 2024 23:12 — forked from THOUSAND-SKY/slack-always-online.user.js
Slack: Always Active user script
// ==UserScript==
// @name Slack: Always Stay Active
// @namespace https://ericdraken.com/slack-always-stay-active
// @version 1.0.4
// @description Always stay active on Slack.
// @author Eric Draken (ericdraken.com), THOUSAND-SKY, pannal
// @match https://app.slack.com/client/*
// @icon https://www.google.com/s2/favicons?domain=slack.com
// @grant unsafeWindow
// @run-at document-start
@pannal
pannal / REAPERControl.ahk
Last active November 15, 2023 16:00
REAPER Control v0.12b AutoHotkey Script
; ----------------------------------------------------------------------------------------------------------
; _____ _____ _____ _____ _____ _____ _____ _ _
; | __ || __|| _ || _ || __|| __ | | | ___ ___ | |_ ___ ___ | |
; | -|| __|| || __|| __|| -| | --|| . || || _|| _|| . || |
; |__|__||_____||__|__||__| |_____||__|__| |_____||___||_|_||_| |_| |___||_|
;
; ----------------------------------------------------------------------------------------------------------
; REAPER Control
; panni
; 2018
@pannal
pannal / cfscrape.py
Created April 4, 2019 14:08
This is an experimental update of Team Universal's UniversalScrapers' cfscrape.py, which tries to solve a CF challenge with local Python code with as few imports as possible.
import logging
import random
import time
import re
# based off of https://gist.github.com/doko-desuka/58d9212461f62583f8df9bc6387fade2
# and https://github.com/Anorov/cloudflare-scrape
# and https://github.com/VeNoMouS/cloudflare-scrape-js2py
'''''''''
@pannal
pannal / rspamd_learn.py
Last active March 22, 2019 21:11
Rspamd learn with automatic sender-whitelist
#!/usr/bin/python3
import sys
import subprocess
import json
import logging
import argparse
import email
import mailparser
@pannal
pannal / rar.py
Last active April 6, 2018 15:14
Workaround for RarFile.read() with certain unrar versions
# coding=utf-8
from rarfile import RarFile as _RarFile, UNRAR_TOOL, ORIG_OPEN_ARGS as OPEN_ARGS, custom_popen, check_returncode, \
XTempFile, add_password_arg
class RarFile(_RarFile):
def read(self, fname, psw=None):
"""