THIS DOESN’T WORK. Logs get confused (logging stops). Haven’t figured out a way to make it *really* work on Leopard.

Receive syslog info from router on iMac (Leopard)
Posted: Nov 28, 2007 6:51 AM in response to: YamaLuha
Solved

To enable your Leopard system to receive network syslog submissions edit /System/Library/LaunchDaemons/com.apple.syslogd.plist and uncomment the lines specified in the comments so that the end of the file looks something like this.

<key>NetworkListener</key>
<dict>
  <key>SockServiceName</key>
  <string>syslog</string>
  <key>SockType</key>
  <string>dgram</string>
</dict>

NB - the NetworkListener is part of the Socket dict entry!!!

Then execute the following commands (wait a few seconds between commands):
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist
sudo launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist

That is enough to get an apple base station to dump it’s log into the system log.

FeedBurner

Why is FeedBurner so hard today?

Sed is the ultimate stream editor. If that sounds strange, picture a stream flowing through a pipe. Okay, you can't see a stream if it's inside a pipe. That's what I get for attempting a flowing analogy. You want literature, read James Joyce.

Anyhow, sed is a marvelous utility. Unfortunately, most people never learn its real power. The language is very simple, but the documentation is terrible. The Solaris on-line manual pages for sed are five pages long, and two of those pages describe the 34 different errors you can get. A program that spends as much space documenting the errors than it does documenting the language has a serious learning curve.

Do not fret! It is not your fault you don't understand sed. I will cover sed completely. But I will describe the features in the order that I learned them. I didn't learn everything at once. You don't need to either.

Sed - An Introduction and Tutorial.

cat /System/Library/CoreServices/backupd.bundle/Contents/Resources/StdExclusions.plist

defaults write com.apple.mail DisableDataDetectors YES


macosxhints.com - 10.5: Enable https on 10.5’s Apache2 web server

This short how-to explains how to get HTTPS/SSL working on Leopard, which uses apache2. First, follow the steps in this hint, but instead of following Step 5, do the following:
Edit /private/etc/apache2/httpd.conf, and uncomment the following line (it’s line 473 in my installation):

Modify as necessary for macports conf/certs

This page Using mod_ssl on Mac OS X is also quite good, useful, handy, whatever.

howto/ccache - MacPorts - Trac

This HOWTO covers how to enable building with ccache. It is a compiler cache. It uses the gcc -E switch and a hash to detect when a compilation can be satisfied from cache. The effect is that packages frequently compile 5-10 times faster than they would otherwise.

We’ll see how this changes behavior - installed 2008-06-06 05:00:00

Daring Fireball: Spaces in 10.5.3

Spaces was one of the new features in Leopard I was most excited about, but I found the actual implementation unusable. Henry Story wrote a fine description of the problems with Spaces in 10.5.0. When I linked to his critique, I wrote:

Double w00t!

Task-based spaces are just wonderful. It works for me.

sudo ipfw add deny src-ip 123.45.67.89, 127.0.0.1/8

That should do the trick.

The following describes what is not backed up by Time Machine, how to get a list of files that are excluded, and a reminder that you need to keep track of those paths that you have excluded via the Time Machine interface.

The list of paths, and the magic command came from Mac OSX Hints.
Read the rest of this entry »