I cannot believe it! I’ve spent all day on this annoying little deficiency (of cURL php library) that wouldn’t let me POST multiple files to remote API.

Continue reading

I had been doing quite a lot of sys administration lately, for fun and professionally. I like adhering to standards and keeping things in respective directories.

The document that describes filesystem hierarchy standard, is quite big. Yes, I had to read it to put my OCD at ease. But here is the cheat sheet for you!

Continue reading

I’m pretty sure canonical had its reasons to make ubuntu iptables rules non-persistent by default. I can imagine situation when playing with rules could result in forcing yourself out of ssh connection. But, this non-persistence is annoying when you have rules set up the way you want it…

Fortunately it is very easy to “fix” this.

Continue reading

There are many ways to generate self signed certificate, but this one is the easiest…

Continue reading

Nothing beats wasting time, coding random bits and pieces.

Continue reading

There are number of situations when you want to create 1 common subdomain for all hosted domains on your server. For example when you want all projects/domains to have webmail access, like so mail.domain1.com, mail.domain2.com etc.

Continue reading

Here is how to make your site multilingual using gettext and php.

Continue reading

Continue reading

I understand, English is de-facto language of the web, and clients rarely need multilingual web apps, but not including gettext in the stock php installed on mac is just silly.

Continue reading

I just wasted fair amount of time configuring memcached on my mac development machine. It should have been easy, but it was not. So I’m going to document my steps which led me to a working configuration. Some of these steps might be unnecessary.

Continue reading