There are 5 articles written in December, 2014

Mocking hard dependencies with Mockery

on December 23, 2014. in Development, Programming. A 2 minute read.

One problem with unit testing legacy applications is that the code has new statements all over the place, instantiating new objects in a way that doesn’t really makes it easier to test the code.

This is the last post about the Thinkpad and Fedora. At least for a while. Promise.

This week I got myself a new laptop, a Thinkpad T540p. One of the features it has is that the battery’s life can be prolonged by setting custom charging thresholds.

Xdebug and private /tmp on Fedora

on December 16, 2014. in Development, Software, Programming. A 1 minute read.

This one was a bit weird and needed some figuring out. Xdebug profiler output files were not being generated in the /tmp directory.

Continue reading Xdebug and private /tmp on Fedora...

Ack in vim

on December 09, 2014. in Development, Software, Programming. A 2 minute read.

I started using vim 3, 4 years ago. The way I use it is that I started out with no plugins and with a handful of lines in .vimrc. It is far too easy to cram all kind of stuff into it and then get lost in the myriads of key combinations. To prevent that, I decided to slowly add in bits and pieces I find lacking in my day to day usage of vim. Also allows me to first learn the editor and later the plugins.

Continue reading Ack in vim...