<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Muffin Research Labs &#187; Snippets</title>
	<atom:link href="http://muffinresearch.co.uk/archives/category/snippets/feed/" rel="self" type="application/rss+xml" />
	<link>http://muffinresearch.co.uk</link>
	<description>the personal blog of Stuart Colville covering modern web development techniques and best practices</description>
	<lastBuildDate>Thu, 15 Mar 2012 10:10:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>GNU screen: open tab in current working directory</title>
		<link>http://muffinresearch.co.uk/archives/2011/11/08/gnu-screen-open-tab-in-current-working-directory/</link>
		<comments>http://muffinresearch.co.uk/archives/2011/11/08/gnu-screen-open-tab-in-current-working-directory/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 10:54:18 +0000</pubDate>
		<dc:creator>Stuart Colville</dc:creator>
				<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://muffinresearch.co.uk/?p=1228</guid>
		<description><![CDATA[A nice trick for having screen open a new tab in the same directory as the one you&#8217;re currently in. To use it add it to your .screenrc # Open new window in current dir. bind c stuff "screen -X chdir \$PWD;screen^M" bind ^c stuff "screen -X chdir \$PWD;screen^M" Hat tip: mteckert on SuperUser.com]]></description>
			<content:encoded><![CDATA[<p>A nice trick for having screen open a new tab in the same directory as the one you&#8217;re currently in. To use it add it to your .screenrc</p>
<p><code># Open new window in current dir.<br />
bind c stuff "screen -X chdir \$PWD;screen^M"<br />
bind ^c stuff "screen -X chdir \$PWD;screen^M"</code></p>
<p>Hat tip: <a href="http://superuser.com/users/83362/mteckert" target="_blank">mteckert</a> on <a href="http://superuser.com/questions/291907/using-screenrc-how-can-i-make-c-a-c-open-a-new-window-at-the-current-windows" target="_blank">SuperUser.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://muffinresearch.co.uk/archives/2011/11/08/gnu-screen-open-tab-in-current-working-directory/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu: add-apt-repository: command not found</title>
		<link>http://muffinresearch.co.uk/archives/2011/08/31/ubuntu-add-apt-repository-command-not-found/</link>
		<comments>http://muffinresearch.co.uk/archives/2011/08/31/ubuntu-add-apt-repository-command-not-found/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 01:10:37 +0000</pubDate>
		<dc:creator>Stuart Colville</dc:creator>
				<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://muffinresearch.co.uk/?p=1174</guid>
		<description><![CDATA[When you&#8217;re using a minimal Ubuntu install if you find the &#8216;add-apt-repository&#8217; command is missing (it&#8217;s useful for adding PPAs and other repositories), then simply run: sudo apt-get install python-software-properties]]></description>
			<content:encoded><![CDATA[<p>When you&#8217;re using a minimal Ubuntu install if you find the &#8216;add-apt-repository&#8217; command is missing (it&#8217;s useful for adding PPAs and other repositories), then simply run: </p>
<p><code>sudo apt-get install python-software-properties</code></p>
]]></content:encoded>
			<wfw:commentRss>http://muffinresearch.co.uk/archives/2011/08/31/ubuntu-add-apt-repository-command-not-found/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Brewing with a French Press</title>
		<link>http://muffinresearch.co.uk/archives/2010/09/06/brewing-with-a-french-press/</link>
		<comments>http://muffinresearch.co.uk/archives/2010/09/06/brewing-with-a-french-press/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 21:26:33 +0000</pubDate>
		<dc:creator>Stuart Colville</dc:creator>
				<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://muffinresearch.co.uk/?p=978</guid>
		<description><![CDATA[My Coffee Brewing alter ego has been hard at work on a post about brewing the perfect French Press. Warning contains extreme coffee nerdery, though don&#8217;t let that put you off!]]></description>
			<content:encoded><![CDATA[<p>My Coffee Brewing alter ego has been hard at work on a post about <a href="http://caferesearch.co.uk/post/1077277952/how-to-use-a-french-press">brewing the perfect French Press</a>. Warning contains extreme coffee nerdery, though don&#8217;t let that put you off!</p>
]]></content:encoded>
			<wfw:commentRss>http://muffinresearch.co.uk/archives/2010/09/06/brewing-with-a-french-press/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Loggerhead with mod_wsgi</title>
		<link>http://muffinresearch.co.uk/archives/2009/12/05/using-loggerhead-with-mod_wsgi/</link>
		<comments>http://muffinresearch.co.uk/archives/2009/12/05/using-loggerhead-with-mod_wsgi/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 14:09:37 +0000</pubDate>
		<dc:creator>Stuart Colville</dc:creator>
				<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://muffinresearch.co.uk/?p=788</guid>
		<description><![CDATA[Here&#8217;s a post I wrote over on the Project Fondue Blog about our use of Loggerhead with mod_wsgi under Apache. Loggerhead is the rather nice branch viewer for bazaar branches as used on Launchpad.net. If you&#8217;re not already subscribed to the Project Fondue blog feed then I can recommend it, as there should be some [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a post I wrote over on the <a href="http://blog.projectfondue.com/">Project Fondue Blog</a> about our use of <a href="http://blog.projectfondue.com/2009/11/26/loggerhead-and-mod-wsgi">Loggerhead with mod_wsgi under Apache</a>. Loggerhead is the rather nice branch viewer for bazaar branches as used on Launchpad.net.</p>
<p>If you&#8217;re not already subscribed to the <a href="http://feeds.feedburner.com/projectfondue/posts">Project Fondue blog feed</a> then I can recommend it, as there should be some interesting posts coming out of there in the coming months  (yes I&#8217;m unashamedly biased!).</p>
]]></content:encoded>
			<wfw:commentRss>http://muffinresearch.co.uk/archives/2009/12/05/using-loggerhead-with-mod_wsgi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu: Turn off changing workspace with mouse wheel</title>
		<link>http://muffinresearch.co.uk/archives/2009/06/02/ubuntu-turn-off-changing-workspace-with-mouse-wheel/</link>
		<comments>http://muffinresearch.co.uk/archives/2009/06/02/ubuntu-turn-off-changing-workspace-with-mouse-wheel/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 09:21:30 +0000</pubDate>
		<dc:creator>Stuart Colville</dc:creator>
				<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://muffinresearch.co.uk/?p=616</guid>
		<description><![CDATA[I found the changing with the workspace with the mouse wheel really annoying. To disable it go to System => Preferences => CompizConfig (available if the compizconfig-settings-manager package is installed) and uncheck &#8220;Viewport Switcher&#8221; which is under the &#8220;Desktop&#8221; heading.]]></description>
			<content:encoded><![CDATA[<p>I found the changing with the workspace with the mouse wheel really annoying. To disable it go to  System => Preferences => CompizConfig (available if the compizconfig-settings-manager package is installed) and uncheck &#8220;Viewport Switcher&#8221; which is under the &#8220;Desktop&#8221; heading.</p>
]]></content:encoded>
			<wfw:commentRss>http://muffinresearch.co.uk/archives/2009/06/02/ubuntu-turn-off-changing-workspace-with-mouse-wheel/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ubuntu: Mounting a TrueCrypt volume at startup or from the CLI</title>
		<link>http://muffinresearch.co.uk/archives/2009/04/05/ubuntu-mounting-a-truecrypt-volume-at-startup-or-from-the-cli/</link>
		<comments>http://muffinresearch.co.uk/archives/2009/04/05/ubuntu-mounting-a-truecrypt-volume-at-startup-or-from-the-cli/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 16:07:48 +0000</pubDate>
		<dc:creator>Stuart Colville</dc:creator>
				<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://muffinresearch.co.uk/?p=545</guid>
		<description><![CDATA[All you need is a mount point e.g: mkdir /media/ and then use the following: truecrypt /path/to/truecrypt/diskimage /media/. This is handy when you want to mount a truecrypt image at start-up or just do it quickly from a shell. It&#8217;s far more direct than using the GUI.]]></description>
			<content:encoded><![CDATA[<p>All you need is a mount point e.g: <code>mkdir /media/<mountpoint></code> and then use the following: <code>truecrypt /path/to/truecrypt/diskimage /media/<mountpoint></code>. This is handy when you want to mount a truecrypt image at start-up or just do it quickly from a shell. It&#8217;s far more direct than using the GUI.</p>
]]></content:encoded>
			<wfw:commentRss>http://muffinresearch.co.uk/archives/2009/04/05/ubuntu-mounting-a-truecrypt-volume-at-startup-or-from-the-cli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OSX: Visor Development on Github</title>
		<link>http://muffinresearch.co.uk/archives/2009/03/11/mac-osx-visor-development-on-github/</link>
		<comments>http://muffinresearch.co.uk/archives/2009/03/11/mac-osx-visor-development-on-github/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 17:24:35 +0000</pubDate>
		<dc:creator>Stuart Colville</dc:creator>
				<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://muffinresearch.co.uk/?p=540</guid>
		<description><![CDATA[I&#8217;ve been using Visor (the drop-down Quake style terminal) for a little while and recently discovered the development of the project has moved to github from it&#8217;s original home at blacktree. The latest versions of the app fix a lot of the annoying niggles with the last blacktree versions. Well worth updating to the latest [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using Visor (the drop-down Quake style terminal) for a little while and recently discovered the development of the project has moved  to github from it&#8217;s original home at <a href="http://www.blacktree.com/projects/visor.html">blacktree</a>. The latest versions of the app fix a lot of the annoying niggles with the last blacktree versions. Well worth updating to the latest and greatest if you haven&#8217;t already <a href="http://github.com/darwin/visor/tree/master">http://github.com/darwin/visor/tree/master</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://muffinresearch.co.uk/archives/2009/03/11/mac-osx-visor-development-on-github/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install lxml on OSX</title>
		<link>http://muffinresearch.co.uk/archives/2009/03/05/install-lxml-on-osx/</link>
		<comments>http://muffinresearch.co.uk/archives/2009/03/05/install-lxml-on-osx/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 23:10:30 +0000</pubDate>
		<dc:creator>Stuart Colville</dc:creator>
				<category><![CDATA[Muffin Research Labs]]></category>
		<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://muffinresearch.co.uk/?p=522</guid>
		<description><![CDATA[Thanks to this post on lxml from Ian Bicking I&#8217;ve found the following command is all that&#8217;s required to install lxml on Mac OSX: STATIC_DEPS=true easy_install 'lxml>=2.2beta4' STATIC_DEPS=true sudo easy_install 'lxml>=2.2beta4' The first run without &#8220;sudo&#8221; pulls down the necessary libxml and libxslt and then the second run provides the permissions to install the egg.]]></description>
			<content:encoded><![CDATA[<p>Thanks to <a href="http://blog.ianbicking.org/2008/12/10/lxml-an-underappreciated-web-scraping-library/">this post on lxml from Ian Bicking</a> I&#8217;ve found the following command is all that&#8217;s required to install lxml on Mac OSX:</p>
<p><code>STATIC_DEPS=true easy_install 'lxml>=2.2beta4'<br />
STATIC_DEPS=true sudo easy_install 'lxml>=2.2beta4'</code></p>
<p>The first run without &#8220;sudo&#8221; pulls down the necessary libxml and libxslt and then the second run provides the permissions to install the egg.</p>
]]></content:encoded>
			<wfw:commentRss>http://muffinresearch.co.uk/archives/2009/03/05/install-lxml-on-osx/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>EuroDjangoCon Prague</title>
		<link>http://muffinresearch.co.uk/archives/2009/03/03/eurodjangocon-prague/</link>
		<comments>http://muffinresearch.co.uk/archives/2009/03/03/eurodjangocon-prague/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 14:55:09 +0000</pubDate>
		<dc:creator>Stuart Colville</dc:creator>
				<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://muffinresearch.co.uk/?p=520</guid>
		<description><![CDATA[Rob Lofthouse is putting on a European DjangoCon event in the beautiful city of Prague: EuroDjangoCon is a Django conference that aims to bring together the community and provide a wide range of sessions, panels, lightning talks and showcases of Django usage within various businesses. We aim to educate, provoke thought and bring people together [...]]]></description>
			<content:encoded><![CDATA[<p>Rob Lofthouse is putting on a European DjangoCon event in the beautiful city of Prague:</p>
<blockquote><p>EuroDjangoCon is a Django conference that aims to bring together the community and provide a wide range of sessions, panels, lightning talks and showcases of Django usage within various businesses. We aim to educate, provoke thought and bring people together to turn ideas into working code.</p></blockquote>
<p>For more info and to register see <a href="http://euro.djangocon.org/">http://euro.djangocon.org/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://muffinresearch.co.uk/archives/2009/03/03/eurodjangocon-prague/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OSX Mysql app: Sequel Pro</title>
		<link>http://muffinresearch.co.uk/archives/2008/12/22/osx-mysql-app-sequel-pro/</link>
		<comments>http://muffinresearch.co.uk/archives/2008/12/22/osx-mysql-app-sequel-pro/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 11:39:56 +0000</pubDate>
		<dc:creator>Stuart Colville</dc:creator>
				<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://muffinresearch.co.uk/?p=436</guid>
		<description><![CDATA[Generally these days I&#8217;m tending to access mysql from the CLI but when writing a data importer script I needed to be able to see what tables I was accessing from two different dbs. Initially I was looking for an ERD tool but I stumbled across the successor to CocoaMysql, Sequel Pro. It&#8217;s both well [...]]]></description>
			<content:encoded><![CDATA[<p>Generally these days I&#8217;m tending to access mysql from the CLI but when writing a data importer script I needed to be able to see what tables I was accessing from two different dbs. Initially I was looking for an ERD tool but I stumbled across the successor to CocoaMysql, <a href="http://www.sequelpro.com/">Sequel Pro</a>. It&#8217;s both well executed <em>and</em> free which makes it my kind of app!</p>
]]></content:encoded>
			<wfw:commentRss>http://muffinresearch.co.uk/archives/2008/12/22/osx-mysql-app-sequel-pro/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

