(in 13 lucky steps)
This guide shows how to run acme.sh in a RouterOS container on your USB drive, use Cloudflare DNS‑01, and deploy certs via SSH to RouterOS automatically.
| <# | |
| .SYNOPSIS | |
| Analyzes Windows Wi-Fi profiles to extract SSID, Security, and Certificate Trust details. | |
| .DESCRIPTION | |
| This tool provides a detailed analysis of Wi-Fi connection profiles, specifically focusing on | |
| Enterprise (802.1X) security settings. It extracts the Trusted Root CA Thumbprint, Server | |
| Name constraints, and validates if the required certificates are present in the local machine store. | |
| It operates in three modes: |
| #!/bin/bash | |
| # fix-ups-permissions.sh | |
| # Standalone script to fix USB permissions for NUT (Network UPS Tools) | |
| set -e | |
| if [ "$EUID" -ne 0 ]; then | |
| echo "ERROR: Please run as root or with sudo." >&2 | |
| exit 1 | |
| fi |
| #!/usr/bin/env bash | |
| # | |
| # encode-targetsize-43-crop.sh - Batch encode videos to NTSC 4:3 with hardware accel (multi-OS) | |
| # Targeting iGPUs (Apple Silicon, Intel HD, Intel Arc) | |
| # Uses VideoToolbox on macOS, VAAPI on Linux, and QuickSync on Windows. | |
| # | |
| set -euo pipefail | |
| # --- Default Settings --- | |
| VIDEO_BITRATE="1500k" |
| // ==UserScript== | |
| // @name Extract Links (Universal, Configurable Patterns) | |
| // @namespace ergosteur | |
| // @version 2.9 | |
| // @description Universal lazy-scroll link extractor with config, HUD, stop button, and Tampermonkey menu | |
| // @match *://*/* | |
| // @grant GM_registerMenuCommand | |
| // ==/UserScript== | |
| (function () { |
| @echo off | |
| SETLOCAL ENABLEDELAYEDEXPANSION | |
| REM ============================================================================ | |
| REM == Simple SSH Link Protocol Handler for Windows == | |
| REM == Uses the built-in Windows OpenSSH client. == | |
| REM == Includes self-installing registry setup. == | |
| REM == To install, right-click and "Run as administrator". == | |
| REM == == | |
| REM == Public Domain. https://tcpip.wtf (Modified from original) == |
| #!/bin/bash | |
| # --- Script to create a Firefox Single-Site Browser (SSB) --- | |
| # V8: Implements a slim, auto-hiding toolbar instead of a fully hidden one. | |
| # Original idea /u/Apoema - https://www.reddit.com/r/firefox/comments/li2lqg/comment/gn2sltw/ | |
| # Made with AI assistance in case you couldn't tell by the excessive use of emoji. | |
| echo "🔥 Firefox SSB Creator (v8) 🔥" | |
| echo "------------------------------" |
| #!/usr/bin/env bash | |
| # setup-git-email-enforcer.sh | |
| # This script enforces using the GitHub anon email for all commits. | |
| GOOD_EMAIL="[email protected]" | |
| HOOKS_DIR="$HOME/.git-hooks" | |
| HOOK_FILE="$HOOKS_DIR/commit-msg" | |
| # Create hooks dir if it doesn't exist | |
| mkdir -p "$HOOKS_DIR" |
| #!/usr/bin/env python3 | |
| import os | |
| import sys | |
| import tarfile | |
| import tempfile | |
| import subprocess | |
| import xml.etree.ElementTree as ET | |
| import argparse | |
| import shutil |
| # DNS_LeaseEvent | |
| # Handles a single DHCP lease bind or release/expire event | |
| # 1) Locate the exact lease by its MAC & IP | |
| :local leaseId [/ip dhcp-server lease find where mac-address=$leaseActMAC and address=$leaseActIP] | |
| :if ($leaseId = "") do={ | |
| :log warning "DNS_LeaseEvent: lease not found for $leaseActMAC / $leaseActIP, aborting" | |
| :return | |
| } |