Monthly Archives: January 2006

Makikng WP Quit dropping in <p> tags

Here’s how to make WP quit changing HTML: In the wp-includes folder, open up function-formatting.php. Edit the wpautop function to comment out the following line: if ($br) $pee = preg_replace(‘|(?< !)\s*\n|’, “\n”, $pee); // optionally make line breaks This will get rid of all those extra p and br tags. I also added the label

Random Computer Thoughts

Notes to myself from the past few weeks: Sendmail domains that a server thinks it is are controlled by the /etc/mail/local-host-names files, at least on FreeBSD. If you don’t double check that file, you might have a server responding to a domain name it no longer controls. The MySQL Administrator GUI seems a bit iffy

PHP on OSX 10.4.3

Out of the box, at least with 10.4.3, OSX uses PHP 4.3.11. This will NOT work with the newer MySQL password encoding scheme. See here for a quick solution. I should expand on this, but I’m too irritated at the moment after wasting 2 hours on this.

OpenSSH and /etc/hosts in Mac OS X

Mac OS X has “OpenSSH”:http://openssh.org built in. Open the terminal, type ssh hostname and you’re off and running. If you use the -vvv option (that’s 3 lowercase letter v’s), you get the most verbose level of debugging. Each time I attempted to connect to my firewall at home, the connection would time out with a