Skip to content

Instantly share code, notes, and snippets.

@ShipkaChalk
ShipkaChalk / gist:629fdc42dad781776d2007fc502188f3
Last active July 7, 2024 21:03
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
  2. Install docker
  3. Create this docker-compose.yml
@tombowditch
tombowditch / tunneling.md
Last active June 9, 2024 18:33 — 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:

@anne17
anne17 / get_games.py
Last active June 26, 2024 08:52
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}}'
@matter-it-does
matter-it-does / YoutubeHoverToPlay.md
Created November 4, 2021 11:22
Turn off youtube keep hovering to play popup popover
@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
@heartnn
heartnn / another_way.md
Last active March 6, 2024 13:24
How to properly do a filesystem check (fsck or e2fck) on Synology DSM 6.0 e.g. DS414

syno_poweroff_task -d

umount /volume1 (replace this with your volume name)

fsck.ext4 -pvf /dev/md0 (replace this with your dev)

reboot the system after the scan is completed


via:

@nwesterhausen
nwesterhausen / apprise_notify.sh
Created October 9, 2019 15:57
Apprise Notifier Script for Radarr/Sonarr/Lidarr
#!/bin/bash
###
# This script utilizes apprise (https://github.com/caronc/apprise) to send notifications
# You need to have apprise available for the user sonarr operates under.
# I installed it via `sudo pip install --system apprise` although the python
# community really dislikes it when you do that. Recommended installation would be
# something along the lines of:
#
# sudo su sonarr -s /bin/bash
# pip install --user apprise
#!/bin/bash
#
# vtar - "visual tar with a progress bar"
# by Peter Ljunglöf, 2019
# inspired by: http://www.campisano.org/wiki/en/Script_bkp.sh
show_usage() {
echo
echo "Visual tar with a progress bar. Usage:"
echo
@thefranke
thefranke / RSS.md
Last active July 18, 2024 22:29
A list of RSS endpoints, readers and resources

The RSS Endpoint List

Please refer to this blogpost to get an overview.

Replace *-INSTANCE with one of the public instances listed in the scrapers section. Replace CAPITALIZED words with their corresponding identifiers on the website.

Social Media

Twitter

@tkrotoff
tkrotoff / FrontendFrameworksPopularity.md
Last active July 14, 2024 18:01
Front-end frameworks popularity (React, Vue, Angular and Svelte)