« März 2006 | Main | Mai 2006 »

30.04.06

After spending a few nights I am proud to present the new Blog powered by Movable Type. I admit this has been quite a challenge to install, when it came to installing PERL extensions lets say – but everything is difficult you do it the first time, they say.

But what was most annoying was that i didn't find for quite a moment how to enable the comments – since it was for the comments I abandoned the other blogengine! The solution after all is simple, but you gotta find it: If you haven't activated the "Individual Entry Archive" in the settings, you will not have one single entry per page. And the comments and the form will not show up if you display multiple entries per page.

Moreover I didn't really understand the term "Individual", I always thougt of "customized". But one never ceases learning ... at least I hope so! So now have fun writing comments and sending trackbacks to the entries, I have to take a nap. A big, fat one!

11.04.06

The other day a friend sent me the link to a blogpost entitled like this one. I read the whole thing, but somehow it didn't work as expected. I always got an error upon opening the preferences panes for AutoPairs saying:

Preferences Error
You cannot open AutoPairs preferences pane on this computer. Contact the developer of this software for a newer version.

Very frustrated from this permanent error I wrote a comment to the blog, asking if this was just a hoax or something.

Then, after receiving a mail, I finally understood what to do:
  1. Rename the /Applications/System Preferences.app (lets say to "PPC Prefs.app") of a PPC System and make a ZIP file of it
    or download a diskimage containing the PPC Prefs App from me
  2. Then extract the PPC Prefs App in your Application folder of the Intel System and run it
  3. If you have AutoPairs on your System installed (i.e. it lingers in a Library/PreferencesPanes folder), you will be able to configure AutoPairs as you like, and it works as it used to on the PowerPC Mac!

(... and now I have to get rid again of that damn' reflex of making a closing bracket right after the opening one *g*)

2.04.06

Recently I discovered a quite handy thing: you can execute any PHP from the terminal using
% php my_script.php

Why would you want to do so? Because
  • no restriction in run time duration
  • runs with user or superuser rights
    % sudo php script.php
  • output can be redirected easily into a file
    % sudo php script.php > output.txt

More information on using PHP from the CLI in the PHP documentation.