Git clone, ssh: Could not resolve hostname

Tagged git

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

Tagged WordPress

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

Tagged Debian

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

Tagged Typo3 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…)

Redirecting all subdomains to the main domain

Tagged lighttpd

Using the canonical hostname for websites isn’t an obvious problem. After all, who really cares if your site is accessible at www.domain.com and domain.com? Search engines, for example, could penalize you for having the same content on both domains. I think that today they are smart enough to discover this specific case though. (more…)

Opera and the <noscript> tag

When you build websites and test them in various browsers there always are some problems in some browsers. Usually it’s the one you expect who displays things incorrectly. But a few days ago I was surprised when Opera insisted on showing me the contents of a <noscript> tag (more…)

WordPress Fireworks Plugin

Tagged WordPress plugin

This plugin shows fireworks on your WordPress blog. I think it’s pretty stable by now, although the images still aren’t that nice. If you’re a designer and you like this plugin, feel free to submit nicer explosions or rockets. You should be able to see the fireworks on this page.
(more…)