How To Prevent Spotlight From Indexing External Drives on MacOS

Author: , February 26th, 2021

On MacOSX 10.10.5 Yosemite, I was having trouble with Spotlight preventing the clean eject of an attached hard drive. Using the fuser command allowed me to see that it what the Spotlight-specific mds process preventing the eject.

At first, I tried to disable the indexing via the mdutil command, but that just gave me […]

How To Prevent Automatic HTML Line Breaks

Author: , May 14th, 2020

Recently, I had a list of command-line options in a table, and my browser was automatically inserting a line-break in-between the hyphen and the option character.

To prevent this, I simply added a little CSS:

NOTE: Never use the

HTML directive – it is obsolete!

How To Prevent WordPress from Applying wpautop to a Page or Post

Author: , November 19th, 2019

All credit to Graham Walters for this excellent plugin and post, upon which this post is based – thank you, sir! Recently, a client was having problems using a plugin called by a shortcode. As it turned out, the JavaScript embedded in the returned content was being broken by the WordPress auto-paragraph feature known […]