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 / CRS112-8P-4S-IN.default.config.rsc
Created May 12, 2026 18:07
CRS112-8P-4S-IN default config
#| 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.
@jpluimers
jpluimers / readme.md
Created February 16, 2026 19:10
"E-mailadres van ontvanger kan in PostNL barcode staan" archived from https://gathering.tweakers.net/forum/list_messages/2327530/0

E-mailadres van ontvanger kan in PostNL barcode staan

Ik kwam er onlangs achter dat de 2D-barcode op PostNL-pakketlabels meer informatie bevat dan je zou verwachten -- je e-mailadres. De data is alleen gecomprimeerd (deflate), niet versleuteld. Iedereen met basiskennis kan dit uitlezen.

WAT ZIT ER IN DE BARCODE?

De code op een PostNL-label begint met een herkenbare prefix (bijv. PNL3STUNM...) gevolgd door een blok base64-gecodeerde data. Als je die base64 decodeert en vervolgens deflate-decompressie toepast (vanaf offset 1), krijg je een binaire structuur met daarin in plain text:

  • Achternaam\