[Wayback/A] nixCraft on Twitter: “Here is how to check if you are affected by a known vulnerability in your hardware (CPU) when using Linux including mitigation status: grep -r . /sys/devices/system/cpu/vulnerabilities/“
nixCraft on Twitter: “Here is how to check if you are affected by a known vulnerability in your hardware (CPU) when using Linux including mitigation status”
Posted by jpluimers on 2025/01/10
Posted in *nix, *nix-tools, grep, Linux, Power User | Leave a Comment »
Kristian Köhntopp on MySQL primary keys
Posted by jpluimers on 2025/01/09
Recommended reading: [Wayback/Archive] MySQL: GIPK (InnoDB and Primary Keys) | Die wunderbare Welt von Isotopp
(Based on his Twitter thread archived at [Wayback/Archive] Thread by @isotopp on Thread Reader App – Thread Reader App that started with his tweet below).
Via [Wayback/Archive] Kris on Twitter: “blog.koehntopp.info/2022/08/23/mysql-gipk.html In which we have a look at MySQL 8.0.30 and Generate Invisible Primary Key”.
--jeroen
Posted in Database Development, Development, MySQL | Leave a Comment »
Adding entries to the PATH persistently (be aware of the 1024 character limit of SETX)
Posted by jpluimers on 2025/01/08
Directly after a new Windows installation, I want to have my cloned git repository of batch files in the PATH persistently so that it gets searched after rebooting or opening a new console window.
At that moment, there is not much of a 1024 PATH character limitation, but be aware about that limit if you try this yourself.
This is my add-current-directory-to-path-at-end.persistent-and-limit-to-1024-characters.bat:
:: https://serverfault.com/questions/664180/can-i-permanently-add-to-path-in-windows-using-batch
:: https://superuser.com/questions/812754/how-to-recover-from-path-being-truncated-to-1024-characters-by-setx
:: global environment
setx PATH "%PATH%;%CD%"
:: local process
:: https://superuser.com/questions/975605/add-current-directory-to-path
set PATH=%PATH%;%CD%
I execute it from within the cloned git directory.
Oh: you need to double-quote the SETX parameters, otherwise you get an error message: “ERROR: Invalid syntax. Default option is not allowed more than '2' time(s).“.
More links than the above ones from the batch file, especially on the 1024 character limitation:
Posted in Batch-Files, Development, Power User, Scripting, Software Development, Windows | Leave a Comment »
On Windows, `arp -d` sometimes fails but `netsh` comes to the rescue
Posted by jpluimers on 2025/01/08
(All below statements were run elevated as Administrator)
I had arp -d fail with any parameter combination on one of my systems always throwing the error The ARP entry deletion failed: The parameter is incorrect..
Luckily I found out that this did clear the ARP cache correctly:
netsh interface ip delete arpcache
I found that via [Wayback/Archive] “The ARP entry deletion failed: The parameter is incorrect.” – Recherche Google:
Posted in Batch-Files, Development, Power User, Scripting, Software Development, Windows, Windows 10, Windows 11, Windows 7, Windows Development | Leave a Comment »
Deploy .NET Framework 3.5 by using Deployment Image Servicing and Management (DISM) instead of Chocolatey and some notes on PowerShell colours
Posted by jpluimers on 2025/01/07
Since every now and then, like testing software developed with older tools, you need to run older software.
This always works: [Wayback /Archive] Deploy .NET Framework 3.5 by using Deployment Image Servicing and Management (DISM) | Microsoft Learn
DISM /Online /Enable-Feature /FeatureName:NetFx3 /AllUse
/Allto enable all parent features of the specified feature.
(The /All is needed because software requiring .NET Framework 3.5 also require the parent features).
Notes:
- Tested on Windows 10 and Windows 11 in 2022.
- It can take a really long time (more than just a few minutes!) even on fast connections.
- Installing through Chocolatey with `choco install
dotnet3.5fails on Windows 11 (have not tried on Windows 10) with the classical red on black PowerShell default error theme*:
ERROR: The term 'wmic' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
The install of DotNet3.5 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\DotNet3.5\Tools\ChocolateyInstall.ps1'.
Posted in .NET, .NET 3.0, .NET 3.5, C#, Chocolatey, Development, Power User, PowerShell, Software Development, Windows, Windows 10, Windows 11 | Leave a Comment »
MySQL: Row Literals | Die wunderbare Welt von Isotopp
Posted by jpluimers on 2025/01/07
For my link archive: [Wayback/Archive] MySQL: Row Literals | Die wunderbare Welt von Isotopp
Question on the Libera/#mysql IRC channel:Is there a way to split a simple select into multiple returned rows? For example,select 1, 2, 3to be returned as rows?This is actually asking for a table literal notation. I know of four ways to construct a table literal in MySQL:
They are based on UNION ALL, JSON_TABLE and VALUES statement (the latter in two forms). I knew about the first (which I used in other database environments), not about the others.
Posted in Database Development, Development, MySQL, SQL | Leave a Comment »
The links I used to search for a refurbished M-Series Apple Silicon MacBook Pro
Posted by jpluimers on 2025/01/06
Having used the fully loaded Intel 15″ Retina MacBook Pro machines (the ones without dreaded touch-bars or butterfly keyboards – note the IBM ThinkPad 701 butterfly keyboard – also known as TrackWrite – was perfectly fine) from 2015 for 9 years, it was finally time to upgrade to an Apple Silicon one, but again: not the touch bar models.
My work is mainly CPU and disk intensive and often based on remote logon to more powerful equipment, so GPU cores and performance only marginally matter for web-browsing and local electron based applications (hello vscode!).
Going from 4 hyperthreaded CPU cores (8 parallel threads) to at least 8 full CPU cores, I didn’t want to pay full price like back in the days, and wanted it to be less than my car (EUR ~4000), so these links helped me find refurbished ones in The Netherlands:
Posted in Apple, Apple Silicon, M1 Mac, Mac, MacBook, MacBook Retina, MacBook-Pro, Power User | Tagged: 21771 | Leave a Comment »
Dumpsterdiving for network access :: Jilles.com
Posted by jpluimers on 2025/01/06
[Wayback/Archive] Dumpsterdiving for network access :: Jilles.com
Just scaring people by telling them I could simply login to your network when you throw away you broken Smart light was not very credible. And eventhough people were kindly speaking up for me I would still like to illustrate how simple it is.
Posted in Power User, Red team, Security | Leave a Comment »


