Skip to content

Instantly share code, notes, and snippets.

View parnexcodes's full-sized avatar
🏠
Working from home

parnexcodes

🏠
Working from home
  • India
View GitHub Profile
@sovajri7
sovajri7 / Plex_Hetzner_Wireguard.md
Created November 4, 2023 18:26
Using Plex on Hetzner with Wireguard VPN (Docker).

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.

  1. Get yourself a Linux VPS (ex : Ubuntu 22.04)

  2. Make all updates :

sudo apt update

@Kahtaf
Kahtaf / index.js
Created September 15, 2020 14:37
Create a simple CORS proxy with Cloudflare Workers to bypass CORS restrictions in the browser. Perfect for local development.
/**
* 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))
)
@Tweetus-Bot
Tweetus-Bot / bulkcopy.py
Last active December 7, 2020 15:21
Noob script to copy files from many gdrive links from a text file
# 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):
@noaione
noaione / qbitWebhook.py
Created June 12, 2019 04:24
QBittorrent Discord Webhook Notifier and Rclone Command Wrapper
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.
@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active May 27, 2024 01:49
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. 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! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings