-
Find the Discord channel in which you would like to send commits and other updates
-
In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import subprocess | |
from discord_webhook import DiscordWebhook, DiscordEmbed | |
""" | |
QBittorrent Discord Webhook and Rclone command wrapper | |
Version: 1.0 | |
This script will send a notification to Discord via webhook, that your download are finished. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# credits: regex101.com, t.me/wfjpwf for the replace thing. (line no. 11) | |
# fsymbols.com/generators/carty this is where I got the ascii art. | |
# Inspiration: https://github.com/BlackPearl-Forum/Blackpearl-Link-Creator/blob/361ca418ca253be895c6db26d7f3ab5549b59954/links.py (such a neat code!) | |
import re, sys, os | |
def file_id(file): | |
regex = r"[\w-]{33}" | |
matches = re.finditer(regex, links, re.MULTILINE) | |
for matchNum, match in enumerate(matches, start=1): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Create a simple CORS proxy with Cloudflare Workers | |
* to bypass cors restrictions in the browser. | |
* Example Usage: https://<worker_subdomain>.workers.dev/https://postman-echo.com/get?foo1=bar1&foo2=bar2 | |
*/ | |
addEventListener('fetch', event => | |
event.respondWith(handleRequest(event.request)) | |
) |
Using Plex on Hetzner with Wireguard VPN (Docker). First, thanks to ShipkaChalk (https://gist.github.com/ShipkaChalk/629fdc42dad781776d2007fc502188f3) and his original tutorial that helped me a lot to get the client part. With this tutorial, you can route all Plex traffic via Wireguard out of another VPS (2$ IONOS Ubuntu VPS), this can be used for any container but here to bypass the Hetzner block by Plex.
-
Get yourself a Linux VPS (ex : Ubuntu 22.04)
-
Make all updates :
sudo apt update