Archive for the ‘Scripting’ Category
Posted by jpluimers on 2026/02/24
I needed to document how to install sed on Windows (which I did a long time ago after writing Plastic SCM: show the current changeset abstract (without files) on the commandline) and recently for some more scripting work(which I will blog on that later this week).
At the time of writing it was [Wayback/Archive] Chocolatey Software | GNU sed 4.8, but this Chocolatey command will install or upgrade to the most recent available version:
choco upgrade --yes sed
Of course, like yesterday’s post Installing OpenSSL on Windows, you could use winget or scoop for this as well. Finding out the commands is left as an exercise to the reader (;
Query: [Wayback/Archive] chocolatey sed – Google Search
–jeroen
Posted in *nix, *nix-tools, Chocolatey, Development, Power User, Scoop, Scripting, sed, Software Development, Windows, Windows Development, winget | Leave a Comment »
Posted by jpluimers on 2026/02/17
Yesterday, an important question appeared at almost the same time on Tweakers.net and Security.nl. It is about 2D barcodes on some packages delivered by PostNL. Some of these – I call them Data Matrix, as that is what they are – seem to include the e-mail address of the recipient.
The posts caused some uproar, and in order for myself to understand what is going on and what questions should be asked to PostNL, I wrote this blog post.
In any case: always remove parcel labels before disposing of the parcels, then destroy the labels. This has always been good privacy practice and will stay that way forever.
Regrettably, Tweakers.net blocks both the Wayback Machine and Archive Today, which makes their information ephemeral. Therefore I archived some of the Tweakers.net information in the gist [Wayback/Archive] “E-mailadres van ontvanger kan in PostNL barcode staan” archived from https://gathering.tweakers.net/forum/list_messages/2327530/0 · GitHub
Read the rest of this entry »
Posted in base64, Development, Encoding, Font, KIX Font PostNL, Power User, Python, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2026/02/16
The easiest way to get rid of DRM from PDF files is to use the Calibre plugin DeDRM with the instructions at [Wayback/Archive] Exactly how to remove DRM · apprenticeharper/DeDRM_tools Wiki
The reason that I promote this tool is that the user experience of is that the user experience of Adobe Digital Editions is mediocre at best: keyboard navigation usually does not work, viewing 2 pages next to each other is impossible and almost none of the Acrobat Reader functionality is available.
[Wayback/Archive] How to view 2 pages, side-by-side in PDF within Ad… – Adobe Support Community – 10666132
Read the rest of this entry »
Posted in Development, PDF, Power User, Python, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2026/02/11
This was the easiest tool to remove HTML from select tags while keeping line breaks: [Wayback/Archive] Online HTML Stripper. Remove HTML and formatting from text.
Especially the client-side on-line tools I tried failed that option:
This just does not work at all for me: [Wayback/Archive] HTML Cleaner (cannot paste HTML text: needs to paste formatted text which does not work with select elements).
Could I have done this on a command-line? Of course, but I don’t need it often enough to warrant investigating and remembering how to do that in an efficient manner.
Queries:
Read the rest of this entry »
Posted in Blogging, Development, HTML, JavaScript/ECMAScript, LifeHacker, PHP, Power User, Scripting, SocialMedia, Software Development, Web Development | Leave a Comment »
Posted by jpluimers on 2026/01/29
A cool way to unit-test JavaScript code on the browser side is [Wayback/Archive] Getting Started | QUnit:
To get started with QUnit in the browser, create a simple HTML file called test.html and include the following markup:
<!DOCTYPE html>
<meta charset="utf-8">
<title>Test Suite</title>
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.19.4.css">
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<script src="https://code.jquery.com/qunit/qunit-2.19.4.js"></script>
</body>
That’s all the markup you need to start writing tests. Note that this loads the library from the jQuery CDN.
I was so glad to find QUnit via the below links as I unconsciously wanted such a thing for a very very long time.
You can either run it locally or remotely or from the jQuery CDN as both it
- is a Node.js module so the source files are all available on the jQuery CDN
- it does not require the Node.js to load so it can run from any location you want (that CDN, locally or another on-line location)
Read the rest of this entry »
Posted in Chrome, Development, Edge, Firefox, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »
Posted by jpluimers on 2026/01/28
In yesterday’s post Bookmarklet for Archive.is to navigate to the canonical link with the “redirected from” instead of “saved from” I mentioned js-tokenizer for syntax highlighting. When writing that, I didn’t have time to dig deeper, but saved the links for later investigation.
Since I won’t have time to finish writing a complete article on this anytime soon, I decided to just publish the list:
Read the rest of this entry »
Posted in Development, JavaScript/ECMAScript, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2026/01/28
Posted in *nix, *nix-tools, bash, bash, Development, DNS, Hardware Development, Internet, Power User, Raspberry Pi, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2026/01/27
This is a follow-up on Bookmarklet for Archive.is to navigate to the canonical link which can be accessed from multiple URLs, some through redirection:
You can see the difference in these archived links (the navivate was a typo that I only spotted after the original blog post got published):
I wanted a Bookmarklet to find the last link; the one in the referenced blog post didn’t.
Read the rest of this entry »
Posted in Bookmarklet, Debugging, Development, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »
Posted by jpluimers on 2026/01/15
On OpenWRT GL.iNET based devices, the WireGuard client does not restart upon reboot, even if it was started before rebooting.
Hopefully the /usr/bin/wireguard_watchdog script will help with this as others indicates it should.
My first try was no succes, but since it is supposed to run from cron it does no output. The script on GL-SFT1200 firmware version 3.215, script /usr/bin/wireguard_watchdog is different from the one in the OpenWRT repository, so it needs some investigation.
Some links for checking this out:
Read the rest of this entry »
Posted in *nix, *nix-tools, ash/dash, ash/dash development, Development, GL-AR300M, GL.iNet, GL.iNET GL-SFT1200, OpenWRT, Power User, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2026/01/13
The summary of [Wayback/Archive] Is Fortran better than Python for teaching the basics of numerical linear algebra? – Dr. Jean-Christophe Loiseau is:
- 1-based indexing prevents off-by-1 errors
- structure is key, especially these foundations:
- clear begin/end constructs instead of visual clues
- strong typing
- verbose programming languages are easier to learn than non-verbose ones
Modern Fortran helps a lot here and shows that after the initial 13 year gaps between FORTRAN 77 and Fortran 90, and between Fortran 90 and Fortran 2003 (the ANSI Standard Fortran and Fortran 95 in between versions were just minor updates), Modern Fortran has come a very long way and now as a thriving community and an extensive list of Fortran software and tools.
Other typed languages and tool sets like C# and Delphi come to mind here as well though you need libraries with 1-based data structures to solve the first point.
Read the rest of this entry »
Posted in Development, Fortran, Learning/Teaching, LifeHacker, Power User, Python, Scripting, Software Development | Leave a Comment »