Category Archives: Mac

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.

Also posted in Development, Linux, Server | Tagged , , , , | Leave a comment

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.

Also posted in Development, Mac Development | Tagged , , , , | 2 Comments

ScratchPad 1.4.1 Released

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

Also posted in Mac Development, Projects, ScratchPad | 5 Comments

Show Recent Applications in the OS X Dock

There is a little-known trick I have used for years in OS X which lets you display your most recently opened applications in a Stack in the Dock next to the Trash. This is an integral part of my workflow in OS X because it is far more convenient than having to go up to … more »

Tagged , , | 2 Comments

The State of ScratchPad

Since it’s been a few months since I wrote my last progress update on ScratchPad 2.0, I thought I would write a bit about where the development of the new version currently stands. Although ScratchPad isn’t a particularly complex program, rewriting the whole thing from the ground up is still a time-consuming process. Unfortunately, it … more »

Also posted in Mac Development, Projects, ScratchPad | Leave a comment

Old iMac G3 and Mac OS 9

I just recently purchased a new iMac G3. Of course Apple hasn’t sold iMac G3s in nearly fifteen years and this one was purchased new in 2000. But that doesn’t mean it’s not new to me. The first question that I’ve been asked is why I would spend money on a computer that is fifteen … more »

Tagged , , , , | 2 Comments

Why Mozilla has abandoned Mac users

Mozilla’s flagship browser was, for a long time, the top browser pushing the threshold of browser technology, dethroning the king of all browsers, Internet Explorer, and driving the web to new possibilities. For the past couple of years, however, it seems to have been rapidly declining overall in quality — especially for Mac users. With … more »

Also posted in Browsers | Tagged , | Leave a comment

Why I use a Mac

When I tell most people that I use a Mac as a developer they have an odd reaction. They look at Macs as being more like a toy computer rather than a machine which can get any actual work done. That is especially true when it comes to development of any sort. This is, however, … more »

Tagged | Leave a comment