Being kind of “Solaris-infested” at times (a.k.a. old habits die hard), I had a hard time capturing network-packets on OS X the other day. Not the capturing in itself, but remembering to use tcpdump instead of snoop. The command I was looking for was
sudo tcpdump host [ip-address]
It lists the packets as they go by, regardless […]
Since it bit me a couple of days ago: The AppleScripts to be used as Folder Actions must be stored in ~/Library/Scripts/Folder Action Scripts or /Library/Scripts/Folder Action Scripts.
The former is the location for Scripts available to the user of the account, the latter for all users of a machine. Don’t get fooled by the fact […]
Just a quick tip: Repairing the permissions on an OS X disk can be done from the command-line as well. The only caveat, you have to know the device of the volume. Getting the right device is easy:
diskutil list
The device-node in question is in the column titled IDENTIFIER. The device-path to use is the one […]
If you need to get the dimensions of an image-file via the command-line, let’s say in a script or an AppleScript, then there is a way to do so easily. Enter the scriptable image processing system or short sips. You didn’t know you got that installed on your OS X system alreay? Me neither.
Assume, that […]
Just a quick hint for all the commandline-jockeys: The standard-encoding for new MySQL-Databases on OS X Server 10.5.X is not UTF-8 but latin1.
Do not forget to specify the encoding when creating a new database, seriously. I suspect, that this depends on the language the system is installed in. The system that tricked me was using […]
February 26, 2008 – 9:04 am
OK, here it is. The TextMate DocBook-bundle (click the link to download) I’m using for production.
The emphasis is on I’m using. The bundle contains the entities I need for my daily work. Means, it does not contain all entities which can be used writing books and articles in DocBook. There are no templates, since I’m […]
February 12, 2008 – 2:58 pm
Everybody fantasized, hoped, longed, [you get the picture] about it: the Leopard 10.5.2 Update is soon to be found on Macs wide and far.
No problems so far, none I’m aware of, at least. Don’t forget to repair the permissions before and after the install, though. Seriously. And if you happen to have a recent digital […]
January 11, 2008 – 1:33 pm
Everyone concerned with administering a network containing Apple-machines should bookmark this link:
“Well Known” TCP and UDP ports used by Apple software products
I’ve been told, that the document will be updated on a regular basis.
November 26, 2007 – 3:43 pm
Calculating dates and / or time-values in AppleScript is quite simple, but not that obvious. Here’s how it’s done.
November 19, 2007 – 1:27 pm
How to restore a single entry in Adressbook with Time Machine.