Mac

Switching Between Platform: Windows and Mac
Some programmers stick to a single operating system or technology stack, but I like to experiment and try new things out. That means, however, that I often jump back and forth between platforms: particularly between Windows and Mac.

Emulating Mac OS 9 on macOS 10.15
Several years ago, I bought an old, colorful iMac G3 running Mac OS 9. It runs my old software wonderfully, but an emulated version of Mac OS 9 on my modern MacBook Pro is just so much more convenient.
Batch Convert 4-Space Indentations to 2-Space
While adding a linter to an old project, I wrote the following bash script to convert 4-space indentations to 2-space indentations. This example recursively looks for *.js files starting at the script’s location. Of course, it can be used for any type of file though by simply changing the extension.
Resize an NSImage Proportionately in Swift
For the past couple of days, I’ve been working on a small project for OS X written in Swift where it was necessary to import an image and scale it down proportionately based on a given width and height.

ScratchPad 1.4.1 Released
Today I’m happy to announce the first new release of ScratchPad in four years.