The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

Archive for the ‘*nix-tools’ Category

nginxinc/kic-reference-architectures: MARA: Modern Application Reference Architecture

Posted by jpluimers on 2025/01/16

Interesting: [Wayback/Archive] nginxinc/kic-reference-architectures: MARA: Modern Application Reference Architecture

Read the rest of this entry »

Posted in *nix, *nix-tools, Cloud Development, Development, nginx, Power User, Software Development, Systems Architecture, Web Development | Leave a Comment »

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

[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/

Read the rest of this entry »

Posted in *nix, *nix-tools, grep, Linux, Power User | Leave a Comment »

How Discord Supercharges Network Disks for Extreme Low Latency

Posted by jpluimers on 2024/12/27

A while ago there was an interesting point of using tiered md to both obtain low read latency and write safety on the Google Cloud Platform in [Wayback/Archive] How Discord Supercharges Network Disks for Extreme Low Latency

It is an interesting approach to universally tune performance within the sketched boundaries, but raised some questions as their aim was improving ScyllaDB performance and Unix-like platforms on Google Cloud Platform can supports ZFS.

In this case Discord wanted to improve their ScyllaDB that was already read/written from GCP Persistent Storage and used tiered md to improve that.

Read the rest of this entry »

Posted in *nix, *nix-tools, Cloud, GCP Google Cloud Platform, Google, Hardware, Infrastructure, NVMe, Power User, RAID, SSD | Leave a Comment »

Some initial steps solving the Raspberry Pi (3 and 4) issue where OpenSuSE LEAP does reach Graphical Target but Tumbleweed does not

Posted by jpluimers on 2024/12/13

This is from years ago, but I forgot to schedule it, so here it is:

Problem on an E20 (enlightenment using lightdm) image:

  • LEAP 15.2 did reach Graphical Target
    • Image [Wayback] openSUSE-Leap-15.2-ARM-E20-raspberrypi3.aarch64-2020.07.08-Build1.34.raw.xz [Wayback] .packages [Wayback] .raw.xz.sha256 [Wayback]  [Wayback] .raw.xz.sha256.asc
  • Tumbleweed did not.

Parts of the chat transcript:

Read the rest of this entry »

Posted in *nix, *nix-tools, LEAP, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »

Florian Haas on Twitter: alias kubectl=”TZ=Etc/UTC kubectl”; You’re welcome

Posted by jpluimers on 2024/12/10

Sometimes you need to see a tiny bit of code to have this “aha moment”. One for me was a few years back:

[Wayback/Archive] Florian Haas on Twitter: “alias kubectl="TZ=Etc/UTC kubectl" You’re welcome.”

Read the rest of this entry »

Posted in *nix, *nix-tools, Cloud, Containers, Docker, Infrastructure, Kubernetes (k8n), Power User | Leave a Comment »

Good Reddit thread regarding updating Tumbleweed: difference between zypper up (zypper update) and zypper dup (zypper dist-upgrade) repository priorities and more

Posted by jpluimers on 2024/12/02

Sometimes the best information is outside vendor forums. I think it is the case for this Reddit thread: [Wayback/Archive] Regarding updating Tumbleweed; what is the best way to do it? Appper, zypper dup, zypper up. Which one am i supposed to use? Should i be worried about the vendor changes? And why do i get a message when using ‘zypper up’ saying “The following 35 package updates will NOT be installed”? : openSUSE

Note that specific to openSuSE Tumbleweed you should prefer zypper distr-upgrade over zypper update as per [Wayback/Archive] TUMBLEWEED zypper dup default behavior changed: what is the difference to zypper up?

Be aware this thread is about Tumbleweed, the method to update is byusing dup since it’s a new snapshot. At this point it’s your choice toupdate or not depending on your requirements. If your running out ofkernel modules supplied by third parties, then your tied to theirschedule…. Using zypper up will in the long term create more issuesas well as not supported.

This is especially true as --no-allow-vendor-change has been the default for zypper dist-upgrade for almost a decade now: [Wayback/Archive] PSA: Tumbleweed: –no-allow-vendor-change now default zypper dup behaviour : openSUSE

Read the rest of this entry »

Posted in *nix, *nix-tools, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »

Quit Nested SSH Sessions: use one more ~ for each nesting

Posted by jpluimers on 2024/11/18

Never too old to learn:

  • [Wayback/Archive.is] Quit Nested SSH Sessions

    works with ssh as well but is much simpler: press as many ~ as level of nest before . (by default, ~ is the escape character while . is to terminate ssh).

  • [Wayback/Archive.is] How can I break out of ssh when it locks? – Ask Ubuntu

    Notice that because hitting ~~ causes ssh to send the ~ instead of intercepting it, you can address N nested ssh connections by hitting ~ N times. (This only applies to ~s that directly follow an Enter.) That is to say that Enter~~~~~. terminates an ssh session 5 layers deep and keeps the other 4 intact.

So this is basically an extension of my 2017 blog post OpenSSH Escape Sequences (aka Kill Dead SSH Sessions) – The Lone Sysadmin (:

–jeroen

Posted in *nix, *nix-tools, Power User, ssh/sshd | Leave a Comment »

GitHub – oetiker/znapzend: zfs backup with remote capabilities and mbuffer integration.

Posted by jpluimers on 2024/10/14

I will likely need this one day: [Wayback/Archive] GitHub – oetiker/znapzend: zfs backup with remote capabilities and mbuffer integration.

Web-site: [Wayback/Archive] ZnapZend – open source ZFS backup with mbuffer and ssh support

--jeroen

Posted in *nix, *nix-tools, Power User, ZFS | Leave a Comment »

Downloading a file from the Windows console without first installing a command-line tool

Posted by jpluimers on 2024/10/09

Note that the below methods likely will cause security warnings if a Windows machine has been properly configured, but in most cases at least one of them works.

  1. using cURL (Widows 10 and up)
    curl --url https://speed.hetzner.de/100MB.bin --output %TEMP%\100MB.bin
  2. using [Wayback/Archive] certutil | Microsoft Docs (at least Windows 7 and up; needs UAC elevation)
    certutil.exe -urlcache -split -f https://speed.hetzner.de/100MB.bin %TEMP%\100MB.bin
  3. using PowerShell (at least Windows Vista and up)
    powershell.exe -Command (New-Object System.Net.WebClient).DownloadFile('https://speed.hetzner.de/100MB.bin','%TEMP%\100MB.bin')

I think it works for all versions of curl, certutil, and PowerShell though I did not have anything older than up-to-date Windows 7 (having PowerShell version 3) and recent to test on.

Read the rest of this entry »

Posted in *nix, *nix-tools, .NET, Batch-Files, CommandLine, cURL, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1, Windows Development, Windows Vista | Leave a Comment »

Attempting to stop Microsoft users sending ‘reactions’ to email from me by adding a postfix header

Posted by jpluimers on 2024/09/27

If you do not want Outlook kinds of clients spamming you, then add this header to your email messages above the Content-Type header (see [Wayback/Archive] The Message Content-Type in MIME)

x-ms-reactions: disallow

[Wayback/Archive] Attempting to stop Microsoft users sending ‘reactions’ to email from me by adding a postfix header

Via [Wayback/Archive] Kris: “x-ms-reactions: disallow http…” – chaos.social

x-ms-reactions: disallow

neilzone.co.uk/2024/07/attempt

Eine kleine Mailserver Config verhindert, daß Outlook Volldeppen meine Mailbox mit Likes spammen.

Sehr gut.

--jeroen

Posted in *nix, *nix-tools, Communications Development, Development, Internet protocol suite, Office, Outlook, postfix, Power User, SMTP | Leave a Comment »