Using Diskpart
cmd as admin
diskpart
list disk
# identify your disk, be careful
To download a specific Zoom client version, use an URL that includes the version and build number in the form of:
Find the specific build number here:
A runbook for a Raspberry Pi running DietPi + PiVPN (WireGuard), when the
uplink interface changes (e.g. you move the Pi from Wi‑Fi wlan0 to wired
eth0, or back).
WireGuard is not bound to eth0 or wlan0. It listens on its UDP port
across all interfaces and routes outbound traffic using the system routing
| #!/bin/bash | |
| # Use it with: | |
| # eval "$(curl -fsSL https://gist.githubusercontent.com/vicenteherrera/8ee0e0fce64a5731a860b7f1c301c135/raw/5b0bdcab2d13af894fce60a3423cbca982b07f64/config.sh)" | |
| # Set up aliases for kubectl | |
| alias k='kubectl' | |
| # Function to change the default namespace or list all namespaces | |
| kns() { |
References:
# Start Minikube
# At least you need CPUS=8 MEMORY=16g DISK=40000mb (for example using a laptop)
# These are my settings using a desktop with 64Gb of ram| #!/bin/bash | |
| set -e | |
| echo "" > test_psa.log | |
| ALL_NAMESPACES=$(kubectl get namespaces -o name) | |
| for NAMESPACE in $ALL_NAMESPACES | |
| do |
| @setlocal disabledelayedexpansion enableextensions | |
| @echo off | |
| :: Admin check | |
| fltmc >nul 2>nul || set _=^"set _ELEV=1^& cd /d """%cd%"""^& "%~f0" %* ^"&&((if "%_ELEV%"=="" (echo Requesting administrator privileges...&((powershell -nop -c start cmd -args '/d/x/s/v:off/r',$env:_ -verb runas >nul 2>nul) || (mshta vbscript:execute^("createobject(""shell.application"").shellexecute(""cmd"",""/d/x/s/v:off/r ""&createobject(""WScript.Shell"").Environment(""PROCESS"")(""_""),,""runas"",1)(window.close)"^) >nul 2>nul))) else (echo This script requires administrator privileges.& pause))& exit /b) | |
| echo Has admin permissions | |
| :: echo Working dir: "%cd%" | |
| :: echo Script dir: "%~dp0" | |
| :: echo Script path: "%~f0" |
Instructions to enable OpenSSH on Windows 10/11 that gives you access to WSL2 Linux
Based on this blog article with several changes and additions.
Last update: 2026-01-17
Start figuring out some information. Open a Powershell terminal as an administrator:
| #!/bin/bash | |
| echo "Parsing articles" | |
| URL="https://us2.campaign-archive.com/home/?u=374c664073e1a1fa3deca53b4&id=e67967d43f" | |
| POSTS=$(curl -Lk "$URL" | tr '"' '\n' | tr "'" '\n' | grep -e '^http://eepurl.com/' | sed 1d | awk '{ printf("%s ", $0) }') | |
| echo "Building epub" | |
| docker run --rm \ |