Skip to content

Instantly share code, notes, and snippets.

@ShipkaChalk
ShipkaChalk / gist:629fdc42dad781776d2007fc502188f3
Last active January 6, 2026 18:20
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
@nitschis
nitschis / tunneling.md
Last active June 4, 2024 09:21 — forked from tombowditch/tunneling.md
Tunneling a whole docker container through wireguard

Tunneling a whole docker container through wireguard

Certain company blocking a certain hosting provider? No problem, just tunnel the docker container 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:

@antiops
antiops / rclone-proxy.md
Created March 11, 2023 04:00
Set up SOCKS proxy for rclone

SOCKS5 Proxy for rclone CLI/Mount using Docker

Docker Image: https://github.com/serjs/socks5-server

  • YourUsername: Unique username for SOCKS proxy
  • YourPassword: Unique password for SOCKS proxy
  • RemoteSocksHost: IP or hostname of remote server running the proxy

SOCKS Server

@tykurtz
tykurtz / grokking_to_leetcode.md
Last active January 23, 2026 01:57
Grokking the coding interview equivalent leetcode problems

GROKKING NOTES

I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.

So below I made a list of leetcode problems that are as close to grokking problems as possible.

Pattern: Sliding Window

@MarMed
MarMed / README.md
Last active November 23, 2025 11:04
Routing plex traffic through an SSH tunnel

Routing plex traffic through an SSH tunnel

This guide creates a reverse SSH tunnel to route all Plex server traffic through it.

Step 2 is done on the tunnel, all other steps are done on the plex server.

1. Setup SSH keys (if you already have key based authenthication setup skip to step 2)

On plex server:

@yrevar
yrevar / imagenet1000_clsidx_to_labels.txt
Last active January 13, 2026 10:46
text: imagenet 1000 class idx to human readable labels (Fox, E., & Guestrin, C. (n.d.). Coursera Machine Learning Specialization.)
{0: 'tench, Tinca tinca',
1: 'goldfish, Carassius auratus',
2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias',
3: 'tiger shark, Galeocerdo cuvieri',
4: 'hammerhead, hammerhead shark',
5: 'electric ray, crampfish, numbfish, torpedo',
6: 'stingray',
7: 'cock',
8: 'hen',
9: 'ostrich, Struthio camelus',