Howto & Tutorial

TOP

Kaputte Umlaute und UTF-8 Zeichen bei MovableType

MovableType erzeugt statische HTML-Dateien und diese werden per Meta-Tag als UTF-8 definiert, wenn der Blog in UTF-8 geführt wird. Leider überstimmt der Apache diese Vorgabe gerne und liefert die Dateien dennoch ais ISO-8859-1 aus. Alle Umlaute und andere Sonderzeichen werden dann als zwei Zeichen dargestellt.
Weiterlesen
TOP

Setting up MovableType on a basic webspace

A MovableType installation isn't that easy like a WordPress upload, but it has many advantages. This is a little tutorial for setting up MovableType on a basic webspace without SSH access.
Weiterlesen
TOP

Quick JSON pretty reformatter / JSON-tidy

JSON is a commonly used format for data transmission, especially with Ajax calls. It's more structured and easier to process then XML, but could be just a wall of text depending on the creator. This oneliner reformats JSON to look pretty and human-readable.
Weiterlesen
TOP

End tag mismatch - MovableType WordPress Import

I tried MovableType just before setting up WordPress for this blog. It didn't offer the features I wanted (okay, WordPress still doesn't have them, but it promised to have them and so it won). After trying out MT again, I want to have it. But what about my existing articles, comments, settings? That's (the only reason) why I'm still using WordPress.
Weiterlesen
TOP

MovableType oder Wordpress als Blogspot-Blog nutzen

Blogger/Blogspot wollte unbedingt die Blogosphäre neu erfinden und hat die Möglichkeit zum Kommentieren dabei nur halbherzig umgesetzt: Der "De-Facto-Standard" mit Name/Email/URL wird einfach nicht unterstützt, ja standardmässig werden sogar alle Blogger ausgeschlossen, die ihren Blog nicht bei Blogspot haben. Aber es gibt eine Möglichkeit.
Weiterlesen
TOP

MovableType: Veröffentlichen im Hintergrund

Eine der größten - vermutlich sogar die größte - Stärke von MovableType ist die Auslieferung des Contents in Form von statischen Dateien, anstatt ihn bei jedem Zugriff neu dynamisch zu generieren (wie es beispielsweise WordPress macht). Bei großen Blogs kann die Aufbereitung der aller geänderten Seiten allerdings ein wenig Zeit in Anspruch nehmen. Die Lösung heißt Publishing Queue und ist schnell eingerichtet.
Weiterlesen
TOP

Offline-Blogging mit LibreOffice für WordPress, Blogspot & Co.

Bloggen braucht Zeit und wenn ich alle paar Monate sechs oder mehr Stunden in einer Woche im Zug verbringe, nutze ich diese Zeit gerne, um neue Blog-Posts zu schreiben. Leider - oder zum Glück - ist die Internetverbindung im ICE nur begrenzt nutzbar und ein Wordpress-Offline-Blogging-Tool sucht man vergeblich. Jetzt habe ich allerdings eine Zwischenlösung entdeckt.
Weiterlesen
TOP

CRON: User account has expired

Recently, I discovered strange messages in a servers system log. The cron daemon was complaining about an expired user account, but there are no user accounts on this server, which should ever expire.

Weiterlesen
TOP

Wordpress-Installation als Checkliste

Immer mal wieder werde ich gefragt, wie schwer eine WordPress-Installation ist oder ob ich ein Plugin für dieses und jenes kenne. Anno 2011 habe ich schon einmal eine Checkliste gepostet, jetzt ist es Zeit für ein Update.

Weiterlesen
TOP

Connecting to Sybase ASE with Perl's DBI

CPAN has everything. Nearly everything and one of the modules is DBD::Sybase which connects to Microsoft SQL servers as well as Sybase ASE and iAnywhere servers, but there's a trick.
Weiterlesen
TOP

Apache2 mit PHP5-FPM und chroot-Jail

Seit einiger Zeit arbeite ich mit PSGI/Plack, aber erst jetzt weiß ich, wie schön Plackup, Starman & Co. wirklich sind - denn heute wollte ich "mal eben" PHP5 in eine FastCGI-Umgebung schieben. Dafür gibt es den PHP-FPM (FastCGI Process Manager), der mittlerweile wie auch alles andere was nur wenige Leute brauchen Teil des PHP-Core ist und dieser unterstützt sogar die Absicherung der PHP-Scripte mittels chroot - allerdings habe ich keine Anleitung im Internet gefunden, die dieses wichtige Security-Feature tatsächlich nutzt.
Weiterlesen
TOP

Add custom items to Ubuntu NM dnsmasq.conf

The Ubuntu NetworkManager (NM) is great (exept for servers), it's taking care of all network issues up to VPN. NM supports using multiple network connections with multiple DNS servers and probably multiple private domains by running a local DNSmasq process which will forward all lookup requests to the proper nameserver. But the NM is new and still missing some feature - like additional or custom configuration lines for DNSmasq.
Weiterlesen
TOP

Google Drive / Google Docs icon in Ubuntu Unity Starter

I like Google Docs (which is now Google Drive, but I rarely use it as a cloud drive), but Opera and Google Docs aren't good friends and Chrome seems to be the only best browser to use Google's "online office". I like Opera and have no reason switching to Chrome except docs.
Weiterlesen
TOP

Age check with Perl

Kids are discriminated for being kids. They're not allowed to smoke, drink alcohol and use various internet offers. but writing "not for kids" on a homepage barely fulfills legal and real life requirements, software has to calculate the age based on a known date of birth.
Weiterlesen
TOP

DBD::Sybase localization error for de_DE.UTF8

.Sybase ASE is one of my preferred databases and the Express Edition is freeware (thanks, Sybase!) but using the OpenClient driver on a plain German Linux installation issues some error messages:
Weiterlesen