Archive for May, 2006

Remote Server Setup get stuck?

Posted by dre on May 31st, 2006

I was using Server Assistant to do a remote setup of Mac OS X Server, and for some reason Server Assistant hung. When I relaunched it, the target server would not allow me to start over or continue the remote setup, claiming that it was already being remotely configured (clearly it didn’t notice that Server […]

NSTask trickery for long shell pipelines

Posted by dre on May 31st, 2006

I learned a cool trick hack today in the process of trying to help somebody with their cocoa code. Dude was trying to fire an NSTask with some arguments for the current command, and then an additional argument that included the rest of a 3 or 4 stage pipeline. The command in question is /usr/bin/ldapsearch, […]

The /usr/bin/defaults command gives us basic command line access to the Mac OS X preferences system. I say ‘basic’ because it provides no facility for directly operating on any keys / values that are not at the top of the heirarchy. For example:

{8} andre@werk [~] % defaults read com.apple.finder ComputerOptions
{
ComputerListViewColumnFlags = […]

Managing dual boot Macs

Posted by dre on May 30th, 2006

How I learned to stop worrying and image / restore those dastardly windows NTFS partitions:
http://www.bombich.com/mactips/dualboot.html

Feeding back…

Posted by dre on May 28th, 2006

Here is a copy of the modified wucoco theme I’m using.

Nuked the calendar
Moved 100 pixels of width from the right column to the left
Added a ‘pre’ css element assertion
Fixed a small problem with the title middle image (the edges aren’t quite dark enough green
Fixed a spacing problem in the metadata (we now get [cat] | […]

$Greetings

Posted by dre on May 27th, 2006

please stand by
Why not try a couple long lines first. One big problem I had while trying to figure out this layout is exactly how to deal with preformatted text. Since I intend to be pasting lots of code snips and whatnot, I wanted to get this right… The trickiest part is what to do […]