Skip to content

Instantly share code, notes, and snippets.

View jpluimers's full-sized avatar

Jeroen Wiert Pluimers jpluimers

  • wiert.me
  • Amsterdam, The Netherlands
View GitHub Profile
@jpluimers
jpluimers / star.svg
Last active June 21, 2026 15:16
The Google AI star as displayed in Google Search as an in-line SVG https://en.wikipedia.org/wiki/Google_AI https://en.wikipedia.org/wiki/SVG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jpluimers
jpluimers / archive-dns-issue.md
Created June 15, 2026 11:10 — forked from ardislu/archive-dns-issue.md
Reference note about archive.today and Cloudflare DNS.

Problem

If you use Cloudflare's DNS (1.1.1.1), then the popular web archive archive.today (and the related sites archive.ph, archive.is, archive.li, archive.vn, archive.md, and archive.fo) will either fail to resolve, or show an infinite CAPTCHA loop. If it does resolve when you're on Cloudflare's DNS, you may have the domain locally cached.

Solution

Fix this problem by:

  • Configuring dnsmasq on your local DNS server to use an alternate DNS server for archive.today (see comment from @joshenders below), or
  • Connecting to a VPN before connecting to archive.today (only works if the VPN uses different DNS servers), or
@jpluimers
jpluimers / delete_thumbsdb.sh
Created June 9, 2026 14:42 — forked from NicoDeLarge/delete_thumbsdb.sh
Recursively delete Thumbs.db
#!/bin/bash
# Recursively delete all files named Thumbs.db starting from the given path (default: current directory)
# Usage: ./delete_thumbsdb.sh [--dry-run] [path]
DRY_RUN=false
TARGET_DIR="."
for arg in "$@"; do
case "$arg" in
97ed2df27debe5a8e94fb37be4383eb8516d5c24117793bda5c1e13568d3f754 Win11_24H2_Arabic_x64.iso
1bc63e9c62fe3eb7e46778f24c790933770fa7430304583bbdf96b47a5d61f1f Win11_24H2_BrazilianPortuguese_x64.iso
1c1bd6e96290521b7e4f814aca30c2cc4c7fab1e3076439418673b90954a1ffc Win11_24H2_Bulgarian_x64.iso
bd1ecba89bc59b7b62ef12c88c4e70d456edac10b969ecb3299ebd458b1f0fb3 Win11_24H2_Chinese_Simplified_x64.iso
b92c3d6d428d12cf78a8d287b8fb28ffbc44d4a36b74c1b121c3cf443dc67ed2 Win11_24H2_Chinese_Traditional_x64.iso
95c7008ab1b0ba65212a36fb728ac93b9d7611400a78393fe7b319ed5b74ac5c Win11_24H2_Croatian_x64.iso
76120e535db895d0ea69f47d55b836940821352a010dedfcbcfc1e22e619fc4b Win11_24H2_Czech_x64.iso
d5d34dffe45ba557581ada14ac025db8aa58989d054706061b7d0e5b47f5fdb9 Win11_24H2_Danish_x64.iso
ee9bc545673d8f954a1edac691d749438d3e4dfa10a75d2519f79e3708d79fdc Win11_24H2_Dutch_x64.iso
d5a4c97c3e835c43b1b9a31933327c001766ce314608ba912f2fffc876044309 Win11_24H2_EnglishInternational_x64.iso
@jpluimers
jpluimers / automatedManualCertbotRenewal.sh
Created May 18, 2026 12:05 — forked from AnthonyWharton/automatedManualCertbotRenewal.sh
FreeDNS (afraid.org) Cerbot/Let's Encrypt Manual Automation Script
#!/bin/bash
# Copyright 2018, Anthony Wharton
# Single script that can be called that generates certificates using the
# certbotFreeDNSAuthHook.sh and certbotFreeDNSCleanupHook.sh scripts.
# This should be used as guidence of my usage, and changed to your needs. Note
# the generic `/path/to/...` and `DOMAIN.COM`, which should be replaced with
# your script location and domain respectively. In addition, for this to be
# used on a live system, one must remove the `--dry-run` flag.
@jpluimers
jpluimers / CRS112-8P-4S-IN.default.config.rsc
Last active May 19, 2026 10:43
MikroTik RouterOS default configs for CRS112-8P-4S-IN, RB941-2nD (hAP lite) and later more
#| Welcome to RouterOS!
#| 1) Set a strong router password in the System > Users menu
#| 2) Upgrade the software in the System > Packages menu
#| 3) Enable firewall on untrusted networks
#| -----------------------------------------------------------------------------
#| Switch mode:
#| * all interfaces switched;
#| LAN Configuration:
:global defconfMode;
@jpluimers
jpluimers / readme.md
Created May 4, 2026 16:17
Need to fix "Illegal byte sequence" when cloning https://github.com/jpluimers/Conferences.git

Terminal output:

jeroenp@Jeroens-MBP-M1 git % git clone https://github.com/jpluimers/Conferences.git
Cloning into 'Conferences'...
remote: Enumerating objects: 1089, done.
remote: Total 1089 (delta 0), reused 0 (delta 0), pack-reused 1089 (from 1)
Receiving objects: 100% (1089/1089), 62.85 MiB | 10.67 MiB/s, done.
Resolving deltas: 100% (277/277), done.
error: unable to create file 2013/20130907-RAD-Studio-In-Action-PasCon-Leiden-Netherlands/A successful Git branching model ? nvie.com.url: Illegal byte sequence
@jpluimers
jpluimers / RB960PGS-hEX-PoE-as-a-switch.rsc
Created May 4, 2026 11:13
Switch configuration after a factory reset of a MikroTik hEX PoE RB960PGS using the reset button
/interface bridge
add admin-mac=64:D1:54:13:98:E6 auto-mac=no comment=defconf name=bridgeLocal
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/interface bridge port
add bridge=bridgeLocal comment=defconf interface=ether1
add bridge=bridgeLocal comment=defconf interface=ether2
add bridge=bridgeLocal comment=defconf interface=ether3
@jpluimers
jpluimers / sonde.life.arrival.html.main.js
Created April 19, 2026 15:41
https://sonde.life/arrival.html?paused=1&t=6 bits (the `paused` and `t` parameters are not functioning during page load, only after the page has been loaded and the page becomes paused)
(function () {
var STORAGE_KEY = 'sonde-life:theme';
var root = document.documentElement;
var buttons = document.querySelectorAll('.theme-control button');
function readStoredTheme() {
try { return localStorage.getItem(STORAGE_KEY); } catch (_) { return null; }
}
function writeStoredTheme(val) {
try { localStorage.setItem(STORAGE_KEY, val); } catch (_) { /* hardened browser */ }