Skip to content

Instantly share code, notes, and snippets.

@nopeless
nopeless / shortcuts.xml
Last active February 24, 2026 12:05
generated via an LLM (USE AT YOUR OWN RISK)
<?xml version="1.0" encoding="UTF-8" ?>
<NotepadPlus>
<!--
This shortcuts.xml file is configured to reflect many common Visual Studio Code keybindings.
- Some default Notepad++ shortcuts have been changed.
- Not all VS Code shortcuts can be mapped due to feature differences (e.g., integrated terminal, debugger).
- Multi-key shortcuts from VS Code (e.g., Ctrl+K Ctrl+C) cannot be mapped directly. A single-key alternative has been used where available.
-->
<InternalCommands>
<!-- General File Operations -->
#!/usr/bin/env bash
# chmod +x this script (terminal command e.g. `chmod +x xseed_qbit_cat_filter.sh`)
# put the following execution command in your qbit with its absolute path from qbit's
# perspective (container path if docker).
#
# /path/to/xseed_qbit_cat_filter.sh "%F" "%L" "%N" "%T" "%I"
TORRENT_PATH=$1
TORRENT_CAT=$2
#!/usr/bin/python3
# This script was written by zakkarry ( https://github.com/zakkarry )
# Simply follow the basic configuration options below to remove all 'cross-seed'
# tags from all torrents from qBittorrent client matching the options below.
#
# If you do not know how to use environmental variables, or do not need to, simply
# configure the second part of the OBIT_* variables, where the actual URL and strings are.
#
# If you need to, you can use this script to remove any tag as well, simply modify CROSS_SEED_TAG
# from 'cross-seed' to whichever tag you wish to remove.
import logging
import os
import shutil
import sys
from pathlib import Path
from typing import Any, NewType, Union, Dict, List, Set
import bencodepy # type: ignore
### ---------- SETUP ---------- ###
@VoidAny
VoidAny / qbittorrent2transmission.py
Last active February 9, 2026 06:58
This script uses the transmission-rpc interface to add all of the torrents from a qBittorrent BT_backup to your transmission-daemon (no rehashing required too!). transfer torrents from qBittorrent to transmission
#!/usr/bin/env python3
"""
This script will add all the torrents in the BT_backup folder to transmission
It will also add the labels and download directory from the corresponding quickresume file
Once a torrent is added, it will be renamed to .added so it won't be added again (if the script is run again)
Make sure to edit the Client() settings to match your transmission settings and the path to the BT_backup folder
Run:
@tdrnlds
tdrnlds / mover.php
Created March 25, 2023 17:16
Move directories in which all the MKV and MP4 video files have only one hard link, designed for Unraid
#!/usr/bin/php
<?php
$source = '/mnt/cache/share';
$destination = '/mnt/disk1/share';
$threshold = 80;
if( ! @file_exists( $source ) ) {
echo "Bad source directory\n";
exit( 1 );
// ==UserScript==
// @name PTP - Add & Filter All Releases
// @namespace http://tampermonkey.net/
// @version 3.1
// @description add releases from other trackers
// @author passthepopcorn_cc
// @match https://passthepopcorn.me/torrents.php?id=*
// @grant GM_xmlhttpRequest
// ==/UserScript==
@haridhayal11
haridhayal11 / exynos2100_gsi.md
Last active February 7, 2026 21:33
Guide for Installing GSI on Exynos2100 devices

Instructions for installing AOSP GSI on exynos2100 devices

Your warranty is now void. I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in this ROM before flashing it! YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.