Here is how to create a Docker container on macOS to “compile” Sass stylesheets to CSS. In my case, I wanted to (re)compile my Bulma-based theme with the latest version 0.9.0 with my variable overrides.
On my MacBook Pro with retina display, when I take a screenshot, the image is saved with a DPI of 144. But, using ImageOptim to compress the image with Strip JPEG/PNG Metadata enabled will remove (or reset) the DPI setting to 72 DPI - resulting in a double sized image when displayed in Preview and Quick Look. Here is how I correct this.
From macOS Catalina 10.5 onwards,
zsh is the default shell, instead of
bash. I have a lot to learn about this shell, and so far, this is how I configured zsh... There is an overload of snippets on-line, but I’ve not seen a post doing what I do, so hopefully this helps someone!
Grrr, to no one’s surprise, my MacBook Pro with butterfly keyboard is experiencing keyboard issues. In my case, a keypress on “j” is often triggered twice, resulting in “jj”. And with the lockdowns, I don’t want to risk a repair! So, here is a quick workaround using Karabiner-Elements v12.9.0.
For me, Microsoft PowerShell is hard! I can’t wrap my mind around data pipelines (
|). Instead, I keep reverting to if/then, loops and other traditional programming paradigms, similar to what I’d do in UNIX shell!
I previously kept Grab.app on Mojave 10.14 by simply copying it over from High Sierra 10.13. I prefer the simplicity of Grab over the new Screenshot.app, and I hate that Screenshot adds a drop shadow.
Most Mac users would use at least a few keyboard shortcuts (if not, check out Apple’s Mac Keyboard Shortcuts list), but here are a few additional key combinations that I find useful. These are less well-known and many are not in Apple’s list.
For a while now, I’ve been posting about compiling Wine on macOS, starting with Wine 1.9 in October 2016, then automating the compile for Wine 2.9 32-bit in May 2017. Now it’s July 2019, and this is probably my last post on the subject - a fully automated script to download and compile Wine 4.12.1 (released 7 July 2019) 32-bit and 64-bit on macOS.
If, like me, you use Parallels Desktop Lite, then I have bad news for you. It's no longer free to run macOS or Linux, so DON'T update it if you still want to use it!
Want to remove macOS services (a.k.a. daemons)?
As in my previous guides for enabling Apache and PHP on Sierra 10.12 and El Capitan 10.11 before that, this post will update the instructions for macOS Mojave 10.14.2 which comes with Apache 2.4.34 and PHP 7.1.19.
So you miss the physical Escape key on your brand new MacBook Pro with Touch Bar? Here's my fix to re-map a seldom used key to Escape.
I know this is very late, but I wanted to post two things I noticed with macOS Mojave regarding the new Screenshot.App tool and Dark Mode.
I got macOS Mojave 10.14 / 10.14.1 installed in Parallels very easily! But encountered some graphics issues with certain apps... and managed to find a workaround.
Did you know you can (sometimes) shrink the size PDF files by apply lossy compression to images? This is a built-in capability with macOS - no third party tools required. Read on...