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 / 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 */ }
@jpluimers
jpluimers / index.html
Last active April 5, 2026 18:55
Enabling the `tnum` feature of a font: `style="font-variant-numeric: tabular-nums";` and `style="font-feature-settings: 'tnum'";`
<!DOCTYPE html>
<html>
<head>
<title>Enabling the `tnum` feature of a font: `style="font-variant-numeric: tabular-nums";` and `style="font-feature-settings: 'tnum'";`</title>
</head>
<body>
<table
style="font-family: system-ui, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, 'Helvetica Neue', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';"
@jpluimers
jpluimers / app.js
Last active March 24, 2026 16:12
Source for "Minesweeper but it's the Strait of Hormuz. https://sweepthestrait.com/" by Sergey Alexashenko
const CELL_SIZE = 16;
// Generated from Natural Earth 10m admin-0 country polygons (IRN/OMN/ARE)
// over bbox [55.1, 24.0, 58.8, 27.15] with 5x5 supersampling per cell.
const BOARD_MASK_ROWS = [
".............###########............................",
"........######..##########..........................",
".......##......############.........................",
"..#...##......#############.........................",
"####....####################........................",
"###.########################........................",
net stop wuauserv
net stop bits
net stop cryptSvc
net stop msiserver
ren %systemroot%\SoftwareDistribution SoftwareDistribution.old
ren %systemroot%\System32\catroot2 catroot2.old
net start msiserver
net start cryptSvc
@jpluimers
jpluimers / Makefile
Created February 20, 2026 05:26 — forked from nfarring/Makefile
ebert: Ethernet Bit Error Rate Tester
CFLAGS=-std=gnu99 -O3
LDFLAGS=-lrt -lgmp
.PHONY: all
all: ebert
ebert: ebert.c time.o profile.o
time.o: time.c time.h
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.