Skip to content

Instantly share code, notes, and snippets.

@ribas89
ribas89 / wireguardfile.sh
Last active December 15, 2025 21:52
gluetun-wireguard-multiple-configs
#!/bin/sh
set -eu
log() {
echo "[wireguardfile] $*"
}
WGCONFIGS="/gluetun/wireguard"
WGCONF="/gluetun/wireguard/wg0.conf" # gluetun needs a /gluetun/wireguard/wg0.conf path to work
STATEFILE="/gluetun/wireguard/.wg_index"
@ribas89
ribas89 / install-dotnet-35.bat
Created November 15, 2025 10:43
bat to install net 3.5 on windows 10
@echo off
echo.
echo === .NET Framework 3.5 Offline Installer ===
echo.
set "found="
for /f "skip=1 tokens=1" %%D in ('wmic logicaldisk get name') do (
if exist "%%D\sources\sxs" (