Installing Node, Bower and Gulp on a cPanel box

Updated for 2018 to use nvm. I've been using Node, npm, bower and gulp in my local Vagrant VM under Ubuntu. However, as one of my current projects will be shuffled off to a cPanel CentOS server soon, I thought I would check how easy it is to install all this on the cPanel side. This mini-how-to assumes you are running the latest cPanel (WHM 11.42.0 (build 23) as of this writing) running on CentOS 6. Assuming you have this configuration, then you will already have git installed and running as required by npm in some instances.

Read more…

Is oh-my-zsh slow?

I've just started using Oh My ZSH and found it to be really slow... but only when in a git repository directory using a theme that display git information (robbyrussell for example). The fix is to…

Read more…

Patch Majordomo to work with DMARC

This patch fixes Majordomo by doing three things:

  1. Change the email From: header to be the email address of the list itself
  2. Add a new variable to Majordomo to allow enabling on a list-by-list basis
  3. Add the Reply-to: header with the email address of the author

Read more…

Replace DB content on the fly

This appears to be a little known fact, so it has earned the right to be posted as a how-to on my site. If you have a database with lots of content and you discover to your dismay that you have made…

Read more…