BibDesk: Disable Google Scholar List Parsing Hidden Preference

When using BibDesk to import BibTeX items from Google Scholar I was seeing short beach-ball delays after loading each search page. Some searching turned up a release note entry about a “New hidden preference to disable parsing of Google Scholar result lists in the web group”, but no information on how to enable it. A bit of digging at the code revealed that the BDSKDisableGoogleScholarListParsing key needed to be set to a boolean value in the BibDesk shared preferences. The following defaults command does the trick:

	defaults write edu.ucsd.cs.mmccrack.bibdesk \
		BDSKDisableGoogleScholarListParsing -boolean true

Deleting DigiNotar’s Root Certificate on Mac OS X

Recently a number of fraudulent SSL certificates for high profile websites, including Google, were obtained from the Dutch Certificate Authority DigiNotar.
These certificates could be used to impersonate or intercept legitimate services.
One method for dealing with this situation is to mark DigiNotar’s root certificate as untrusted.
Unfortunately due to a bug in Mac OS X DigiNotar signed EV certificates will still appear to be valid.
To work around this one can delete the certificate from the system trust roots with the following command:

	security delete-certificate -Z \
	 	C060ED44CBD881BD0EF86C0BA287DDCF8167478C \

Kerberos over TCP on OS X 10.7 (Lion)

With the release of Mac OS X 10.7 (Lion) Apple has switched from MIT Kerberos to Heimdal Kerberos.

By default Heimdal will attempt to communicate with KDCs over UDP.
In some cases it is desirable to default to TCP.
Heimdal can be instructed to prefer TCP by prepending the KDC hostnames in /etc/krb5.conf with tcp/.
For example:

			kdc = tcp/
			kdc = tcp/

Xerox Phaser 6120 on Mac OS X 10.6 “Snow Leopard”

Update: It appears that Xerox is now distributing a 10.6 “Snow Leopard” driver package on their website.

According to the Xerox website the Phaser 6120 is not supported in Snow Leopard. However if one downloads the custom PPD file from the OpenPrinting database the printer works perfectly.

Full instructions follow:


Creating an empty git branch and pushing it remotely

Say you wanted to create an empty branch of an existing git repository.  That is a new branch with no history, say to track your project docs.


Bookmarks Not Synchronizing Over .Mac In 10.5.3

After a recent security update I noticed that my bookmarks were no longer synchronizing over .Mac between any of my systems. To fix the issue I had to unregister and reregister Safari’s sync client. Open a terminal and run: /Applications/ --unregistersyncclient This will return NO, then run /Applications/ --register which should return YES.

Rebuilding Software RAID Arrays in OS X 10.5 Leopard

While moving some data between drives today I decided to test the drive build functionality of my external RAID array.
I have an IOI FWBU2SATA35DMR Firewire/USB enclosure with two 500GB SATA drives in a RAID 1 configuration. Following the instructions I powered down the array, removed one of the disks, powered it back up, wrote some data, powered the array down and reinstalled the second drive. To my dismay instead of rebuilding the second disk the drive would begin the rebuild (indicated by the status lights) and then immediately return to 1 good 1 failed. I let this run for a good 12 hours without luck.

So I decided that for my needs the software RAID supplied by OS X would be sufficient. Off to Disk Utility to build the set. Disk Utility allows you to create a mirrored RAID array in a degraded state (preserving any data on the drive) and then add members to the array and rebuild. I created the initial array with a single partition member and then attempted to add the second partition only to receive Unrecognized Filesystem.