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’ Category

What is the Python 3 equivalent of “python -m SimpleHTTPServer” – Stack Overflow

Posted by jpluimers on 2025/05/29

Now that Python 2 has been dead for long enough (has it been unsupported for 5 years? yes it has: [Wayback/Archive] Status of Python Versions), it was finally time to change my alias for running a local web-server to serve files from a directory (:

So, from [Wayback/Archive] What is the Python 3 equivalent of “python -m SimpleHTTPServer” – Stack Overflow (thanks [Wayback/Archive] ryanbraganza, [Wayback/Archive] k.avinash and [Wayback/Archive] Petr Viktorin):

python -m http.server 8000, it will start the server on port 8000

Docs with the migration hints: [Wayback/Archive] 20.19. SimpleHTTPServer — Simple HTTP request handler — Python 2.7.18 documentation

Read the rest of this entry »

Posted in *nix, *nix-tools, bash, Batch-Files, Development, Power User, Python, Scripting, Software Development | Leave a Comment »

Interesting take by Florian Roth on Twitter: “First security application I install on … “” covering various platforms (both server and workstation) with tools that are easy and quick to install

Posted by jpluimers on 2025/05/26

[Wayback/Archive] Florian Roth on Twitter: “First security application I install on … macOS: LittleSnitch Linux Server: Fail2ban Linux Workstation: etckeeper Windows Workstation: GlassWire Windows Server: Sysmon — What are yours?”

Full thread at [Wayback/Archive] Thread by @cyb3rops on Thread Reader App

Some interesting responses to the original tweet, hence me saving it.

–jeroen

Posted in *nix, *nix-tools, Apple, BSD, FreeBSD, Mac OS X / OS X / MacOS, Power User, Windows | Leave a Comment »

Upptime: GitHub-powered open-source uptime monitor and status page

Posted by jpluimers on 2025/05/14

I wonder how long this can be hosted on GitHub. Will start using it, just to learn more about the GitHub computing infrastructure.

Links:

--jeroen

Posted in Cloud, Development, DVCS - Distributed Version Control, GitHub, Hosting, Infrastructure, Monitoring, Power User, Software Development, Web Development | Leave a Comment »

GitHub – walles/moar: Moar is a pager. It’s designed to just do the right thing without any configuration.

Posted by jpluimers on 2025/05/08

Having used less for 40+ years now, I wonder how moar measures up to it: [Wayback/Archive] GitHub – walles/moar: Moar is a pager. It’s designed to just do the right thing without any configuration.

Features I at least expect are in [Wayback/Archive] less: display the contents of a file in a terminal | less Commands | Man Pages | ManKier.

Via [Wayback/Archive] Johan Walles recently commenting on [Wayback/Archive] linux – How can I have less automatically decompress xz files like it did with gz files on my old SUSE distro? – Super User.

--jeroen

Posted in *nix, *nix-tools, Apple, BSD, Development, Go (golang), Mac, Mac OS X / OS X / MacOS, Power User, Software Development | Leave a Comment »

Setting Up a Raspberry PI with a German Mac Keyboard – Seaside Testing

Posted by jpluimers on 2025/05/08

[Wayback/Archive] Setting Up a Raspberry PI with a German Mac Keyboard – Seaside Testing.

Reminder to self: figure out where parameters for /etc/default/keyboard are documented in case I want to use USB keyboards:

  • from other manufacturers than Apple
  • with other language layouts

Via: [Wayback/Archive] Stephan Kämper (@seasidetesting@mastodon.social) on Twitter: “Setting Up a Raspberry PI with a German Mac Keyboard”

Read the rest of this entry »

Posted in Debian, Development, Hardware, Hardware Development, Keyboards and Keyboard Shortcuts, KVM keyboard/video/mouse, Linux, Power User, Raspberry Pi, Raspbian | Leave a Comment »

Some SQLite things I recently learned a while ago

Posted by jpluimers on 2025/04/30

More on the reason why I learned a few SQLite things soon, but for my link and documentation archive, below is what I learned.

Most commands use the database file C:\temp\History which has no extension as that is how I got the file in the first place (spoiler: it’s a Chrome browser History from one of my user profiles).

Let’s get started:

Read the rest of this entry »

Posted in *nix, *nix-tools, bash, CommandLine, Conference Topics, Conferences, Console (command prompt window), Database Development, Development, Event, Power User, PowerShell, PowerShell, Software Development, SQL, SQLite | Leave a Comment »

“NAMED_CONF_INCLUDE_FILES” has been gone from /etc/sysconfig/named since OpenSuSE 15.4

Posted by jpluimers on 2025/04/28

In the past, I used to modify /etc/sysconfig/named and add entries to the NAMED_CONF_INCLUDE_FILES setting, then run /usr/share/bind/createNamedConfInclude
to generate /etc/named.conf.include.

As of OpenSuSE 15.4, /usr/share/bind/createNamedConfInclude has become an empty file and NAMED_CONF_INCLUDE_FILES got removed and NAMED_INITIALIZE_SCRIPTS introduced.

So now I changed my playbooks to manually generate /etc/named.conf.include and include it form /etc/sysconfig/named.

Since I hardly perform these new installations, it took a few years for me to find out about this change. Upgrading existing systems somehow kept the generated file and included it.

Related links with quotes as it was hard to find out what changed and how to work around and I wasn’t the only one bump into issues:

Read the rest of this entry »

Posted in *nix, *nix-tools, bash, bash, bind-named, Development, DNS, LEAP, Linux, openSuSE, Power User, Scripting, Software Development, SuSE Linux | Tagged: | Leave a Comment »

H3/H2 Net Card – ODROID – wonder how well pfSense supports it

Posted by jpluimers on 2025/04/18

I wonder how well [Wayback/Archive] H3/H2 Net Card – ODROID is supported by pfSense. It is an M.2 based PCIe network card that adds 4 ethernet ports of 2.5 gigabit each to an ODROID H2 or H3 series (so you have 6 ports total), ideal for some hefty router.

Pictures (from the above link) of the board, cases and mainboard below.

But first: Realtek NICs is not vendor supported on FreeBSD (which pfSense and OPNsense are based on).

Read the rest of this entry »

Posted in *nix, BSD, Ethernet, FreeBSD, Hardware, Network-and-equipment, pfSense, Power User, routers | Tagged: , | Leave a Comment »

Parallel hashing on MacOS

Posted by jpluimers on 2025/04/14

Now that I have had an Apple silicon for a while, which has enough cores to perform parallel work, this is how I calculated a bunch of hashed from a lot of large files:

  • find . -type f | xargs -P 0 -n 1 md5 -r
  • find . -type f | xargs -P 0 -n 1 shasum --algorithm 1
  • find . -type f | xargs -P 0 -n 1 shasum --algorithm 256

I contemplated about using GNU parallel, but that is not installed by default on MacOS and I was already familiar with xargs.

Argument meanings can be found at these locations:

Related:

Read the rest of this entry »

Posted in *nix, *nix-tools, Apple, Apple Silicon, ARM Mac, M1 Mac, Mac, Mac OS X / OS X / MacOS, Power User, xargs | Leave a Comment »

Tribal Knowledge? Getting the public keys from github and gitlab users from their username

Posted by jpluimers on 2025/04/03

Learned a while ago: if you have the username from a GitHub or GitLab user, you can download interesting that sometimes can make life easier (but not necessarily more secure):

  • github.com/username.keys gives you their public SSH keys
  • gitlab.com/username.keys gives you their public SSH keys
  • github.com/username.png gives you their profile image

And that there are tools like gh, glab and age that can make direct use of them.

I love Twitter, so thanks for these for teaching me these little tricks:

Read the rest of this entry »

Posted in *nix, *nix-tools, ArchiveTeamWarrior, Conference Topics, Conferences, Development, Event, GitHub, GitLab, Internet, InternetArchive, OpenSSH, Power User, Software Development, Source Code Management, SSH, ssh/sshd, WayBack machine | Tagged: , | Leave a Comment »