Skip to content

Instantly share code, notes, and snippets.

@nopeless
nopeless / shortcuts.xml
Last active May 10, 2026 03:07
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==
@atais
atais / README.md
Last active June 18, 2026 21:46
Sony Android TV De-bloat

Sony Android TV De-bloat

I have used it for my Sony 65W855C Android TV. I can confirm the TV is still fully functional.

So far I have not switched the launcher.

To do

I am still looking for ADB command to limit background process.