Skip to content

Instantly share code, notes, and snippets.

@Goon3r
Goon3r / ps5-update-hosts.txt
Created January 4, 2024 20:39
PS5 Update Hosts
# System Updates
duk01.ps5.update.playstation.net
fuk01.ps5.update.playstation.net
dus01.ps5.update.playstation.net
fus01.ps5.update.playstation.net
feu01.ps5.update.playstation.net
dau01.ps5.update.playstation.net
fau01.ps5.update.playstation.net
djp01.ps5.update.playstation.net
fjp01.ps5.update.playstation.net
@Goon3r
Goon3r / gazelle_downthemall_fast_filter.txt
Created January 4, 2022 17:19
Gazelle - DownThemAll: Fast filter to get all torrent download links excluding freeleech token links
/^(?!.*&usetoken=1).*(torrents.php\?action=download).*$/
@Goon3r
Goon3r / rtorrent-watch-directorys.sh
Last active May 18, 2024 21:47
Example of adding a watch directory to rtorrent via .rtorrent.rc
# The following line can be added to .rtorrent.rc to set up watch directories
#
# Replace:
# [WATCH_DIR] with the directory to watch for torrent files
# [DOWNLOAD_DIR] with the directory to save the files into
# [LABEL] with a label to apply to torrents added via this watch dir
# Important: Thus far i have not worked out how to use spaces in label names
# Do not include spaces for .torrent files will not be imported into rtorrent if you do
#
# Remove:
$ screen -ls
# Grab screen id for rtorrent process
$ screen -r [rtorrent id]
# From within rtorrent screen
ctrl x # start command input
import=~/.rtorrent.rc # import config
ctrl a+d # detach
@Goon3r
Goon3r / inotify-without-root.sh
Last active April 2, 2023 15:50
Installs inotifytools without the need to go through package managers thus removing the need for root access. Useful for shared seeboxes.
# Download inotifytools
# - Version, url's, directory names could change, use your brain.
$ wget https://github.com/inotify-tools/inotify-tools/releases/download/3.20.2.2/inotify-tools-3.20.2.2.tar.gz
$ tar -xvf inotify-tools-3.20.2.2.tar.gz
$ cd inotify-tools-3.20.2.2
# Install inotifytools
# - Configure it to use directories under non root user home dir
# - Imporant, absolute paths required for configure commands
$ ./configure --prefix=/home/user/.local --libdir=/home/user/.local/lib
@Goon3r
Goon3r / deluge-console-inotify
Last active March 27, 2020 10:55
Uses inotify to push torrents from watch directory directly into deluge via deluge-console
#!/usr/bin/env bash
DELUGE_HOST=127.0.0.1
DELUGE_PORT=12345
DOWNLOAD_DIR=~/downloads
WATCH_DIR=~/watch
LOG_FILE=~/var/logs/deluge-console-inotify.log
if [ ! -d $(dirname "${LOG_FILE}") ]; then
mkdir -p $(dirname "${LOG_FILE}")