Skip to content

Instantly share code, notes, and snippets.

@gavine99
gavine99 / proton-vpn-wireguard-downloader.py
Last active March 18, 2026 21:31
create proton wireguard vpn configurations
# Linux recipe:
# python3 -m venv proton-vpn-wireguard-downloader
# pushd proton-vpn-wireguard-downloader
# wget {{ zip url for this gist }} -O proton-vpn-wireguard-downloader.zip
# wget "https://github.com/ProtonVPN/python-proton-core/archive/refs/tags/v0.2.0.zip" -O python-proton-core-0.2.0.zip
# wget "https://github.com/ProtonVPN/python-proton-vpn-logger/archive/refs/tags/v0.2.1.zip" -O python-proton-vpn-logger.0.2.1.zip
# wget "https://github.com/ProtonVPN/python-proton-vpn-api-core/archive/refs/tags/v0.32.2.zip" -O python-proton-vpn-api-core.0.32.2.zip
# unzip -j proton-vpn-wireguard-downloader.zip
# unzip python-proton-core-0.2.0.zip
# unzip python-proton-vpn-logger.0.2.1.zip
@mathix420
mathix420 / medium.user.js
Last active April 13, 2026 13:17
Bypass Medium Paywall - Working late 2023 - Greasy Fork, Violentmonkey, Tampermonkey - Click the RAW button to install
// ==UserScript==
// @name Medium Paywall Bypass
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://*.medium.com/*
// @match *://medium.com/*
// @match *://*/*
// @grant none
// @version 3.0
// @inject-into content
@fusetim
fusetim / protonvpn-wireguard-generator.py
Last active March 18, 2026 21:30
Generate lots of Wireguard configuration for your ProtonVPN Account.
import http.client
import http.cookies
import json
import base64
import hashlib
from cryptography.hazmat.primitives import serialization
from cryptography.hazmat.primitives.asymmetric import x25519
from cryptography.hazmat.primitives.asymmetric import ec
from cryptography.hazmat.primitives import hashes