Skip to content

Instantly share code, notes, and snippets.

@ThomasDalla
ThomasDalla / radarr-trailers.py
Created January 12, 2020 17:27
Auto download trailers after Radarr download
#!/volume1/@appstore/python3/bin/python3
import logging
import os
import sys
from os.path import join
import subprocess
import locale
import requests # not standard
@matter-it-does
matter-it-does / YoutubeHoverToPlay.md
Created November 4, 2021 11:22
Turn off youtube keep hovering to play popup popover
@anne17
anne17 / get_games.py
Last active October 25, 2024 20:26
Get free Epic games, look them up on Steam and email a summary.
from datetime import datetime
import urllib
from dateutil.tz import tzlocal
import requests
EPIC_SEARCH_URL = "https://store-site-backend-static-ipv4.ak.epicgames.com/freeGamesPromotions?locale=en-US&country=SE&allowCountries=SE"
STEAM_SEARCH_URL = "https://store.steampowered.com/search/suggest?term=%s&f=games&cc=SE&realm=1&l=english&use_search_spellcheck=1"
STEAM_CHECK_GAME = 'https://api.steampowered.com/IStoreBrowseService/GetItems/v1?input_json={"ids":[{"appid":%s}],"context":{"language":"english","country_code":"SE","steam_realm":1},"data_request":{"include_reviews":true,"include_basic_info":true}}'
@tombowditch
tombowditch / tunneling.md
Last active September 3, 2024 06:32 — forked from itslukej/tunneling.md
Tunneling a whole process through wireguard

Tunneling a whole process through wireguard

Certain company blocking a certain hosting provider? No problem, just tunnel the process through a small VPS with wireguard.

Consider server A your blocked server and server B your VPS.

Step 1: Generate a keypair on server A and server B

Server A:

@ShipkaChalk
ShipkaChalk / gist:629fdc42dad781776d2007fc502188f3
Last active May 11, 2025 20:17
Plex Hetzner workaround using Docker.

Hey, here is how you can route all plex traffic via wireguard out of another VPS, this can be used for any container but was inspired by the recent Hetzner block Plex put in place.

And no not all of us are using it for nefarious means, sometimes people don't have room for a home server.

Why docker? I prefer it as it keeps items separated and cleaned. It also allows for quickly moving configurations around from server to server if need be.

  1. Get yourself a VPS. ( If your VPS has a built in firewall like IONOS (but don't use Ionos), then you need to allow through the ports specified in the VPS docker compose)
  2. Install docker ( Do not use snap, follow their offical directions otherwise you may have docker related issues. )
  3. Create this docker-compose.yml