Extract specific Chef environment from a master template

This is the follow-up article for “Merging Chef JSONs into 1 template“. We are now able to merge environments and role files into 1 master template to manage, how are we gonna extract an environment or a role out of that template.
Continue reading “Extract specific Chef environment from a master template”

Solve zsh cursor positioned at the beginning in zsh history lookup using arrow key for Ubuntu

Zsh under Ubuntu has a strange behaviour. When you have typed some commands and use up arrow key to look back, the cursor is always at the beginning of the line. This can be solved very easily.
Continue reading “Solve zsh cursor positioned at the beginning in zsh history lookup using arrow key for Ubuntu”

Enable Memcached on Remi based PHP install for WordPress

The php stack I am using for blogs and other hosted php websites is from Remi. I am on PHP version 5.6. The memcached plugin was enabled and I never checked its status. I only found out that the memcached is not enabled at all on my websites.

OK I figured this will be a simple task. It is. There are a few things that you need to be cautious about if you are using Remi as php base. The modules will not be loaded magically.
Continue reading “Enable Memcached on Remi based PHP install for WordPress”

Install missing LaTeX styles and definitions

When I was compiling my \LaTeX report, some files are missing:

! Package fontenc Error: Encoding file `eu1enc.def' not found.

An interesting installation of \TeX relatex packages is, you can install the missing files by providing this command:
Continue reading “Install missing LaTeX styles and definitions”