For all Drupal devlopers who use Emacs!

Posted in: Bailey's Blog, Uncategorized- Dec 14, 2011 No Comments

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

Posted in: Bailey's Blog, Uncategorized- Dec 03, 2011 No Comments

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.

Posted in: Bailey's Blog- Nov 30, 2011 1 Comment

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 [...]