My ramblings about PHP development and system administration

Upgrading Ubuntu 14.04 to 15.04 to 15.10

I was recently tasked with upgrading some Ubuntu 14.04 LTS servers to Ubuntu 15.10. I found out that this upgrade path is troublesome, it causes some problems that took me a while to figure out. Therefor, I decided to write this blog for future reference and hopefully to help other... [Read More]

Bash script to go up several directories

I work inside terminals/shells a lot of my time. I also regularly am in the situtation where I am in a deep subdirectory like: /home/jan/projects/myproject/vendor/SomeVendor/src/Utilities/Regex/ When I am there, I also have a regular need to go back to my “main” project dir. Normally you’d do something like... [Read More]

Synology error LD_PRELOAD cannot be preloaded

A few days ago, when I accessed my Synology NAS over SSH, I noticed some strange error when I ran the ls command: ERROR: ld.so: object ‘/lolz/jynx2.so’ from LD_PRELOAD cannot be preloaded: ignored. I’d... [Read More]

Using CakePHP Code Sniffer with PhpStorm

When working on development, there are two things that I use on a daily basis: The CakePHP web framework and the PhpStorm IDE. Unfortunately PhpStorm has no "native" support for CakePHP yet (as it does for Symfony2 and Yii), although there is a [Read More]

Catching errors on AJAX calls with CakePHP

In many of todays web applications, AJAX requests have a crucial role in the usability. ou don’t want users to have to refresh the page in order to get the data they requested, especially not if it’s in the middle of a form. However, I often see bad error handling... [Read More]