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,861 other subscribers

Archive for the ‘Mac OS X / OS X / MacOS’ Category

Naming Files and Directories the Right Way – YouTube

Posted by jpluimers on 2026/01/29

I totally agree with the first comment of [Wayback/Archive] Naming Files and Directories the Right Way – YouTube as it holds not just for file management, but for naming anything including software development:

I’ve watched many videos on file management, but this one explains naming very clearly.
  1. 0:31 Rule 1: No Spaces
  2. 2:40 Rule 2: Avoid Special Characters
  3. 3:43 Rule 3: Be Descriptively Concise
  4. 4:24 Rule 4: Case Sensitivity
  5. 5:00 Rule 5: Dates and Sorting
  6. 6:40 Rule 6: Be Consistent!

--jeroen

Posted in *nix, Apple, BSD, Development, Linux, Mac OS X / OS X / MacOS, Power User, Software Development, Windows | Leave a Comment »

How can I tell what wattage my MacBook Pro… – Apple Community

Posted by jpluimers on 2026/01/19

This still works for Apple Silicon based Macs: [Wayback/Archive] How can I tell what wattage my MacBook Pr… – Apple Community

TL;DR:

  1. Either:
    • ⌘-space -> System Information.app
    •  menu -> About This Mac -> More Info… -> System Report…

    Note that “System Report…” starts the “System Information.app” (how cool would naming consistency be…)

  2. Hardware -> Power
  3. Browse down to “AC Charger Information”

On my M1 MacBook Pro, the values depend on the charging ports used:

Read the rest of this entry »

Posted in Apple, M1 Mac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook-Pro, Power User | Leave a Comment »

How to Do a UDP Ping in Linux

Posted by jpluimers on 2026/01/07

Often connections are TCP based, but sometimes UDP is all you have to test with, so I was quite surprised that testing that was quite forward. The solutions by [Wayback/Archive] How to Do a UDP Ping in Linux works on any platform where you can have nmap or netcat on installed (which by now is almost all platforms including Windows):

Read the rest of this entry »

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

MacOS (at least 2023 and younger): solution for (TrueType) fonts added through MacOS built-in Font Book not showing up in Pages or Preview

Posted by jpluimers on 2026/01/05

It took me a few queries to find the correct online solution for this problem: after adding a TrueType (and it’s extension: OpenType) font using the built-in MacOS Font Book, they do not show up in Pages or Preview, not even after validating the fonts in Font Book.

Solutions:

  1. reboot (found this out myself)
  2. killing the fontd font daemon from the Activity Monitor
  3. restart font daemon (found out via the link below)
    launchctl kickstart -k gui/`id -u`/com.apple.xtyped

The last one does not work on my Apple Silicon machine, the first two work fine.

For Preview, you have to Force Quit it then start it (so it re-opens all the previous files) to take effect.

I needed this, because I

Read the rest of this entry »

Posted in Apple, Font, Lucida Console, Mac, Mac OS X / OS X / MacOS, macOS 13 Ventura, macOS 14 Sonoma, Power User | Leave a Comment »

See a List of All Wi-Fi Networks a Mac Has Previously Connected To

Posted by jpluimers on 2025/12/24

[Wayback/Archive] See a List of All Wi-Fi Networks a Mac Has Previously Connected To

n modern versions of Mac OS, like macOS Mojave, Catalina, Sierra, OS X El Capitan, and Yosemite, you can shorten the syntax considerably as so:
defaults read /Library/Preferences/SystemConfiguration/com.apple.airport.preferences |grep SSIDString
In prior versions of Mac OS X, you can opt for the same as the above command, or use the lengthier string below with heavy regex:

Read the rest of this entry »

Posted in *nix, *nix-tools, Apple, bash, bash, Development, Mac, Mac OS X / OS X / MacOS, MacBook, Power User, Scripting, Software Development | Leave a Comment »

What is the best free PDF Editor for Mac?… – Apple Community

Posted by jpluimers on 2025/11/24

Need to check this out:

Query: [Wayback/Archive] pdf editor macos – Google Search

--jeroen

Posted in Apple, Apple Silicon, M1 Mac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook-Pro, Power User | Leave a Comment »

MacOS: open file in other monitor

Posted by jpluimers on 2025/11/24

When I have an external monitor connected to my 2015 era Retina MacBook Pro machines, I wanted some apps to appear on the laptop screen and others on the external one.

That was harder than I hoped for as no single solution works in all cases.

What I do now is to make sure the icon bar is on the monitor where I want applications to open. Not perfect, but works for most cases.

Here are some links that helped me:

Read the rest of this entry »

Posted in Apple, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Pro, Power User | Leave a Comment »

When Spotlight fails to find some files: mdutil revisited

Posted by jpluimers on 2025/11/07

On my M1 MacBook, somehow Spotlight started to fail returning some indexed files (especially recently added ones would not show up or it would take a very long while for some of them to show up).

So I revisited mdutil and related commands while writing a comment on the YouTube movie [Wayback/Archive] How To Rebuild the Spotlight Index on Your Mac – YouTube which since then vanished, but luckily I saved it and here I amended it with formatting:

Read the rest of this entry »

Posted in Apple, Mac, Mac OS X / OS X / MacOS, Power User | Leave a Comment »

Notes in case I want to create my own homebrew cask for installing software they disabled/removed

Posted by jpluimers on 2025/09/16

Some notes as it might enable me to install software that homebrew has deprecated or removed (note that local changes by default are ignored as the brew API takces precedence):

Despite the homebrew repository being a high commit-volume one which makes following it from a clone hard, just did already clone it Read the rest of this entry »

Posted in Apple, Development, DVCS - Distributed Version Control, GitHub, Home brew / homebrew, Mac OS X / OS X / MacOS, Power User, Ruby, Scripting, Software Development, Source Code Management, Versioning | Tagged: , | Leave a Comment »

command line – Why does a cURL request return a percent sign (%) with every request in ZSH? – Stack Overflow

Posted by jpluimers on 2025/07/31

I try to stay on the default shells of environments as much as possible, especially as that makes life easier when needing to work on an non-customised system.

Apple switched back from an ancient latest GPLv2 version 3.2 of bash (they regard newer GPLv3 as toxic to their revenue stream¹), introduced MIT-license based zsh and introduced a bash nag screen a few years ago forcing users to switch. Suppressing that message reliably is trickier than you might think².

After so many years of bash, I still stumble over things that zsh does differently: [Wayback/Archive] command line – Why does a cURL request return a percent sign (%) with every request in ZSH? – Stack Overflow (thanks [Wayback/Archive] Travis and [Wayback/Archive] zaTricky) is a “feature” with a simple workaround for cURL:

This is a zsh feature that prints a percent-and-newline after a command completes if that command does not already include a newline at the end of its output. If zsh did not do this, you would either not ever notice the fact that the command didn’t print a newline – or you’d see zsh’s command prompt not start on the margin and think it was a bug in zsh.

$ curl http://api.macvendors.com/0015c7   
Cisco Systems, Inc%     
$ curl -w '\n' http://api.macvendors.com/0015c7
Cisco Systems, Inc

Since the above example now writes a redirect messages (good bye HTTP, welcome HTTPS), and I very much dislike short command-line parameters, here is version with the long form of the [Wayback/Archive] curl -w or --write-out parameter :

Read the rest of this entry »

Posted in *nix, *nix-tools, Apple, bash, bash, Development, Mac OS X / OS X / MacOS, macOS 14 Sonoma, macOS 15 Sequoia, Power User, Scripting, Software Development, zsh | Leave a Comment »