macOS

Installing Java Runtime Engine on Turnkey LAMP Appliance

Turnkey Linux offers a LAMP (Linux Apache MySQL PHP) appliance – an ISO or VM to install or create a pre-configured Linux based web server.  The install is very streamlined offering minimal bloat, as well as many other advantages: pre-installed and configured applications, text GUI configuration on initial boot, configured for automatic updates, based on a Long Term Support (LTS) version of Ubuntu.  However,…

Using git with Xcode

About git Git is a distributed version control system that is easy to use and free.  I will describe the use of git with Xcode on Mac OS X for iPhone development.  Because git is distributed, each client has a full copy of the repository.  This results in great performance in most situations involving the management of source code files. Installation A disk image…

Using rsync and Time Machine for web site backups

Jeff Atwood has declared December 14th, 2009 as International Backup Awareness Day, and with good reason, as his blog, Coding Horror, experienced catastrophic data loss.  Long story short, a disk drive failure on a external hosting server resulted in complete data loss and a recent full backup was not available.  A lengthy, manual restore procedure is under way. Lesson learned: Jeff suggests maintaining your…

Using at for command scheduling under Mac OS X

Mac OS X contains the handy at command for scheduling commands to run at a later time.  at is used to schedule the commands, and the atrun utility is used to execute the jobs.  However, by default the atrun utility isn’t enabled, any jobs scheduled via at will never run, with no particular warning.  The reason given in the man page for atrun is…

File System Compression in HFS+: Space savings and performance gain?

Many modern operating systems offer compression at the individual file level.  This is most useful when it is transparent, allowing all programs and utilities to take advantage of compression without a need for specific programming.  Contrast this with compressed file or archive formats, such as zip, bzip2, gzip, which aren’t typically handled directly by applications and therefore cannot be described as transparent.  As we…

HFS+ and File System Fragmentation

A common question asked by Mac users is: Does my HFS+ file system get fragmented and what should I do about it?  This question is most often asked by those who have experience with the Windows operating system, where defragmentation tools are readily available, visible to the user, and frequently recommended (at least historically).  Apple does not generally recommend defragmentation for HFS+, but let’s…