You must install drupal-mode from https://github.com/nyuhuhuu/drupal-mode/blob/master/drupal-mode.el You may need to create the ~/.emacs.d/plugins/drupal-mode-el/ directory to put the drupal-mode.el file into. And on Debian/Ubuntu you will probably have to install the w3m-el package – but after that you have a Drupal specific php-mode called drupal-mode. This fixes the issue whereby arrays in php-mode are not indented in [...]
DO NOT CTRL-ALT-DEL during a boot
I don’t normally do this – but today – in a rush – I hit Ctrl-Alt-Del dring POST on a new HP mail server being set up. And when the server came back up on of the two RAID 1 drives had its amber light on showing drive failure – Doh! I shut the server [...]
Solving the ‘Your branch is ahead of ‘origin/master’ by x commits’ issue after pulling using git.
This is an annoyingly simple issue – so simple that it may not be blogged elsewhere. You have a remote repository and push some code updates to it from a local repository – you then switch to a different local repository and pull down the updated code from the remote repository with: $ git pull [...]
