<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>codification</title>
	<atom:link href="http://codification.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://codification.wordpress.com</link>
	<description>Notepad for minutes too minute to remember</description>
	<lastBuildDate>Thu, 26 Jan 2012 07:57:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='codification.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>codification</title>
		<link>http://codification.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://codification.wordpress.com/osd.xml" title="codification" />
	<atom:link rel='hub' href='http://codification.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Maven mirrorOf glob exclusion for clojars</title>
		<link>http://codification.wordpress.com/2012/01/26/maven-mirrorof-glob-exclusion-for-clojars/</link>
		<comments>http://codification.wordpress.com/2012/01/26/maven-mirrorof-glob-exclusion-for-clojars/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 07:57:27 +0000</pubDate>
		<dc:creator>codification</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://codification.wordpress.com/?p=541</guid>
		<description><![CDATA[I recently learned how to add exclusion rules to the glob matching pattern used by maven when deciding which repositories to mirror. Just as described in the central docs, I updated my settings.xml as follows. Instead of &#60;mirrorOf&#62;*&#60;/mirrorOf&#62; I now have &#60;mirrorOf&#62;*,!clojars&#60;/mirrorOf&#62; That is, use my mirror definitions for anything except clojars. Before I did this, leiningen [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=541&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently learned how to add exclusion rules to the glob matching pattern used by maven when deciding which repositories to mirror. Just as described in the central <a title="maven mirror settings" href="http://maven.apache.org/guides/mini/guide-mirror-settings.html">docs</a>, I updated my settings.xml as follows.</p>
<p>Instead of</p>
<pre style="padding-left:30px;">&lt;mirrorOf&gt;*&lt;/mirrorOf&gt;</pre>
<p>I now have</p>
<pre style="padding-left:30px;">&lt;mirrorOf&gt;*,!clojars&lt;/mirrorOf&gt;</pre>
<p>That is, use my mirror definitions for anything <em>except</em> clojars. Before I did this, <a title="leiningen" href="https://github.com/technomancy/leiningen">leiningen</a> always failed to download clojure dependencies from clojars (that were not also in maven central). The reason why I do not want clojars to be mirrored is a dark and deeply kept secret.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codification.wordpress.com/541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codification.wordpress.com/541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codification.wordpress.com/541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codification.wordpress.com/541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codification.wordpress.com/541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codification.wordpress.com/541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codification.wordpress.com/541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codification.wordpress.com/541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codification.wordpress.com/541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codification.wordpress.com/541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codification.wordpress.com/541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codification.wordpress.com/541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codification.wordpress.com/541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codification.wordpress.com/541/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=541&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codification.wordpress.com/2012/01/26/maven-mirrorof-glob-exclusion-for-clojars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/713f22852e6fcfbd24d22cdcf5977978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codification</media:title>
		</media:content>
	</item>
		<item>
		<title>Graphite docs</title>
		<link>http://codification.wordpress.com/2011/12/28/graphite-docs/</link>
		<comments>http://codification.wordpress.com/2011/12/28/graphite-docs/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 21:04:49 +0000</pubDate>
		<dc:creator>codification</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://codification.wordpress.com/?p=537</guid>
		<description><![CDATA[I realized after posting earlier today about graphite that documentation for graphite can now be found at: http://readthedocs.org/docs/graphite/en/latest/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=537&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I realized after posting earlier today about graphite that documentation for graphite can now be found at: <a title="graphite docs" href="http://readthedocs.org/docs/graphite/en/latest/">http://readthedocs.org/docs/graphite/en/latest/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codification.wordpress.com/537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codification.wordpress.com/537/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codification.wordpress.com/537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codification.wordpress.com/537/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codification.wordpress.com/537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codification.wordpress.com/537/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codification.wordpress.com/537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codification.wordpress.com/537/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codification.wordpress.com/537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codification.wordpress.com/537/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codification.wordpress.com/537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codification.wordpress.com/537/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codification.wordpress.com/537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codification.wordpress.com/537/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=537&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codification.wordpress.com/2011/12/28/graphite-docs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/713f22852e6fcfbd24d22cdcf5977978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codification</media:title>
		</media:content>
	</item>
		<item>
		<title>Graphite on OSX Snow Leopard</title>
		<link>http://codification.wordpress.com/2011/12/28/graphite-on-osx-snow-leopard/</link>
		<comments>http://codification.wordpress.com/2011/12/28/graphite-on-osx-snow-leopard/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 15:37:55 +0000</pubDate>
		<dc:creator>codification</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[graphite]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://codification.wordpress.com/?p=316</guid>
		<description><![CDATA[Yesterday, while preparing for AgileIndia 2012 and my talk there, I wanted to get graphite installed and running on my MacBook Pro. This ended up costing me an evening of yak shaving&#8230; In theory, this should be easy. Just install the necessary python packages, setup graphite and its components (whisper database and carbon I/O-server), start a web server [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=316&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday, while preparing for <a title="Agile India 2012" href="http://agile2012.in/">AgileIndia 2012</a> and my talk there, I wanted to get <a title="Graphite" href="http://graphite.wikidot.com/">graphite</a> installed and running on my MacBook Pro. This ended up costing me an evening of yak shaving&#8230;</p>
<p>In theory, <a title="installation of graphite" href="http://graphite.wikidot.com/installation">this should be easy</a>. Just install the necessary python packages, setup graphite and its components (whisper database and carbon I/O-server), start a web server and &#8211; presto!, off you go.</p>
<p>With one exception &#8211; <em>pycairo -</em> all of graphites dependencies can be installed using pip (or easy_install)<em>. </em>Pycairo, on the other hand, turned out to be another story completely. Pycairo is a package of python bindings for the <a title="cairo" href="http://www.cairographics.org/c">cairo</a> graphics library and is used by graphite to produce the graphs that we (well at least I) have come to love.</p>
<p><em>Zeroth problem: pycairo depends on cairo which is best installed using <a title="homebrew" href="http://mxcl.github.com/homebrew/">homebrew</a>.</em></p>
<p><strong>First problem:</strong> pycairo cannot be installed using pip (writing this I am unsure whether I tried easy_install at all). Something about a missing setup.py file. Ok, guess I could install it from a source download then&#8230;</p>
<p><strong>Second problem:</strong> Installing pycairo from source (tar-ball) is not possible because of some kind of incompatibility with Python 2.6.1 (default installation on  OSX Snow Leopard) and perhaps some kind of cross compilation issue for x86_64 cores (sigh).</p>
<p><strong>Third problem:</strong> Ugrading the (default) python installation (especially beyond 2.6) on OSX may confuse yourself or parts of your system (that depend on Apples installation of python). See for example the homebrew documentation for its python 2.7 formula.</p>
<p><strong>A hero emerges</strong></p>
<p>Having spent the better part of my evening getting this far I was about to give up. Then it dawned on me &#8211; why am I spending all this time trying to upgrade my default python installation when I should be using <a title="virtualenv" href="http://pypi.python.org/pypi/virtualenv">virtualenv</a>?</p>
<p>Indeed, with python 2.7.1 installed via homebrew (but not overriding Apples default installation) I could get a python 2.7 virtual environment up and running. In the new python 2.7 environment I could perform the pycairo installation from source with a few tweaks (see below). After that, moving on with the final installation steps for graphite (still inside the virtual environment) was a breeze.</p>
<p>So, next time I hope I will remember setting up a virtual environment sooner.</p>
<p>&#8211;</p>
<p><em>I would never have realized what I was missing or doing wrong if it had not been for these posts:</em></p>
<ol>
<li><em><a href="http://eternusuk.blogspot.com/2011/09/installing-graphite-on-osx-snow-leopard.html">http://eternusuk.blogspot.com/2011/09/installing-graphite-on-osx-snow-leopard.html</a></em></li>
<li><em><a href="http://stackoverflow.com/questions/6886578/how-to-install-pycairo-1-10-on-mac-osx-with-default-python">http://stackoverflow.com/questions/6886578/how-to-install-pycairo-1-10-on-mac-osx-with-default-python </a></em></li>
<li><em><a href="http://www.niconomicon.net/blog/2011/10/09/2120.wrestling.python.snow.leopard">http://www.niconomicon.net/blog/2011/10/09/2120.wrestling.python.snow.leopard</a></em></li>
</ol>
<div><em>In the process I also discovered <a title="virtualenvwrapper" href="http://www.doughellmann.com/projects/virtualenvwrapper/">virtualenvwrapper</a>. It simplifies managing virtual environments and helps you stay disciplined while doing so.</em></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codification.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codification.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codification.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codification.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codification.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codification.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codification.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codification.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codification.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codification.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codification.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codification.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codification.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codification.wordpress.com/316/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=316&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codification.wordpress.com/2011/12/28/graphite-on-osx-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/713f22852e6fcfbd24d22cdcf5977978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codification</media:title>
		</media:content>
	</item>
		<item>
		<title>git-svn log of local commits</title>
		<link>http://codification.wordpress.com/2011/11/14/git-svn-log-of-local-commits/</link>
		<comments>http://codification.wordpress.com/2011/11/14/git-svn-log-of-local-commits/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 08:30:30 +0000</pubDate>
		<dc:creator>codification</dc:creator>
				<category><![CDATA[git]]></category>
		<category><![CDATA[scm]]></category>

		<guid isPermaLink="false">http://codification.wordpress.com/?p=311</guid>
		<description><![CDATA[While using git-svn to interact and share source with my colleagues I often want to have a look at what I have committed locally before doing a git svn dcommit to push everything up to the central svn repository. For a long time I only visually inspected the git log looking for the last commit [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=311&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While using git-svn to interact and share source with my colleagues I often want to have a look at what I have committed locally before doing a git svn dcommit to push everything up to the central svn repository. For a long time I only visually inspected the git log looking for the last commit to have a &#8216;git-svn-id&#8217;. When comparing branches and complex changes this does not scale.</p>
<p><strong>git log</strong> to the rescue.</p>
<p>&#8216;git branch -r&#8217; will list the remote branches tracked by your local repository. Using it in a git-svn repository will revealy all branches tracked on the subversion server <em>including trunk</em>. The trunk branch tracks the remote trunk and is not the same as your git <em>master</em> branch. Hence <em>trunk</em> can be compared to <em>my working branch</em>, where all my local commits end up. A terse and, in my opinion, clear solution to the comparison problem is the use of the dot-dot range operator:</p>
<p><pre class="brush: bash;">
git log trunk..
</pre></p>
<p>A missing branch name at one end of the range (here <em>after</em> the two dots) is replaced by the HEAD of the currently checked out branch. The above snippet then translates to <em>log commits reachable from HEAD but not from trunk</em>.</p>
<p>I currently use this last form a lot.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codification.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codification.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codification.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codification.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codification.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codification.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codification.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codification.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codification.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codification.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codification.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codification.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codification.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codification.wordpress.com/311/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=311&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codification.wordpress.com/2011/11/14/git-svn-log-of-local-commits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/713f22852e6fcfbd24d22cdcf5977978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codification</media:title>
		</media:content>
	</item>
		<item>
		<title>Jumping to git roots</title>
		<link>http://codification.wordpress.com/2011/11/14/jumping-to-git-roots/</link>
		<comments>http://codification.wordpress.com/2011/11/14/jumping-to-git-roots/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 08:05:29 +0000</pubDate>
		<dc:creator>codification</dc:creator>
				<category><![CDATA[git]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[scm]]></category>

		<guid isPermaLink="false">http://codification.wordpress.com/?p=308</guid>
		<description><![CDATA[I only recently realized how often, while working in a shell, I (for some reason) want to jump back (cd) to the root of the git repository I am currently working in. Wanting to write some kind of shortcut for this behaviour I started looking for the information I needed to make that happen. My [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=308&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I only recently realized how often, while working in a shell, I (for some reason) want to jump back (cd) to the root of the git repository I am currently working in. Wanting to write some kind of shortcut for this behaviour I started looking for the information I needed to make that happen. My first thought was that git must be able to provide me with the root directory somehow.</p>
<p>This Stack Overflow thread proved me right: <a href="http://stackoverflow.com/questions/957928/is-there-a-way-to-get-to-the-git-root-directory-in-one-command">http://stackoverflow.com/questions/957928/is-there-a-way-to-get-to-the-git-root-directory-in-one-command</a></p>
<p>So, adding that information to the suggestion further down the thread I created a shell alias</p>
<p><pre class="brush: css;">
# Jumping to git roots
alias git-root='cd $(git rev-parse --show-toplevel)'
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codification.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codification.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codification.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codification.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codification.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codification.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codification.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codification.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codification.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codification.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codification.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codification.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codification.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codification.wordpress.com/308/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=308&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codification.wordpress.com/2011/11/14/jumping-to-git-roots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/713f22852e6fcfbd24d22cdcf5977978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codification</media:title>
		</media:content>
	</item>
		<item>
		<title>Eclipse &#8211; conflicted</title>
		<link>http://codification.wordpress.com/2011/05/20/in-case-you-ever-have-problems-with-ecli/</link>
		<comments>http://codification.wordpress.com/2011/05/20/in-case-you-ever-have-problems-with-ecli/#comments</comments>
		<pubDate>Fri, 20 May 2011 13:23:28 +0000</pubDate>
		<dc:creator>codification</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://codification.wordpress.com/2011/05/20/in-case-you-ever-have-problems-with-ecli/</guid>
		<description><![CDATA[In case you ever have problems with Eclipse where it tells you that plugins cannot be installed because of conflicting dependencies: http://forum.springsource.org/showthread.php?97456-Eclipse-STS-plugin-2.5.0-Grails-Groovy-conflict<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=305&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In case you ever have problems with Eclipse where it tells you that plugins cannot be installed because of conflicting dependencies:<br />
<a href="http://forum.springsource.org/showthread.php?97456-Eclipse-STS-plugin-2.5.0-Grails-Groovy-conflict" rel="nofollow">http://forum.springsource.org/showthread.php?97456-Eclipse-STS-plugin-2.5.0-Grails-Groovy-conflict</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codification.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codification.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codification.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codification.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codification.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codification.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codification.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codification.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codification.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codification.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codification.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codification.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codification.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codification.wordpress.com/305/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=305&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codification.wordpress.com/2011/05/20/in-case-you-ever-have-problems-with-ecli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/713f22852e6fcfbd24d22cdcf5977978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codification</media:title>
		</media:content>
	</item>
		<item>
		<title>Finally, square brackets in Emacs</title>
		<link>http://codification.wordpress.com/2011/02/25/finally-square-brackets-in-emacs/</link>
		<comments>http://codification.wordpress.com/2011/02/25/finally-square-brackets-in-emacs/#comments</comments>
		<pubDate>Fri, 25 Feb 2011 19:31:44 +0000</pubDate>
		<dc:creator>codification</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://codification.wordpress.com/?p=297</guid>
		<description><![CDATA[Changing from &#8216;nil to &#8216;none made all the difference. Now I can finally both have my swedish keyboard layout and be able to type square brackets in Emacs. http://stackoverflow.com/questions/3376863/unable-to-type-braces-and-square-braces-in-emacs<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=297&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Changing from <strong>&#8216;nil</strong> to <strong>&#8216;none</strong> made all the difference. Now I can finally both have my swedish keyboard layout <em>and</em> be able to type square brackets in Emacs.</p>
<p><a href="http://stackoverflow.com/questions/3376863/unable-to-type-braces-and-square-braces-in-emacs">http://stackoverflow.com/questions/3376863/unable-to-type-braces-and-square-braces-in-emacs</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codification.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codification.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codification.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codification.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codification.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codification.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codification.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codification.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codification.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codification.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codification.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codification.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codification.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codification.wordpress.com/297/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=297&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codification.wordpress.com/2011/02/25/finally-square-brackets-in-emacs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/713f22852e6fcfbd24d22cdcf5977978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codification</media:title>
		</media:content>
	</item>
		<item>
		<title>My Mysterious Mac &#8211; 1</title>
		<link>http://codification.wordpress.com/2011/01/26/my-mysterious-mac-1/</link>
		<comments>http://codification.wordpress.com/2011/01/26/my-mysterious-mac-1/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 08:35:32 +0000</pubDate>
		<dc:creator>codification</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://codification.wordpress.com/?p=294</guid>
		<description><![CDATA[Yesterday, while having been frustrated by, what I feel is, rather irregular behaviour from my Mac when it comes to handling the PATH variable, I finally stumbled (or googled) upon something of an explanation. Specifically I have been wanting Emacs and Eclipse to be able to use the same scripts and applications from the command [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=294&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday, while having been frustrated by, what I feel is, rather irregular behaviour from my Mac when it comes to handling the PATH variable, I finally stumbled (or googled) upon something of an explanation.</p>
<p>Specifically I have been wanting Emacs and Eclipse to be able to use the same scripts and applications from the command line as my shell.</p>
<p><a href="http://developer.apple.com/library/mac/#qa/qa2001/qa1067.html">Here is a rather short explanation of how to make an environment variable (like PATH) available to a &#8220;.app&#8221;-application on MacOS X.</a></p>
<p>Not much later I also found a way to automatically update the &#8220;environment.plist&#8221; by way of a shell script, <a href="http://www.emacswiki.org/emacs/EmacsApp">here</a> (which links to the origin of the script <a href="http://old.nabble.com/unicode-character-in-aquamacs-td24259615.html">here</a>).</p>
<p>Basically, there is a properties file called <strong>environment.plist</strong> located under <strong>~/.MacOS</strong> in my home folder. I can update the PATH property in this file (instead of as a bash environment variable) to make paths available to other applications. Sadly it appears to need a restart of MacOS to take effect. Not what I had been hoping for.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codification.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codification.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codification.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codification.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codification.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codification.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codification.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codification.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codification.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codification.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codification.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codification.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codification.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codification.wordpress.com/294/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=294&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codification.wordpress.com/2011/01/26/my-mysterious-mac-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/713f22852e6fcfbd24d22cdcf5977978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codification</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubuntu samba mounts</title>
		<link>http://codification.wordpress.com/2011/01/13/ubuntu-samba-mounts/</link>
		<comments>http://codification.wordpress.com/2011/01/13/ubuntu-samba-mounts/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 14:47:42 +0000</pubDate>
		<dc:creator>codification</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://codification.wordpress.com/?p=252</guid>
		<description><![CDATA[Some googling revealed this, something I have wanted to know for some time: http://fixunix.com/ubuntu/543595-where-does-ubuntu-mount-samba-shares.html Why do I want to know this? Well, I frequently use trial and error search using nautilus (or Places -&#62; Connect to Server) to find or browse network folders in Ubuntu. Once they are connected, Ubuntu seems to secretly mount them [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=252&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some googling revealed this, something I have wanted to know for some time:</p>
<p>http://fixunix.com/ubuntu/543595-where-does-ubuntu-mount-samba-shares.html</p>
<p>Why do I want to know this? Well, I frequently use trial and error search using nautilus (or Places -&gt; Connect to Server) to find or browse network folders in Ubuntu. Once they are connected, Ubuntu seems to secretly mount them to somewhere.<br />
Somewhere, in this case, is the directory <strong>.gvfs in your user home</strong>, where they can be reached by any able terminal or application.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codification.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codification.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codification.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codification.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codification.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codification.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codification.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codification.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codification.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codification.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codification.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codification.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codification.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codification.wordpress.com/252/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=252&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codification.wordpress.com/2011/01/13/ubuntu-samba-mounts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/713f22852e6fcfbd24d22cdcf5977978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codification</media:title>
		</media:content>
	</item>
		<item>
		<title>My Ubuntu dual boot</title>
		<link>http://codification.wordpress.com/2011/01/13/my-ubuntu-dual-boot/</link>
		<comments>http://codification.wordpress.com/2011/01/13/my-ubuntu-dual-boot/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 14:39:19 +0000</pubDate>
		<dc:creator>codification</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://codification.wordpress.com/?p=275</guid>
		<description><![CDATA[This time I installed Ubuntu I discovered three things. Two of them conveniences and the third turned out to be necessary for my dual boot to work at all. My first discovery was that there is a BIOS setting that disables USB keyboards during boot (and, hence, in the Ubuntu GRUB2 boot menu). For some [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=275&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This time I installed Ubuntu I discovered three things. Two of them conveniences and the third turned out to be necessary for my dual boot to work at all.</p>
<p><strong>My first discovery</strong> was that there is a BIOS setting that disables USB keyboards during boot (and, hence, in the Ubuntu GRUB2 boot menu). For some inane reason the default BIOS setting was to <em>disable</em> my keyboard. With the keyboard disabled, there is neither any way to operate the custom boot order menu nor to choose which operating system to launch once GRUB and the dual boot menu was in place.</p>
<p><strong>My second discovery</strong> was <a href="https://help.ubuntu.com/community/StartUpManager">StartupManager</a>, a graphical tool that lets you change the order and defaults of the GRUB boot list. Instead of having to remember which of the grub files to change (and not to change), what tool to run in order to regenerate lists or menus inbetween changes and having to understand the arcane and cross-referencing syntax used between the files, StartupManager does the job for me through a rudimentary GUI. Much less hassle for this task that I typically only perform once or twice per dual boot installation.<br />
As usual, getting StartupManager is dead simple using <strong>apt</strong>:</p>
<pre style="padding-left:30px;">sudo apt-get install startupmanager</pre>
<p>After having set things up to (what I thought was) my satisfaction I discovered that Windows 7 did not like being booted after GRUB2. For some reason, I gave up after googling for a few minutes, Windows wants to repair itself on every startup <em>after</em> I have used Ubuntu. Annoying, especially so since repairing is the default option which is started if the computer is left alone. Instead of fighting Windows I decided to go the other way around, that is have the Windows bootloader start first and add an option to it to start Ubuntu. So, <strong>the third discovery</strong> I made was a tool for windows, very much like StartupManager for Ubuntu &#8211; <a href="http://neosmart.net/dl.php?id=1">EasyBCD</a>. Amongst other thigs, EasyBCD relieves me of BCD.exe, a command line tool which looked so complicated that I did not even bother to learn it. It also automatically discovered my Ubuntu installation (and GRUB2 on it) and could create a windows boot loader menu option to launch it.</p>
<p>Ok, I think that covers what I learned this time. Hope I can remember it next time around.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codification.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codification.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codification.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codification.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codification.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codification.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codification.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codification.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codification.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codification.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codification.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codification.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codification.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codification.wordpress.com/275/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codification.wordpress.com&amp;blog=10175803&amp;post=275&amp;subd=codification&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codification.wordpress.com/2011/01/13/my-ubuntu-dual-boot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/713f22852e6fcfbd24d22cdcf5977978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">codification</media:title>
		</media:content>
	</item>
	</channel>
</rss>
