PPC Mac partition oddity

I have an old Powerbook and wanted to mount a USB drive I formatted with it on a Linux box. The Linux computer had a custom kernel with mac partition support (CONFIG_MAC_PARTITION). Oddly, the kernel didn’t recognize the partitions on the drive. (more…)

Switching to Openbox

A productive Desktop with two terminals

After a decade of windowmaker and fluxbox I’ve switched to openbox. I was motivated by the fact that some recent fluxbox upgrade left my decor-less urxvtcs visible on all desktops which was rather annoying. Somebody on irc suggested openbox, and after a few minutes I started to like it a lot! (more…)

Change template if content exists in Typo3

If you build sites with Typo3 you might want to use a smart template that uses different markup for different pages. Of course you can define as many templates as you like in Typo3. But what if you want to use a two and a three-column layout, depending on if content in one column exists, and if you don’t know in advance if there is content in that column? The solution is rather easy, do something like in this example: (more…)

Git clone, ssh: Could not resolve hostname

Now this was annoying. I tried a git clone ssh://user@my.host:/path/to/repository and it failed with

Initialized empty Git repository in /current/path/repository/.git/
ssh: Could not resolve hostname my.host:: Name or service not known
fatal: The remote end hung up unexpectedly

(more…)

Moving WordPress comments

Edit: I wrote a plugin to make this easier, see the move WordPress comments plugin page.

Do you sometimes get comments that should be on a different post or page on your WordPress blog? I get such posts from time to time and always wondered how to move them to a different post. It turns out to be quite easy. (more…)

About the nonsense of blocking and annoying IE6 users

I know why most people who do web design, JS coding etc. loathe Internet Explorer 6. I hate having to fix stuff for any IE at all, the web would be a better place if that piece of software just died. I welcome efforts to decrease the market share of IE6, I support nagging warnings for IE6 visitors. But what’s with these nonsensical ideas of making websites look worse in it or blocking it? (more…)

Displaying a smaller banner in an Openx zone

Did you ever want to chain a zone with smaller banners after a zone with big banners in Openx? This sounds like useful feature. We don’t live in the 90s anymore where every page had a pixel-precise table layout. The world has learned how to build fluid layouts. (more…)

Using any Debian box as a wireless access point

I just lost an hour trying to configure a Thinkpad T41 as a wireless access point. Most of that time was due to problems with the built-in wlan interface and a kernel recompile to use a prism54-based PCMCIA card. This is mostly a post to remind myself what to do, and how to do it on Debian. It’s not the first time I create an access point, but I do it so infrequently that I always forget something. (more…)

Preview Openx geotargeting for different countries

Openx is a great open source ad server. If you have more than one website or simply want a flexible system for targeting your ads to the right audience, it’s well worth a look. One of many great features is the built-in Geotargeting plugin. (more…)

Include typo3 content elements on every page

Diesen Beitrag auf Deutsch You often want to include some content on every page of your website. There are a lot of different ways to accomplish this with typo3. Here’s one quick solution: You create a hidden page or a page outside of your site tree, so that it doesn’t show up in your menu. Then you simply add the content you want displayed on all pages to that page. When you hover over the icon next to the title of the content element (the one that lets you copy, cut etc) you see the object’s ID. (more…)