Oh My ZSH

I was using ZSH for quite a while now instead of Bash. But thanks to Ryan Bates’ screencast about Oh My ZSH I finally came around to properly configure it and use it to its full potential.

I immediately created my own theme and was able to extract custom plugins out of my previous configuration. One of them might even end up in a pull request. 🙂 I used the custom plugins mechanism to split up and spread my configurations across all of my machines. So now I have a consistent set of configurations and I can activate them individually according to each machine’s purpose (i.e. no need for KDE specific settings on a server 😉 ).

A nice productivity and consistency boost. 😀

Catching bugs in the cloud

I encountered am error when syncing my mobile phone’s address book with ownCloud:

PHP Fatal error: Call to undefined method OCContactsVCard::deleteFromDAVData() in /path_to_owncloud/apps/contacts/lib/connector_sabre.php on line 194″ while reading response header from upstream, client: 0.0.0.0, server: your-server.tld, request: “DELETE /owncloud/apps/contacts/carddav.php/addressbooks/user/default/number.vcf HTTP/1.1”

It turns out there is a slight misnomer in the code. It has been fixed in the development version, but the fix is not yet part of an official release.

I documented my findings on ownCloud’s issue tracker with step by step instructions on how to fix this until there is a fixed release available.

From Courier to Dovecot

Fact

I switched my IMAP server from Courier to Dovecot.

Reason

I was never really fond of Courier. It is a capable but cumbersome system.
Since “everybody” was talking about Dovecot and it was made the default IMAP server for various systems, I decided to try it myself.

Process

Quite easy.

  • Install with Apt.
  • Create the database user for Dovecot.
  • Fiddle with the SQL configuration (don’t forget to uncomment the sql section in dovecot.conf).
  • Fiddle with the directory settings (it still does not take individual mail directories from the database).
  • Change my password in the database (very easy with dovecotpw).
  • Reindex my mails with Thunderbird.

Result

😀