<p>Testing a patch file is usually a two-step process. First you download the patch file from the source, and then you run a separate command to apply it.</p>
<p>You can save time and typing by running the two commands on one line:</p>
<ahref="/blog/2013/12/24/quickly-apply-patches-using-git-and-curl-or-wget">Read more →</a>
<p><ahref="http://www.vagrantup.com"title="About Vagrant">Vagrant</a> is a tool for managing virtual machines within <ahref="https://www.virtualbox.org">VirtualBox</a> from the command line. Here are some useful commands to know when using Vagrant.</p>
<ahref="/blog/2013/11/27/useful-vagrant-commands">Read more →</a>
<p>There are times when doing Drupal development when you need to run a custom PHP script, maybe moving data from one field to another, that doesn't warrant the time and effort to create a custom module. In this scenario, it would be quicker to write a .php script and bootstrap Drupal to gain access to functions like <code>node_load()</code> and <code>db_query()</code>.</p>
<p>To bootstrap Drupal, you would need to add some additional lines of code to the stop of your script. Here is an alternative way.</p>
<ahref="/blog/2013/11/19/dont-bootstrap-drupal-use-drush">Read more →</a>
<p>How to use <ahref="https://drupal.org/project/drush">Drush</a> to quickly build a new sub-theme of <ahref="https://drupal.org/project/zen">Zen</a>.</p>
<ahref="/blog/2013/09/06/create-a-zen-sub-theme-using-drush">Read more →</a>
<p><ahref="http://www.precedent.co.uk">Precedent</a> are sending myself and two of our other Drupal Developers to <ahref="http://prague2013.drupal.org">Drupalcon Prague</a>.</p>
<ahref="/blog/2013/07/26/going-drupalcon">Read more →</a>
</li>
<liclass="post">
<h2>Creating Local and Staging sites with Drupal's Domain Module Enabled</h2>
<p>The <ahref="https://drupal.org/project/domain"title="The Domain Access project on Drupal.org">Domain Access project</a> is a suite of modules that provide tools for running a group of affiliated sites from one Drupal installation and a single shared database. The issue is that the domains are stored within the database so these are copied across when the data is migrated between environments, whereas the domains are obviously going to change.</p>
<p>Rather than changing the domain settings within the Domain module itself, the best solution I think is to use table prefixes and create a different domain table per environment.</p>
<ahref="/blog/2013/07/17/creating-local-and-staging-sites-drupals-domain-module-enabled">Read more →</a>
</li>
<liclass="post">
<h2>Some useful links for using SimpleTest in Drupal</h2>
<p>Whilst watching <ahref="http://drupalize.me"title="Drupalize.me">Drupalize.me</a>'s recent <ahref="http://drupalize.me/series/introduction-git-series"title="Introduction to Git on Drupalize.me">Introduction to Git series</a>, I thought it was useful the way that the current Git branch or tag name was displayed in the bash prompt. Here's how to do it.</p>
<ahref="/blog/2013/04/27/display-git-branch-or-tag-names-your-bash-prompt">Read more →</a>
<p>Yesterday was my last day working at <ahref="http://www.nomensa.com"title="Nomensa">Nomensa</a>. Next week, I'll be starting as a Senior Developer at <ahref="http://www.precedent.co.uk"title="Precedent">Precedent</a>.</p>
<ahref="/blog/2013/04/20/leaving-nomensa-joining-precedent">Read more →</a>
</li>
<liclass="post">
<h2>The Quickest way to Install Sublime Text 2 in Ubuntu</h2>
<pclass="posted text-light">2nd March 2013</p>
<p>After reading numerous blog posts about how to install <ahref="http://www.sublimetext.com/2"title="Sublime Text 2">Sublime Text 2</a> in <ahref="http://www.ubuntu.com/2"title="Ubuntu">Ubuntu</a>, this is definitely the quickest way!</p>
<ahref="/blog/2013/03/02/quickest-way-install-sublime-text-2-ubuntu">Read more →</a>