ownCloud logo

After updating ownCloud to 8, the max file upload suddenly ignored my customizations efforts that were working flawlessly with ownCloud 7. Instead of the configured 4G, ownCloud would cap the max file upload size to 513M (a very odd looking number for the geeky eye). A quick phpinfo() revealed that both upload_max_filesize and post_max_size were locally set to 513M. To the best of my knowledge, the only way to locally override theses options was by using a .htaccess file but since my setup does not use Apache + mod_php but nginx + php-fpm instead (and thus should ignore .htaccess), I was rather confused.

Caution this is Spart^WC

Happy new year :)

2014 has been very busy for me so I did not have much time to write. 2015 seems promising, I'll have more free time for various side projects and — hopefully — posting a little more often.

Also this is a very short follow up post to link a cool paper about Undefined Behaviour in C (I also mirror it here).

As an exercice, feel free to look for UB in the PHP codebase on GitHub (that's pretty easy, you can start by searching "overflow")

Mirroing GitHub

As you may (or may not) know, I swichted a while back from self-hosted mercurial repositories to GitHub. While I'm happy with GitHub, I still want to have my favourites repositories available at hand (if/when GitHub is down).

Although there are already a lot of "backup script" on the net I wanted something very stupid and simple which integrate well with FreeBSD, so I wrote a periodic(8) script.


I am using Rspamd since a while now and I happy with it. In a nutshell Rspamd is a fast, free and extensible spam filtering system.

To be honest I am not a guru when it comes to mail server configuration. Every time I'm hacking something in the mail territory I have to look up what is a MTA, MDA etc. Well, now I think I am kinda good at understanding emails.

Unlike spamassasin, Rspamd was simple to setup and has sane defaults so I adopted it merrily. As a bonus, it has a sexy Web UI.

In this post I'll provide my configuration for a nice integration with the Dovecot antispam plugin.


C was not my first programming language. At some point I figured that there is a lot of Open Source software written in C out there, and contributing would require to learn it.

Recently I've discovered JoeQuery's blog which has a nice learning C series (amongst other really cool stuff). It inspired me to write a post about C.

If you are new to C you'll read a lot about dangerous macros, arrays and pointers, how you should handle dynamic memory allocation etc. All theses points are very important, but here is an attempt to sum up more general concepts that you are less likely to find in most C tutorials. If anything, it's a good summary of what I would have liked to read when learning C (maybe I did but forgot — there are some things you only learn by shooting yourself in the foot).

Cookie Jar

Programming is a lot about reading. You get to read documentation, tutorials, books and of course code. Since I started programming I've been eager to read and my bookshelf has now dozen of geeky books (programming books tends to be quite large).

While crawling in the documentation and books I found gems that I kept preciously in a dusty .quote file in my home folder (I guess everyone has that kind of file). When I find a good quote, I put it there.