Mac OS X

Creating Open Packaging Conventions files with zip on OS X 10.6

The .docx format used by Microsoft is actually a collection of XML files (and other files) and can be opened with zip.

For example, on OS X you can use unzip at the command line to look at the OPC file like this (we'll unzip it into a directory called foo):

$ ls -l
-rw-r--r--@ 1 john  staff    13678 Feb  3 11:52 Ham.docx

Solution to SAS 9.2 Installer Crashing on Windows 7 on VMWare Fusion

When installing SAS on Windows 7, typically you'd right-click on setup.exe and choose Run as Administrator, watch the SAS Deployment Wizard come up and the blue progress bar start moving. But! Then Windows 7 suddenly says "Console Window Host has stopped working." and offers to close the program. The Deployment Wizard may run for a while longer and silently disappear.

The entry in the Windows Application Log is not much help; it just says "Event 1000, Application Error: Faulting application name: conhost.exe".

Using Mac OS X 10.6 to Create a Bootable FreeBSD 8.1 Installer on a USB Memory Stick

Warning. Follow these instructions at your own risk. I am not responsible when you use dd to blow away your kitty pictures.

Download the FreeBSD 8.1 memory stick image from a FreeBSD repository. I picked one from here.

Plug in your USB stick. OS X will mount it.

You want to unmount the volume while keeping the drive available. To do this, open Disk Utility, click on the name of the mounted volume, and click the Unmount button.

Installing BioPerl on Mac OS 10.6 Snow Leopard in 6 Easy Steps

The strategy I used to install BioPerl was as follows:

1. Use MacPorts to install Perl.
2. Use CPAN to install BioPerl.

Here are the nitty gritty details. You need a live internet connection, as both MacPorts and CPAN expect to be able to download packages.

Step One: XCode Tools

Before MacPorts can be installed, XCode Tools needs to be installed. This is free from Apple and can be installed from the original OS X 10.6 DVD or downloaded from Apple's developer site.


Subscribe to RSS - Mac OS X