If you want to create a bootable USB stick for Windows (Windows 10/11 installation media) have a look at this guide.
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
#!/usr/bin/env bash | |
# helper variables to make text bold | |
bold_start=$(tput bold) | |
bold_end=$(tput sgr0) | |
while [ $# -gt 0 ]; do | |
case "$1" in | |
-c|--context) | |
CONTEXT="$2" |
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
const mode = 'testing'; | |
// const mode = 'enforce'; | |
const max_age = 604800; // 1 week | |
addEventListener('fetch', (event) => { | |
event.respondWith(handleRequest(event.request)); | |
}); | |
const handleRequest = async (request) => { | |
const url = new URL(request.url); |
OlderNewer