Speed up SSH Logins

Ever since some upgrade of my Ubuntu workstation it would took forever (10-15 seconds) to login to remote hosts using ssh. The solution is quite easy. Edit /etc/ssh/ssh_config and make sure you have set the following options:

    GSSAPIAuthentication no
    AddressFamily inet

Since I made these changes ssh logins again work in no time.

Dringend benötigte Management-Seminare

Eine sicherlich unvollständige Liste der Seminare, die jeder “Manager” doch bitte danke einmal besucht haben sollte:

  • Die Kunst, E-Mails bis zum Ende zu lesen
  • E-Mails verstehen: Einfacher als man denkt!
  • Umgekehrte Proportionalität: Textmenge und Qualität des Inhalts von E-Mails
  • Richtig antworten – Teil 1: Vorher auf die Frage achten!
  • Richtig antworten – Teil 2: Die Frage nochmal lesen!
  • Richtig antworten – Teil 3: Passt meine Antwort wirklich zur Frage?

Continue reading

What I Really Hate About Windows

I don’t run Windows regularly. I use Mac OS X. I use Ubuntu. I use Solaris. But when I need to run Windows it will never, ever fail to remind me why I don’t run Windows. It’s as simple as that. If updates are available, Mac OS X will inform me. Ubuntu will inform me. And if I told it to do so, Solaris will inform me. But all of these systems will never fucking ever *reboot* my machine just because they *thought* it’d be necessary. And even if they did have a function like that, they’d sure as hell be intelligent enough to find out that there are tasks running and stop or at least postpone the reboot. Oh well, after all it’s Windows I’m ranting about here ;)
Continue reading

As If You Were In China

ChinaChannel FireFox AddonThe Firefox add-on China Channel offers internet user outside China to surf the web as if they were in China. Take an unforgetable virtual trip to China and experience the technical expertise of the Chinese Ministry of Information Industry (supported by western companies).
Or watch the video first.

Duct Tapes n’Elbow Grease

Duct Tapes'n Elbow GreaseThis photo was taken with a $45 point-and-shoot, and it wasn’t by an astronaut sitting in a space shuttle! Two regular guys sent their cheapoid camera 27 miles up into the sky by attaching it to a balloon! Duct tapes n’ elbow grease is all it takes sometimes, kids.

[ Watch how they did it >>> ]

[Thanks, Mischa]
Continue reading

Scan Magic With Scan Tailor

If you do a lot of newspaper scanning you know the problem: grey backgrounds, blurry pictures. No longer. Using Scan Tailor, a high quality scan is just six mouse clicks away. Scan Tailor is available for Windows and Linux – and it’s free as in free beer. Would someone please port this to the Mac?

Before Scan Tailor

Before

After Scan Tailor

6 clicks Later

Scan Tailor not only optimizes the pictures and cleans the background. It also deskews the image and can handle multiple images in one go.
Continue reading

Belkin PlayMax Saves The Day

Belkin PlayMax Router - not a beauty but has powers within ;)
Today seems to be one of these days again. Just when I started working on some projects my wireless router died. LuckilyBelkin has sent me a PlayMax router just a couple of days ago so I decided to use that one as a drop-in replacement. Installing the hardware was a breeze since all cables were already attached. Connecting to my home network only required to plug in one additional network cable. I skipped configuration and used the credentials provided on the card attached to the router to connect to the wireless network. No problems there either so I was up and running again in under five minutes. Nice: from my first judgement the PlayMax has an enhanced coverage zone. Signal strength on my Macbook Pro is a lot better than with the old WLAN router. So my first impression is very positive, we’ll see how it plays out in the long run.

{openx:6}

Building A 64-bit Resin On Solaris 10 Using SunStudio 12u1

This has been bothering me for quite some time. Resin is one of the best application servers I’ve come across. But to get the best performance out of it, you need to recompile it for your platform. While this is no problem on Linux it never quite worked out on Solaris for me when using SunStudio 12. But now I finally made it happen. Here’s how.
Continue reading

Porting For The Sun: The Zlib Problem (ld.so.1: exe: fatal: relocation error: R_AMD64_32:)

With the recent update of the Sun Studio 12 compiler set I started seeing errors like this when compiling for example MySQL from source:

ld.so.1: exe: fatal: relocation error: R_AMD64_32:

Turns out that it was Zlib 1.2.5 causing the problem.
Continue reading

Bash: Dynamic Variables

Every once in a while I need to use dynamic variables in shell scripts for doing things like

echo ${{$foo}_bar}

but unfortunately it won’t work like shown in the example above.
What will work however is this:
Continue reading

WordPress 3.0: In the Update-Loop

After updating my WordPress installation to 3.0 I was stuck in the Update Loop. Every time I tried to access the admin interface WordPress would send me to the database update page where it then would say “No Update Required”. Turns out that WP-Cache was the culprit. After killing and restarting my memcache daemon I was finally able to complete the upgrade and manage WordPress again. What will take some more time to fix will be all the remaining problems like no longer working JavaScript functions.
Continue reading

Schlimmer geht immer

Immer wenn ich denke, jetzt kann Werbung nicht mehr schrottiger werden, kommt ein neuer Held ums Eck und belehrt mich eines Besseren.

Continue reading

Dnsmasq for ReadyNAS (Sparc & Intel)

Two things I’ve always missed on the ReadyNAS were a DNS server to serve my local network and a fully fledged DHCP server allowing me to assign IP addresses to my machines based on their MAC address. Dnsmasq can do both and more. It even integrates a TFTP/BOOTP/PXE server to boot diskless machines off the network. So I dived into the realms of add-on programming again and baked some add-ons ;)

Continue reading

Hard Typing Ahead

This camera module is known to be mounted upside-down in some notebooks. Applications that use the libv4l library should display the video correctly, as libv4l detects upside-down cameras and rotates the image automatically. See Hans de Goede’s post on the linux-uvc-devel mailing list for more information. For applications that don’t use libv4l, try holding your computer upside-down.

From the Linux-UVC wiki.
Continue reading