Events in a Zend Expressive application

on August 04, 2016. in Programming, Development. A 6 minute read.

Three weeks ago I wrote a post on how to utilize Tactician in a Zend Expressive application. Today I want to expand on that post a little by adding the possibility to trigger and listen to events using the Zend EventManager component.

Hiking the Uvac special nature reserve

on July 27, 2016. in Free Time, Blablabla. A 6 minute read.

In 2014 my wife Senka and I went on a camping vacation in Greece, on the Lefkas island. It was the first time camping for her, while I did some camping the year before. We quickly realised that we both enjoy camping very much and agreed to go on as many camping trips as possible.

Missing colors for PHPUnit

on July 20, 2016. in Programming, Software, Development. A 1 minute read.

I ran accross a minor issue today that I never experienced before. The colors for the PHPUnit’s output were missing. I had the colors=true directive set in the phpunit.xml configuration file, but the output was just black and white.

Continue reading Missing colors for PHPUnit...

I spent some time connecting the dots last week, so I decided to put together an example on how to get started with using Tactician in a Zend Expressive application. The example itself is not really useful, but it does show how to setup the dependencies and get started with these two libraries.

Setting up SSL certificates with Let's Encrypt

on July 06, 2016. in Development, Software. A 3 minute read.

SSL Report Summary

This past week I finally got around to setting up SSL certificates using Let’s Encrypt. Let’s Encrypt is an open certificate authority that provides free SSL/TLS certificates. It’s goal is to make creating, renewing and using SSL certs painless.

Installing Python2 with Ansible

on June 29, 2016. in Development, Software. A 1 minute read.

Ansible uses Python2 to run the provisioning commands on the host machines. At this time it does not support Python3, which is the default python version in Fedora releases for quite some time now.

Continue reading Installing Python2 with Ansible...

Lately I’ve been playing around with provisioning a PostgreSQL server with Ansible in a local Vagrant machine that runs a Fedora 23 image.

Helping juniors debug

on June 23, 2016. in Programming, Development. A 5 minute read.

These days I spend most of my time reviewing code. Lots and lots of code. It’s mostly written by juniors and some of it is good, some of it is bad. I try to be patient, to be a good mentor, to hopefully teach (and be taught), while not letting out of sight that the most important thing is that the code does the right thing in the right way. The business and the users come first, after all.

Continue reading Helping juniors debug...

Import custom Python modules in Vim plugins

on June 16, 2016. in Programming, Development. A 2 minute read.

This took me a while to figure out so I’m writing it down for future self and anyone else who needs it.

GitHub flavoured code fences in Hugo

on March 28, 2016. in Programming, Software, Development. A 1 minute read.

This was an undocumented feature until today, so I missed it when I was converting my site to Hugo last week. It is also possible to highlight code examples with GitHub flavoured code fences, or, in other words, with triple backticks ```.