Chromebook setup

Team Blog
/by
Overview   Installation Crouton project page is at https://github.com/dnschneid/crouton Download from https://goo.gl/fd3zc   Then set up a chroot by opening a terminal, typing shell and then running: $ sudo sh ~/Downloads/crouton -t unity-desktop -r trusty -n trusty-unity-desktop   Then the environment can be logged into by running: $ sudo startunity Set up steps Install extra browsers First of all install the packages...

Calculate Apache settings

Team Blog
/by
Calculate Apache settings To work out a good setting for MaxClients, first find out the average apache process memory use in megabytes. You’ll want to run the following snippet a number of times, and average the results: ps -ef | grep apache2 | grep -v ^$USER | awk '{ print $2...

Installing Xhprof on Ubuntu 14.04 Trusty

Team Blog
/by
OK.  The article here covers this pretty well: https://www.digitalocean.com/community/tutorials/how-to-set-up-xhprof-and-xhgui-for-profiling-php-applications-on-ubuntu-14-04 But I found a couple of points could be better. Procedure: Install the prerequisites. Install xhprof and php5-xhprof using apt - not using PECL.  No real reason - I just prefer to use apt if possible. Install the mongo database server as instructed - but -...

Bitbucket can be confusing

Team Blog
/by
I like things to be clear - and I found Bitbucket's teams, groups, permissions etc a bit confusing. So, after a big look, here's my notes: Repos Are owned by a user or a team. Users can be granted read/write/admin access to a repo. Groups can be granted read/write/admin access to a repo. I...

Completely remove Vagrant machine

Team Blog
/by
The command $ vagrant destroy Removes a virtual machine. It removes the reference to the machine which is held in ~/.vagrant.d and destroys the virtual disk files. However, it leaves and file and a directory behind. So, to completely remove a VM created with $ vagrant init $ vagrant up it...

Essential non-essential Drupal module

Team Blog
/by
Yes - we all know about the essential modules; Views, Rules, Webform, pathauto etc. But I'm going to add in here any other modules which slip under the normal radar and which are useful additions for the average Drupal dev. Starting off with: Special menu items - http://drupal.org/project/special_menu_items/ More goodies to be added...

Decrypting GPG files on Xubuntu

Team Blog
/by
Just a quick one. We're all missing FireGPG - and would love to have it back. In the meantime - I have set up Emacs to be able to encrypt and decrypt GPG files by using EasyPG. http://www.emacswiki.org/emacs/EasyPG I can't remember exactly now - but I think I installed EasyPG via the easypg package...

Monitor the CPU temperature(s) on an HP Elitebook

Team Blog
/by
This is about the best way I found of being able to monitor the temperature on an HP Elitebook. http://ynottech.blogspot.co.uk/2011/12/ubuntu-1110-setting-up-cpu-temperature.html When running the 'sensors-detect' command I selected all defaults apart from allowing the command to edit the configuration file. It looks like coretemp-isa-0000 is where the CPU temperatures are shown.  I can...

Nice answer to the old question of an ‘svn -u status’ equivalent in git

Team Blog
/by
Thought I'd post this up as it's the best answer I've found for the git equivalent of 'svn -u status' http://stackoverflow.com/questions/1138990/git-equivalent-of-svn-status-u There is an excellent explanation of git principles at: http://longair.net/blog/2009/04/16/git-fetch-and-merge/ Basically - what I do is: git fetch This will pull down any new commits which have been uploaded by others to the repository...

For all Drupal devlopers who use Emacs!

Team Blog
/by
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...