The Joy of Hex

Drunken Monkey Coding Style with a hint of Carlin humor

Pear Packages installation under Vagrant with Puppet

Jan 7, 2013 - 4 minute read - Comments LinuxPHPPuppetUbuntuVagrant

I have been running Vagrant vm with Puppet for the last 4 months for my development work. Most of the vagrant stuff is pretty straight forward, once you grasp the concepts. This post will assume that you are familiar with Vagrant and Puppet, if you are not this is a great place to start. One aspect of my setup was lacking pear packages installation was prone to errors and as a result of that failed dependencies. More often than not I would get this fun little error message

Getting MAMP to play nice with vhosts

Feb 28, 2012 - 2 minute read - Comments Apacheosx

Front end developers in the team we are a part of are using MAMP to serve their websites localy. Aside from that they had virtually no experience setting up vhosts on it. So I thought I should put this little tutorial to help them out a bit.

Batch file rename from shell

Jan 27, 2012 - 2 minute read - Comments Linuxosx

Recently I needed to reuse some files by renaming them or just parts of the name that have a certain word in it. I started doing it manually, but as you can imagine it is a tedious, lengthy and error prone process. There had to be a better way to do it.

As I have learned in recent months, there usually is and is usually connected with shell/terminal :)

Search and replace text in files from shell

Jan 27, 2012 - 2 minute read - Comments Linuxosx

Recently I needed to reuse some files by replacing certain words in them. I started doing it manually, but as you can imagine it is a tedious, lengthy and error prone process. There had to be a better way to do it.

As I have learned in recent months, there usually is and is usually connected with shell/terminal :)