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

Install an old version with homebrew for macOS · GitHub

Posted by jpluimers on 2025/01/21

Fork of a repository that shows how to do this with normal Homebrew installs [Wayback/Archive] Install an old version with homebrew for macOS · GitHub has my notes to do a similar thing with Homebrew cask installs.

Fork of: [Wayback/Archive] Install an old version with homebrew for macOS · GitHub.

TODO: check notes to ensure they really work on a different system and were not a lucky shot.

Notes:

Read the rest of this entry »

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

iTerm2 logged passwords: immediately upgrade to 3.5.11 and delete any /tmp/framer.txt on your systems – via isotopp Kris at Infosec Exchange

Posted by jpluimers on 2025/01/03

[Wayback/Archive] Kris: “iTerm2 logged passwords …” – Infosec Exchange

iTerm2 logged passwords

If you are running iTerm2 on MacOS with ssh integration (it2ssh or Settings -> General -> Profiles, set to SSH instead of Command) you want to
  1. Upgrade
  2. Find /tmp/framer.txt on all systems you generally log into and delete it
If you manage systems with MacOS users, good luck.

[Wayback/Archive] https://iterm2.com/downloads/stable/iTerm2-3_5_11.changelog affected versions:

Read the rest of this entry »

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

How to extract playlists (list of file locations) from iTunes using python – Stack Overflow

Posted by jpluimers on 2024/12/18

While migrating from iTunes on one machine to Apple Music on another one, I needed to migrate part of the (disorganised) playlists.

I knew there was a binary ~/Music/iTunes/iTunes Library.itl file, but that is encoded or encrypted, making it hard to parse.

Luckily there is also ~/Music/iTunes/iTunes Music Library.xml which I found via the links below.

Read the rest of this entry »

Posted in Apple, Development, iTunes, Mac OS X / OS X / MacOS, Power User, Python, Scripting, Software Development, XML, XML/XSD | Leave a Comment »

I really dislike MacOS choosing machine names, and having the long machine names and short hostnames in separate places to change (one of them command-line only)

Posted by jpluimers on 2024/12/05

After installing my Apple Silicon MacBook, I found out my machine had gotten named automatically in two different ways:

  1. readable name Jeroen’s Macbook Pro
  2. full name Jeroens-MacBook-Pro
  3. local hostname Jeroens-MacBook-Pro.local
  4. actual hostname Jeroens-MBP
  5. HostName from scutil

A few reasons I dislike that:

  • Having 5 different names for the same machine creates a mess
  • They chose for me where I like to choose myself
  • They use spaces, quotes and hyphens where I like single a complete word
  • They use mixed case where I like single case (preferably lower case) as not all other computers handle mixed case well

Finding out how to fix all this was a tedious job as I had to keep refining queries:

Read the rest of this entry »

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

Not just on a new tab: MacOS chrome crashes when command + shift + i is pressed on a new tab [333424895] – Chromium

Posted by jpluimers on 2024/11/23

April 2024 this bug was reported: [Wayback/Archive] chrome crashes when command + shift + i is pressed on a new tab [333424895] – Chromium

That one was fixed, but it looks shortcuts like Command (⌘) + Shift + I still break Chrome when used on a tab pointing to a web-site.

Hopefully the original fix at [Wayback/Archive] Fix crash in sharing menu (5449679) · Gerrit Code Review will help people fixing the standing issue as well.

Related (I plan to file a bug report when the number of my open tabs is closer to zero from the current 200+):

Read the rest of this entry »

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

Unprotect a Word Doc on Mac – YouTube

Posted by jpluimers on 2024/04/22

Needed these (in retrospect) simple steps because someone made a form with so much whitespace under the fields on a document that had to be printed for a physical signatures that otherwise too many trees would die.

[Wayback/Archive] Unprotect a Word Doc on Mac – YouTube.

Via [Wayback/Archive] word 2011 macos unprotect document – Recherche Google.

  1. In the menu, choose “File” -> “Save As…”
  2. Click “Options…”
  3. Click “Show All”
  4. Click “Security”
  5. Click “Unprotect Document…”
  6. Click “OK”
  7. Click “Save”

–jeroen

Read the rest of this entry »

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

Be aware: do not skip MacOS full upgrades (as you might miss out crucial firmware updates)

Posted by jpluimers on 2024/04/08

One of the odd things with Apple computers it that firmware updates are part of the MacOS updates.

From this Dutch thread:

[Wayback/Archive] WheelieNick on Twitter: “@jpluimers Welke firmware precies weet ik niet maar je moet er vanuit gaan als je naar iets wat boven high sierra staat wil gaan dat je altijd eerst naar high siërra moet. Niet van normaal siërra naar big sur bijvoorbeeld. Ik doe trouwens altijd tussenstappen, dus van high siërra naar”

I have bumped into this myself where I skipped an upgrade, then the Mac would not recognise certain media formatted with Apple File System – Wikipedia using intermediate versions of MacOS.

The intermediate versions of MacOS had introduced some firmware changes the newer MacOS version upgrade did not apply.

–jeroen

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

Excel 2011/2010: Conditional formatting of TRUE / FALSE values in an Excel range

Posted by jpluimers on 2024/02/13

The conditional formatting feature in Excel is so cool!

If you use FALSE and TRUE expressions to check validity, you can easily make these red and green.

[Wayback/Archive] Conditional formatting of TRUE / FALSE values in an Excel 2010 range – Super User (thanks [Wayback/Archive] tbone for asking and [Wayback/Archive] digitxp for answering):

Read the rest of this entry »

Posted in Apple, Excel, Mac, Mac OS X / OS X / MacOS, Office, Office 2010, Office 2011 for Mac, Power User, Windows | Leave a Comment »

Preventing to eject/unmount a MacOS drive (opposite of figuring out what prevents the unmount)

Posted by jpluimers on 2024/02/01

Not long after Figuring out which processes are preventing to eject/unmount my MacOS Time Machine backup USB drive, I wanted to do the opposite: prevent /Volumes/Sandisk1TB from being ejected, as this is the “built-in” MicroSD card I use to store large or infrequently used files on (ISO and other disk images, drivers, hardware and software documentation, stuff to be installed on a fresh machine).

The opposite is straightforward: have a process keep at least one handle open on the Volume as per [Wayback] macos – How do I not accidentally eject external drives? – Ask Different (thanks [Wayback] kLy, [Wayback] dan and [Wayback] gerlos):

If your important external drive is mounted on the following mount point:

/Volumes/important_disk

Then you can protect it against an accidental removal by locking this mount point as opened. For this one very simple method consists in opening Terminal and doing this basic command:

$ cd /Volumes/important_disk

To get rid of this locking, you might type within the same Terminal window:

$ cd /

or you might as well just close this Terminal window ($ exit, or +D, or +W).

An even more elegant way to do it is open a screen session (just type screen in Terminal) and open the mount point from that session. This way you can even close Terminal, since the session will keep running in the background, until you reattach it and stop it (so there’s no need to keep a window open if you don’t need it). I guess you can even create an Automator action for it. For tips on screen see: [Wayback] kinnetica.com/2011/05/29/using-screen-on-mac-os-x

–jeroen

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

Print large PDF in Preview over several pages… – Apple Community

Posted by jpluimers on 2023/12/22

Summary of [Wayback/Archive] Print large PDF in Preview over several pages… – Apple Community:

  • Preview cannot
  • Acrobat Reader (formerly Adobe Reader) can; it is called “Poster” (also on Windows)

Via [Wayback/Archive] macos print pdf scaled over two pages – Google Search.

–jeroen

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