<?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>jfdm&#039;s blog</title>
	<atom:link href="http://jfdm.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jfdm.wordpress.com</link>
	<description>Playing the game: Riding the Gravy Chain</description>
	<lastBuildDate>Fri, 14 Oct 2011 16:39:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jfdm.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>jfdm&#039;s blog</title>
		<link>http://jfdm.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jfdm.wordpress.com/osd.xml" title="jfdm&#039;s blog" />
	<atom:link rel='hub' href='http://jfdm.wordpress.com/?pushpress=hub'/>
		<item>
		<title>QuickGuide: Adding LNCS Springer Style to LaTeX install</title>
		<link>http://jfdm.wordpress.com/2011/05/31/quickguide-adding-lncs-springer-style-to-latex-install/</link>
		<comments>http://jfdm.wordpress.com/2011/05/31/quickguide-adding-lncs-springer-style-to-latex-install/#comments</comments>
		<pubDate>Tue, 31 May 2011 07:48:12 +0000</pubDate>
		<dc:creator>jdemuijnckhughes</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jfdm.wordpress.com/?p=147</guid>
		<description><![CDATA[A while ago I posted about installing the LNCS LaTeX classes. Those instructions are wrong, here is a better way of doing it. In $HOME create the following directory structure: &#8216;texmf/tex/latex&#8217;. Add the lncs folder as a subfolder of &#8216;latex&#8217;. Run the command texhash Other latex packages not found in the latex package manager can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=147&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A while ago I <a href="http://jfdm.wordpress.com/2009/09/01/quickquide-adding-lncs-springer-style-to-ubuntu-latex-install/">posted</a> about installing the<a href="ftp://ftp.springer.de/pub/tex/latex/llncs/latex2e/llncs2e.zip"> LNCS LaTeX classes</a>. Those instructions are <strong>wrong</strong>, here is a better way of doing it.</p>
<ol>
<li>In $HOME create the following directory structure: &#8216;texmf/tex/latex&#8217;.</li>
<li>Add the lncs folder as a subfolder of &#8216;latex&#8217;.</li>
<li>Run the command texhash Other latex packages not found in the latex package manager can be installed the same way, baposter for example.</li>
</ol>
<p>On Linux $HOME is ~, and on Mac OS X it is ~/Library.</p>
<p>Also for those that want a version of LNCS that works with href, one can be found <a href="https://groups.google.com/group/comp.text.tex/browse_thread/thread/656912d24c5e23fb">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jfdm.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jfdm.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jfdm.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jfdm.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jfdm.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jfdm.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jfdm.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jfdm.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jfdm.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jfdm.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jfdm.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jfdm.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jfdm.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jfdm.wordpress.com/147/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=147&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jfdm.wordpress.com/2011/05/31/quickguide-adding-lncs-springer-style-to-latex-install/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73809c0b0abd58007a89ec0d36bc05d9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jdemuijnckhughes</media:title>
		</media:content>
	</item>
		<item>
		<title>Note on Org-Mode for Emacs</title>
		<link>http://jfdm.wordpress.com/2010/10/11/note-on-org-mode-for-emacs/</link>
		<comments>http://jfdm.wordpress.com/2010/10/11/note-on-org-mode-for-emacs/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 23:34:32 +0000</pubDate>
		<dc:creator>jdemuijnckhughes</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jfdm.wordpress.com/?p=142</guid>
		<description><![CDATA[1 Overview Org-Mode is an Emacs mode tailored for keeping notes, TODO lists and general planning in an easy to use plain-text environmnet. I have just started to use it and it certainly gets my vote as it fufills my needs for work. These needs are: I need to write up rough drafts quickly of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=142&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="outline-container-1" class="outline-2">
<h2 id="sec-1"><span class="section-number-2">1</span> Overview </h2>
<div class="outline-text-2" id="text-1">
<p><a href="http://orgmode.org">Org-Mode</a> is an Emacs mode tailored for keeping notes, TODO lists and<br />
general planning in an <i>easy</i> to use plain-text environmnet. I have<br />
just started to use it and it certainly gets my vote as it fufills my<br />
needs for work. These needs are:
</p>
<ul>
<li>
I need to write up rough drafts quickly of notes from<br />
class/studying/research;
</li>
<li>
Have a planner to prioritise my time;
</li>
<li>
Incorporate existing workflows ;
</li>
<li>
Terminal based and/or can beintegrated with version control systems<br />
such as git or bazaar or svn; and
</li>
<li>
Be easy to use with an option to export to some better format for<br />
typesetting or viewing. </p>
</li>
</ul>
<p>I use org-mode either to outline documents and fatten them out with<br />
text and use TODO items to help organise that writing, or to manage my<br />
life with todo items. For more information concerning org-mode see <a href="#sec-6">the references</a> at the end of the post.
</p>
<p>
For this post I am simply going to introduce org-mode and its common<br />
syntax and basic abilities. In a future post I shall go more into<br />
depth how I use it for planning and GTD, moreover I might write a<br />
tutorial on how I used it for outlining documents.
</p>
</div>
</div>
<div id="outline-container-2" class="outline-2">
<h2 id="sec-2"><span class="section-number-2">2</span> Setup </h2>
<div class="outline-text-2" id="text-2">
<p>First some setup code. I have the following code placed in my <code>.emacs</code><br />
file:
</p>
<pre class="src src-emacs-lisp">(setq org-log-done t)
(setq org-export-with-toc 4)
(setq org-export-headline-levels 4)
(setq org-startup-folded <span style="color:#ad7fa8;font-style:italic;">"showall"</span>)
(setq org-startup-align-all-tables <span style="color:#ad7fa8;font-style:italic;">"align"</span>)
(add-to-list 'auto-mode-alist '(<span style="color:#ad7fa8;font-style:italic;">"\\.org$"</span> . org-mode))
(add-to-list 'auto-mode-alist '(<span style="color:#ad7fa8;font-style:italic;">"\\.todo$"</span> . org-mode))
(add-to-list 'auto-mode-alist '(<span style="color:#ad7fa8;font-style:italic;">"\\.note$"</span> . org-mode))
</pre>
<p>
The first line adds time stamps to completed TODO items. The second<br />
and third lines limits the table of contents, on export, to a depth of<br />
four and limits heading depths to four within a file.  The fourth<br />
ensures that code folding is disabled. The final setting ensures that<br />
tables are aligned. The last three lines forces emacs to open all<br />
<code>*.org, *.todo, and *.note</code> files in org-mode. This is just a handy way<br />
for me to organise my files as I see fit.
</p>
</div>
</div>
<div id="outline-container-3" class="outline-2">
<h2 id="sec-3"><span class="section-number-2">3</span> Exporting </h2>
<div class="outline-text-2" id="text-3">
<p>Org-mode files can be exported to several formats such as docbook,<br />
html and LaTeX. To export and get a list of available formats enter:<br />
<code>C-c C-e</code>. Direct exportation is as follows:
</p>
<table border="2" cellspacing="0" cellpadding="6" rules="groups">
<caption></caption>
<col align="left" />
<col align="left" />
<tbody>
<tr>
<td>HTML</td>
<td><code>C-c C-e h</code></td>
</tr>
<tr>
<td>LaTeX</td>
<td><code>C-c C-e l</code></td>
</tr>
<tr>
<td>DocBook</td>
<td><code>C-c C-e D</code></td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-4" class="outline-2">
<h2 id="sec-4"><span class="section-number-2">4</span> Planner Mode </h2>
<div class="outline-text-2" id="text-4">
<p>The core use of org-mode is as an outliner/planner. Headings are<br />
rather trivial:
</p>
<pre class="example">
* Level 1
** Level 2
*** Level 3
</pre>
<p>and so on. Headings can also be indented and single stars used with<br />
<code>org-indent-view</code>, but I do not like that.
</p>
</div>
<div id="outline-container-4_1" class="outline-3">
<h3 id="sec-4_1"><span class="section-number-3">4.1</span> Todo -Items Basics </h3>
<div class="outline-text-3" id="text-4_1">
<p>When used as a planner each header acts as a TODO item and each of its<br />
children and childrens children, are counted as sub-tasks. After the<br />
header level indicator a state tag can be added that indicates the<br />
status of the TODO item. The standard states are: <b>TODO</b> and<br />
<b>DONE</b>. To rotate between states enter <code>C-c C-t</code>.
</p>
</div>
</div>
<div id="outline-container-4_2" class="outline-3">
<h3 id="sec-4_2"><span class="section-number-3">4.2</span> Adding States </h3>
<div class="outline-text-3" id="text-4_2">
<p>Additional custom states can be added at the start of the file as<br />
follows:
</p>
<pre class="example">#+TODO: TODO FEEDBACK | DONE CANCELED
#+TYP_TODO: FEEDBACK | DONE CANCELED
#+SEQ_TODO: FEEDBACK | DONE CANCELED
</pre>
<p>
Where all the states to the left of the vertical bar indicate<br />
unfinished states and to the right finished states. Also appending<br />
<code>(char)</code> to each state i.e. <code>FEEDBACK(f)</code> can add a fast action key<br />
combo accessed by <code>C-c C-t char</code>
</p>
<p>
Global workflows can be added in your <code>.emacs</code> file as follows:
</p>
<pre class="src src-emacs-lisp">(setq org-todo-keywords
      '((sequence <span style="color:#ad7fa8;font-style:italic;">"TODO"</span> <span style="color:#ad7fa8;font-style:italic;">"|"</span> <span style="color:#ad7fa8;font-style:italic;">"DONE"</span>) <span style="color:#888a85;">;; </span><span style="color:#888a85;">Classic
</span>        (sequence <span style="color:#ad7fa8;font-style:italic;">"REPORT"</span> <span style="color:#ad7fa8;font-style:italic;">"BUG"</span> <span style="color:#ad7fa8;font-style:italic;">"KNOWNCAUSE"</span> <span style="color:#ad7fa8;font-style:italic;">"|"</span> <span style="color:#ad7fa8;font-style:italic;">"FIXED"</span>)
        (sequence <span style="color:#ad7fa8;font-style:italic;">"ALICE"</span> <span style="color:#ad7fa8;font-style:italic;">"BOB"</span> <span style="color:#ad7fa8;font-style:italic;">"|"</span> <span style="color:#ad7fa8;font-style:italic;">"DONE"</span>)
))
</pre>
<dl>
<dt>Note</dt>
<dd>
either of the above lines can be used.
</dd>
</dl>
</div>
</div>
<div id="outline-container-4_3" class="outline-3">
<h3 id="sec-4_3"><span class="section-number-3">4.3</span> Using States </h3>
<div class="outline-text-3" id="text-4_3">
<p>The states of TODO items can be used in whatever way you<br />
wish. There can even be support for different workflows The org-mode<br />
manual provides two examples.
</p>
</div>
<div id="outline-container-4_3_1" class="outline-4">
<h4 id="sec-4_3_1"><span class="section-number-4">4.3.1</span> Types i.e. Task allocation </h4>
<div class="outline-text-4" id="text-4_3_1">
<p>The states can be used to indicate who is to be allocated the<br />
task. For example:
</p>
<pre class="example">
#+TYP_TODO: ALCE BOB CHARLIE MALLORY TIM | DONE
</pre>
<p>can be used to assign tasks to the people mentioned.
</p>
</div>
</div>
<div id="outline-container-4_3_2" class="outline-4">
<h4 id="sec-4_3_2"><span class="section-number-4">4.3.2</span> Bug Reports </h4>
<div class="outline-text-4" id="text-4_3_2">
<p>Bug reports have different states which can be represented as:
</p>
<pre class="example">
#+SEQ_TODO: REPORT BUG KNOWNCAUSE | FIXED
</pre>
</div>
</div>
</div>
<div id="outline-container-4_4" class="outline-3">
<h3 id="sec-4_4"><span class="section-number-3">4.4</span> Progress </h3>
<div class="outline-text-3" id="text-4_4">
<p>After task declaration use <code>[ % ]</code> or <code>[n/m]</code> to indicate completion.<br />
The value will be updated with the children
</p>
<pre class="example">* Organize Party [33%]
** TODO Call people [1/2]
*** TODO Peter
*** DONE Sarah
** TODO Buy food
** DONE Talk to neighbor
</pre>
</div>
</div>
<div id="outline-container-4_5" class="outline-3">
<h3 id="sec-4_5"><span class="section-number-3">4.5</span> Checkboxes </h3>
<div class="outline-text-3" id="text-4_5">
<p>Plain lists can be turned into todo items by adding <code>[]</code> at start i.e.
</p>
<pre class="example">* TODO Organise Party [/]
  - [-] Call People
   - [ ] Alice
   - [X] Bob
  - [ ] order food
</pre>
</div>
</div>
<div id="outline-container-4_6" class="outline-3">
<h3 id="sec-4_6"><span class="section-number-3">4.6</span> Tags </h3>
<div class="outline-text-3" id="text-4_6">
<p>Labels and Tags are used for context. Form is <code>:tag:</code> Add tags with<br />
<code>C-c C-q</code> or after colon <code>M-&lt;tab&gt;</code>
</p>
<table border="2" cellspacing="0" cellpadding="6" rules="groups">
<caption></caption>
<col align="left" />
<col align="left" />
<thead>
<tr>
<th scope="col">Type</th>
<th scope="col">Command</th>
</tr>
</thead>
<tbody>
<tr>
<td>File Tag</td>
<td><code>#+FILETAGS: :tag:tag1:</code></td>
</tr>
<tr>
<td>Labels</td>
<td><code>#+TAGS: @tag1 tag1</code></td>
</tr>
<tr>
<td>Tag Sets</td>
<td><code>#+TAGS: { @work @home }</code></td>
</tr>
</tbody>
</table>
<p>The tag sets are mutually exclusive. The @ character is not<br />
important. Appending <code>(char)</code> to end of tag definition to add short<br />
cut i.e.:  <code>@work(w)</code>.
</div>
</div>
<div id="outline-container-4_7" class="outline-3">
<h3 id="sec-4_7"><span class="section-number-3">4.7</span> Timestamps </h3>
<div class="outline-text-3" id="text-4_7">
<table border="2" cellspacing="0" cellpadding="6" rules="groups">
<caption></caption>
<col align="left" />
<col align="left" />
<col align="left" />
<thead>
<tr>
<th scope="col">Type</th>
<th scope="col">Command</th>
<th scope="col">Result</th>
</tr>
</thead>
<tbody>
<tr>
<td>Active</td>
<td><code>C-c .</code></td>
<td><code>&lt; 2006-11-01 Wed 19:15 &gt;</code></td>
</tr>
<tr>
<td>Inactive</td>
<td><code>C-c !</code></td>
<td><code>[ 2006-11-01 Wed 19:15 ]</code></td>
</tr>
<tr>
<td>Repeated</td>
<td>nvt</td>
<td><code>&lt; 2006-11-01 Wed 19:15 +1w&gt;</code></td>
</tr>
<tr>
<td>Range</td>
<td>nvt</td>
<td><code>&lt;timestamp&gt;--&lt;timestamp&gt;</code></td>
</tr>
</tbody>
</table>
</div>
<div id="outline-container-4_7_1" class="outline-4">
<h4 id="sec-4_7_1"><span class="section-number-4">4.7.1</span> Deadlines and Schedules </h4>
<div class="outline-text-4" id="text-4_7_1">
<p>Deadlines and schedules can be appended to headlines as follows:
</p>
<table border="2" cellspacing="0" cellpadding="6" rules="groups">
<caption></caption>
<col align="left" />
<col align="left" />
<tbody>
<tr>
<td>Deadlines</td>
<td><code>C-c C-d</code></td>
</tr>
<tr>
<td>Scheduled</td>
<td><code>C-c C-s</code></td>
</tr>
</tbody>
</table>
<dl>
<dt>Note</dt>
<dd>
scheduled implies when it starts.</p>
</dd>
</dl>
</div>
</div>
</div>
</div>
<div id="outline-container-5" class="outline-2">
<h2 id="sec-5"><span class="section-number-2">5</span> Note Taking </h2>
<div class="outline-text-2" id="text-5">
<p>Before, I used to write-up notes either directly in <a href="http://www.latex-project.org/">LaTeX</a> or <a href="http://daringfireball.net/projects/markdown/">Markdown</a><br />
(or varient of) as an intermediate form before conversion to LaTeX for<br />
refinement. I have been also tempted to use <a href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> or<br />
<a href="http://sphinx.pocoo.org/">Sphinx</a>, and also play  with <a href="http://johnmacfarlane.net/pandoc/">pandoc</a> as a converter between<br />
formats. Although the aforementioned tools did give me a nice work<br />
flow for note taking, the planner aspect did not work. For my todo<br />
lists, I used to have simple markdown file full of lists combined with<br />
a iCal calendar to mark it up in a calendar. Org-mode combines the two<br />
just nicely.
</p>
</div>
<div id="outline-container-5_1" class="outline-3">
<h3 id="sec-5_1"><span class="section-number-3">5.1</span> Taking Notes </h3>
<div class="outline-text-3" id="text-5_1">
<p>Taking notes in org-mode is simple. The <i>mark-up</i> syntax is similar<br />
and easy to learn like most <i>markdown-esque</i> languages. I shall only<br />
list some of the core markup features that I use commonly. Headers are<br />
same as seen when outlining/planning.
</p>
<p>
When using org-mode to take notes, I use to write out the bulk of the<br />
text from the notes with placeholders, in the form of descriptive<br />
lists to represent any figures, lemmas, <i>et cetera</i>. I then export the<br />
notes to LaTeX and fill out the rest of the more latexy stuff<br />
i.e. maths et all, in pure LaTeX. I am aware that one can enter LaTeX<br />
in org-mode but I have yet to explore it.
</p>
</div>
</div>
<div id="outline-container-5_2" class="outline-3">
<h3 id="sec-5_2"><span class="section-number-3">5.2</span> Syntax </h3>
<div class="outline-text-3" id="text-5_2">
</div>
<div id="outline-container-5_2_1" class="outline-4">
<h4 id="sec-5_2_1"><span class="section-number-4">5.2.1</span> Metadata </h4>
<div class="outline-text-4" id="text-5_2_1">
<pre class="example">
#+TITLE: A Note on Org-Mode for emacs
#+AUTHOR: Jan de Muijnck-Hughes
#+DATE: [2010-10-11 Mon]
#+EMAIL: foobar@nowhere.com
#+DESCRIPTION: Overview on how to use org-mode for working.
#+KEYWORDS: ORG-MODE NOTES TUTORIAL
</pre>
<p>The above is the metadata that I include for most notes.
</p>
</div>
</div>
<div id="outline-container-5_2_2" class="outline-4">
<h4 id="sec-5_2_2"><span class="section-number-4">5.2.2</span> Markup </h4>
<div class="outline-text-4" id="text-5_2_2">
<table border="2" cellspacing="0" cellpadding="6" rules="groups">
<caption></caption>
<col align="left" />
<col align="left" />
<col align="left" />
<thead>
<tr>
<th scope="col">Markup</th>
<th scope="col">Command</th>
<th scope="col">Result/Note</th>
</tr>
</thead>
<tbody>
<tr>
<td>Unordered List</td>
<td><code>- + *</code></td>
<td>avoid use of *</td>
</tr>
<tr>
<td>Ordered List</td>
<td><code>1. 1)</code></td>
<td>nvt</td>
</tr>
<tr>
<td>Description List</td>
<td><code>term :: description</code></td>
<td>nvt</td>
</tr>
<tr>
<td>bold</td>
<td><code>*bold*</code></td>
<td><b>bold</b></td>
</tr>
<tr>
<td>italic</td>
<td><code>/italic/</code></td>
<td><i>italic</i></td>
</tr>
<tr>
<td>code</td>
<td><code>=code=</code></td>
<td><code>code</code></td>
</tr>
<tr>
<td>verbatim</td>
<td></td>
<td>use tildas</td>
</tr>
<tr>
<td>Horizontal Rule</td>
<td><code>-----</code> i.e.\ 5+ dashes</td>
<td>nvt</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-5_2_3" class="outline-4">
<h4 id="sec-5_2_3"><span class="section-number-4">5.2.3</span> Footnotes </h4>
<div class="outline-text-4" id="text-5_2_3">
<table border="2" cellspacing="0" cellpadding="6" rules="groups">
<caption></caption>
<col align="left" />
<col align="left" />
<thead>
<tr>
<th scope="col">Type</th>
<th scope="col">Command</th>
</tr>
</thead>
<tbody>
<tr>
<td>Regular Declaration</td>
<td><code>[fn:&lt;label&gt;]</code></td>
</tr>
<tr>
<td>Regular Definition</td>
<td><code>[fn:&lt;label&gt;] &lt;text&gt;</code></td>
</tr>
</tbody>
<tbody>
<tr>
<td>Inline</td>
<td><code>[fn:&lt;name&gt;:&lt;definition&gt;]</code></td>
</tr>
<tr>
<td>Anonymous</td>
<td><code>[fn::&lt;definition&gt;]</code></td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-5_2_4" class="outline-4">
<h4 id="sec-5_2_4"><span class="section-number-4">5.2.4</span> Hyperlinks </h4>
<div class="outline-text-4" id="text-5_2_4">
<table border="2" cellspacing="0" cellpadding="6" rules="groups">
<caption></caption>
<col align="left" />
<col align="left" />
<thead>
<tr>
<th scope="col">Type</th>
<th scope="col">Command</th>
</tr>
</thead>
<tbody>
<tr>
<td>Standard</td>
<td><code>[[link][description ]</code></td>
</tr>
<tr>
<td>Raw Link</td>
<td><code>[ [link ]]</code></td>
</tr>
<tr>
<td>Document Target</td>
<td><code>&lt;&lt;Target&gt;&gt;</code></td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-5_2_5" class="outline-4">
<h4 id="sec-5_2_5"><span class="section-number-4">5.2.5</span> Tables </h4>
<div class="outline-text-4" id="text-5_2_5">
<pre class="example">| Header  | Header 1 | Header 2 |
|---------+----------+----------|
| Content | Content  | Content  |
</pre>
</div>
</div>
</div>
<div id="outline-container-5_3" class="outline-3">
<h3 id="sec-5_3"><span class="section-number-3">5.3</span> Blocks </h3>
<div class="outline-text-3" id="text-5_3">
<p>There are several types of blocks that you can define, the manual has<br />
more, but the ones that I use most often are: Quotes, Examples and<br />
Source code.
</p>
</div>
<div id="outline-container-5_3_1" class="outline-4">
<h4 id="sec-5_3_1"><span class="section-number-4">5.3.1</span> Quotes </h4>
<div class="outline-text-4" id="text-5_3_1">
<pre class="example">
#+BEGIN_QUOTE
People sometimes ask me if it is a sin in the Church of Emacs to use vi.
Using a free version of vi is not a sin; it is a penance. So happy hacking.
   --- Richard Stallman
#+END_QUOTE
</pre>
</div>
</div>
<div id="outline-container-5_3_2" class="outline-4">
<h4 id="sec-5_3_2"><span class="section-number-4">5.3.2</span> Examples </h4>
<div class="outline-text-4" id="text-5_3_2">
<pre class="example">
#+BEGIN_EXAMPLE
#+BEGIN_QUOTE
...
#+END_QUOTE
#+END_EXAMPLE
</pre>
<p>Alternativly, the format <code> : </code> that is a space colon space also works<br />
and it&#8217;s much quicker.
</p>
</div>
</div>
<div id="outline-container-5_3_3" class="outline-4">
<h4 id="sec-5_3_3"><span class="section-number-4">5.3.3</span> Source Code </h4>
<div class="outline-text-4" id="text-5_3_3">
<pre class="example">
#+BEGIN_SRC &lt;emacs mode&gt;
...
#+END_SRC
</pre>
<p>This is a cool feature of org-mode. You can add code in a block, label<br />
it with its mode and it will be highlighted as appropriate in the<br />
buffer. A list of languages can be found <a href="http://orgmode.org/org.html#Languages">here</a>. Furthermore, if you<br />
execute the commad: =C-c &#8216;= this will launch a separate buffer to<br />
enter the code in.
</p>
</div>
</div>
</div>
</div>
<div id="outline-container-6" class="outline-2">
<h2 id="sec-6"><span class="section-number-2">6</span> Further Reading <a name="furtherReading" class="target">furtherReading</a> </h2>
<div class="outline-text-2" id="text-6">
<p>A lot of org-mode functionality has been left out. More information<br />
can be found <a href="http://www.orgmode.org">online</a>. Some quick lines:
</p>
<ul>
<li>
<a href="http://orgmode.org/orgcard.pdf">Ref Card</a>
</li>
<li>
<a href="http://orgmode.org/index.html#sec-4">Online Documentation</a>
</li>
<li>
<a href="http://orgmode.org/guide/index.html">Compact Manual</a>
</li>
<li>
<a href="http://orgmode.org/org.html">The Manual</a>
</li>
</ul>
</div>
</div>
<div id="postamble">
<p class="author"> Author: Jan de Muijnck-Hughes
</p>
<p class="date"> Date: [2010-10-11 Mon]</p>
<p class="creator">HTML generated by org-mode 6.36c in emacs 23</p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jfdm.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jfdm.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jfdm.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jfdm.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jfdm.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jfdm.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jfdm.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jfdm.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jfdm.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jfdm.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jfdm.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jfdm.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jfdm.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jfdm.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=142&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jfdm.wordpress.com/2010/10/11/note-on-org-mode-for-emacs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73809c0b0abd58007a89ec0d36bc05d9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jdemuijnckhughes</media:title>
		</media:content>
	</item>
		<item>
		<title>Bash-Completion Mac OS X</title>
		<link>http://jfdm.wordpress.com/2010/05/04/bash-completion-mac-os-x/</link>
		<comments>http://jfdm.wordpress.com/2010/05/04/bash-completion-mac-os-x/#comments</comments>
		<pubDate>Tue, 04 May 2010 09:54:08 +0000</pubDate>
		<dc:creator>jdemuijnckhughes</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jfdm.wordpress.com/?p=139</guid>
		<description><![CDATA[Just a quick note on how to turn on Bash-Completion on Mac OS X. Bash-Completion is a set of scripts that is essentially auto-complete on steroids. The benefits of this is that when you go to auto-complete on a make file or ant build file auto-complete will search the build file for the  build targets and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=139&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just a quick note on how to turn on Bash-Completion on Mac OS X. <a href="http://bash-completion.alioth.debian.org/" target="_blank">Bash-Completion</a> is a set of scripts that is essentially auto-complete on steroids. The benefits of this is that when you go to auto-complete on a make file or ant build file auto-complete will search the build file for the  build targets and list them instead of/ aswell as the files within the cwd. For a while now this has been included by default in most bash setups but not for Mac OS X. To install:</p>
<ol>
<li>Assuming you have Mac Ports installed:<br />
<blockquote><p><code>$ sudo port install bash-completion</code></p></blockquote>
</li>
<li>Add the following to your <code>~/.profile</code> file.<br />
<blockquote><p><code> if [ -f /opt/local/etc/bash_completion ]; then<br />
. /opt/local/etc/bash_completion<br />
fi<br />
</code></p></blockquote>
</li>
<li>Open a new terminal and then enjoy!</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jfdm.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jfdm.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jfdm.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jfdm.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jfdm.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jfdm.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jfdm.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jfdm.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jfdm.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jfdm.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jfdm.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jfdm.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jfdm.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jfdm.wordpress.com/139/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=139&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jfdm.wordpress.com/2010/05/04/bash-completion-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73809c0b0abd58007a89ec0d36bc05d9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jdemuijnckhughes</media:title>
		</media:content>
	</item>
		<item>
		<title>Introducing Tome</title>
		<link>http://jfdm.wordpress.com/2010/03/22/introducing-tome/</link>
		<comments>http://jfdm.wordpress.com/2010/03/22/introducing-tome/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 19:38:37 +0000</pubDate>
		<dc:creator>jdemuijnckhughes</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[tome]]></category>

		<guid isPermaLink="false">http://jfdm.wordpress.com/?p=134</guid>
		<description><![CDATA[I have finally decided upon a name for the aforementioned documentation viewer for Linux that I previewed yesterday: Tome The rationale being that an existing Linux distro is  Tome of knowledge concerning system documentation, programming documentation etc I have yet to commit the code as I have a very busy schedule, a friend of mine [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=134&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have finally decided upon a name for the aforementioned documentation viewer for Linux that I previewed yesterday:</p>
<p style="text-align:center;"><strong><em><a href="https://launchpad.net/tome">Tome</a></em></strong></p>
<p>The rationale being that an existing Linux distro is  Tome of knowledge concerning system documentation, programming documentation etc I have yet to commit the code as I have a very busy schedule, a friend of mine is playing in a bar tonight, in less than an hour in fact, with a 20 minute bike ride and food still to do&#8230; However, I am still needing to do a lot but I will upload the code tomorrow night, hopefully i can get my head around  launchpad and &#8220;proper development procedures&#8221; by then. Of note it would be nice  to get some second opinions/help &#8212;first proper app you see&#8212; for:</p>
<ul>
<li>Artwork &#8212; i can barely draw a circle in Inkscape <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </li>
<li>Internationalisation</li>
<li>Code tidying</li>
<li>Parsing the &#8220;theList.txt&#8221;</li>
<li>Removing redundant entries</li>
<li>&#8230;</li>
</ul>
<p>If you want to help drop us a line. I have created a <a href="https://launchpad.net/tome">launchpad project</a> and my details should be there and will update it tomorrow night after work!</p>
<p>Also thanks to those behind: Quickly and Acire, I wouldn&#8217;t have been able to do something so fast so quickly.</p>
<p>Oh and yeah, here is the obligatory screen shot:<a href="http://jfdm.files.wordpress.com/2010/03/tome-initial.png"><img class="aligncenter size-medium wp-image-135" title="tome-initial" src="http://jfdm.files.wordpress.com/2010/03/tome-initial.png?w=300&#038;h=222" alt="" width="300" height="222" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jfdm.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jfdm.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jfdm.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jfdm.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jfdm.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jfdm.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jfdm.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jfdm.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jfdm.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jfdm.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jfdm.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jfdm.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jfdm.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jfdm.wordpress.com/134/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=134&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jfdm.wordpress.com/2010/03/22/introducing-tome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73809c0b0abd58007a89ec0d36bc05d9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jdemuijnckhughes</media:title>
		</media:content>

		<media:content url="http://jfdm.files.wordpress.com/2010/03/tome-initial.png?w=300" medium="image">
			<media:title type="html">tome-initial</media:title>
		</media:content>
	</item>
		<item>
		<title>DocView Preview</title>
		<link>http://jfdm.wordpress.com/2010/03/21/docview-promo/</link>
		<comments>http://jfdm.wordpress.com/2010/03/21/docview-promo/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 23:50:18 +0000</pubDate>
		<dc:creator>jdemuijnckhughes</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[docview]]></category>

		<guid isPermaLink="false">http://jfdm.wordpress.com/?p=130</guid>
		<description><![CDATA[In recent weeks Ubuntu (or rather Jono Bacon) has been championing the cause of the Opportunistic Developer. As part of that drive, and for a while before, the community has developed several tools to aide the Opportunistic Developer in their goals and aims.  For example: Quickly Ground Control Acire / Python Snippets However one thing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=130&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://www.jonobacon.org/2010/03/01/ubuntu-opportunistic-developer-week-this-week/">recent weeks</a> Ubuntu (or rather <a href="http://www.jonobacon.org/">Jono Bacon</a>) has been championing the cause of the Opportunistic Developer. As part of that drive, and for a while before, the community has developed several tools to aide the Opportunistic Developer in their goals and aims.  For example:</p>
<ul>
<li><a href="https://launchpad.net/quickly">Quickly</a></li>
<li><a href="https://launchpad.net/groundcontrol">Ground Control</a></li>
<li><a href="https://launchpad.net/acire">Acire</a> / <a href="https://launchpad.net/python-snippets">Python Snippets</a></li>
</ul>
<p>However one thing that is missing is within this landscape of developer aides is easy to access Developer documentation. That is a single app that presents the opportunistic developer with locally sourced docs that can hopefully help them with their project. To this end I decided to hack together such an application. It is presently called DocView (this is a tentative name) but an offical and proper name will be decided upon once I push the code to launchpad. Currently DocView is a simple python app that uses webkit to view a preselected choice of documentation that exists within the /usr/share/ directories.</p>
<p>Some of you might say:</p>
<p style="text-align:center;">What about <strong>DevHelp</strong>!?</p>
<p style="text-align:left;"><strong><a href="http://live.gnome.org/devhelp">DevHelp</a></strong> has pretty much exactly the same goals as my project that is providing developers with access to documentation, however, DevHelp is primarily aimed for GTK and Gnome and works with gtk-doc.  As such it does not include everything that exists within /usr/share , for instance: Doxygen and Java manuals are not included, while Python is. Moreover DevHelp integrates with a few apps such as Anjuta&#8230; so there is a bit of overlap. However I wish to keep this project quite simple at the moment.</p>
<p style="text-align:left;">Currently DocView is less than 2 hours old and is currently looking like this:</p>
<p style="text-align:left;"><a href="http://jfdm.files.wordpress.com/2010/03/docview-promo.png"><img class="aligncenter size-medium wp-image-131" title="docview-promo" src="http://jfdm.files.wordpress.com/2010/03/docview-promo.png?w=300&#038;h=174" alt="" width="300" height="174" /></a>There is still <strong>a lot</strong> of work that still needs to be done on DocView. I still need to iron out several bits and pieces like:</p>
<ul>
<li>How I am going to locate this documentation, currently, it is hardcoded as a list. Something which I want to avoid</li>
<li>How to group the items within the tree menu i.e.\ language, doc type</li>
<li>How to store the list of docs, CouchDB looks like the way to go.</li>
<li>And any other features that may be plausible for such a project.</li>
</ul>
<p style="text-align:left;">I am also undecided given the substantial overlap with DevHelp if I should continue with this project. But who knows&#8230;</p>
<ol></ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jfdm.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jfdm.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jfdm.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jfdm.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jfdm.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jfdm.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jfdm.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jfdm.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jfdm.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jfdm.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jfdm.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jfdm.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jfdm.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jfdm.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=130&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jfdm.wordpress.com/2010/03/21/docview-promo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73809c0b0abd58007a89ec0d36bc05d9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jdemuijnckhughes</media:title>
		</media:content>

		<media:content url="http://jfdm.files.wordpress.com/2010/03/docview-promo.png?w=300" medium="image">
			<media:title type="html">docview-promo</media:title>
		</media:content>
	</item>
		<item>
		<title>Some Indescribable music videos</title>
		<link>http://jfdm.wordpress.com/2010/02/27/some-indescribable-music-videos/</link>
		<comments>http://jfdm.wordpress.com/2010/02/27/some-indescribable-music-videos/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 21:44:17 +0000</pubDate>
		<dc:creator>jdemuijnckhughes</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jfdm.wordpress.com/?p=121</guid>
		<description><![CDATA[A collection of indescribable music videos that a friend pointed me towards. There are times when I am glad that my polygotism doesn&#8217;t cover the languages used!: Nowiy god Elektronik Supersonik Japanese, nuff said Something Roma Cine esti tu? Funny Elderly Asian Women Rock And as a bonus here are two videos, that I do [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=121&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A collection of indescribable music videos that a friend pointed me towards. There are times when I am glad that my polygotism doesn&#8217;t cover the languages used!:</p>
<ul>
<li><a href="http://www.youtube.com/watch?v=i1j_LfpKb1o">Nowiy god</a></li>
<li><a href="http://www.youtube.com/watch?v=lp_PIjc2ga4"> Elektronik Supersonik </a></li>
<li><a href="http://www.youtube.com/watch?v=vs1CA5hFdd4">Japanese, nuff said </a></li>
<li><a href="http://www.youtube.com/watch?v=uOz4TP34ob8">Something Roma </a></li>
<li><a href="http://www.youtube.com/watch?v=wHLUwGsSQ-k">Cine esti tu?</a></li>
<li><a href="http://www.youtube.com/watch?v=jFLVXNCu7Sc">Funny Elderly Asian Women Rock</a></li>
</ul>
<p>And as a bonus here are two videos, that I do not know how to describe, but not in the same way as the above:</p>
<ul>
<li><a href="http://www.youtube.com/watch?v=rUXwRz4QmA4">Bautura something something</a></li>
<li><a href="http://www.youtube.com/watch?v=KJR8tF_YtZY">Prinde-ma, aprinde-ma</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jfdm.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jfdm.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jfdm.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jfdm.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jfdm.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jfdm.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jfdm.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jfdm.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jfdm.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jfdm.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jfdm.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jfdm.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jfdm.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jfdm.wordpress.com/121/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=121&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jfdm.wordpress.com/2010/02/27/some-indescribable-music-videos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73809c0b0abd58007a89ec0d36bc05d9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jdemuijnckhughes</media:title>
		</media:content>
	</item>
		<item>
		<title>Customising Komodo Edit&#8217;s Colour Scheme</title>
		<link>http://jfdm.wordpress.com/2010/02/15/customising-komodo-edits-colour-scheme/</link>
		<comments>http://jfdm.wordpress.com/2010/02/15/customising-komodo-edits-colour-scheme/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 07:52:11 +0000</pubDate>
		<dc:creator>jdemuijnckhughes</dc:creator>
				<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://jfdm.wordpress.com/?p=106</guid>
		<description><![CDATA[Komodo Edit is a nice little cross platform text editor for dynamic languages from Active state based upon the XUL framework from Mozilla. I like as it is, among other things, an awesome Python editor. It provides some basic project management features, and some auto-completion and call-tips. The latter of which does become handy ever [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=106&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.activestate.com/komodo_edit/">Komodo Edit</a> is a nice little cross platform text editor for dynamic languages from Active state based upon the XUL framework from Mozilla. I like as it is, among <a href="http://www.activestate.com/komodo_edit/features/">other things</a>, an awesome Python editor. It provides some basic project management features, and some auto-completion and call-tips. The latter of which does become handy ever so often.</p>
<p>However its default colouring scheme could do with some improvements. Currently it looks like so:<a href="http://jfdm.files.wordpress.com/2010/02/kedit-orig-example1.png"><img class="aligncenter size-medium wp-image-112" title="Komodo Edit Default Example" src="http://jfdm.files.wordpress.com/2010/02/kedit-orig-example1.png?w=235&#038;h=300" alt="" width="235" height="300" /></a></p>
<p>When I use emacs, I use Gnome 2 as the &#8216;theme&#8217;, for example:</p>
<p><a href="http://jfdm.files.wordpress.com/2010/02/emacs-gnome2-example.png"><img class="aligncenter size-medium wp-image-107" title="Emacs Theme Gnome2" src="http://jfdm.files.wordpress.com/2010/02/emacs-gnome2-example.png?w=272&#038;h=300" alt="Emacs Theme Gnome2" width="272" height="300" /></a></p>
<p style="text-align:left;">So the other day I took the plunge and created a Gnome2 &#8216;inspired&#8217; theme for Komodo Edit. As always it is in perpetual development but at the moment it looks just fine. As you can see in image, below:</p>
<p><a href="http://jfdm.files.wordpress.com/2010/02/kedit-new-example.png"><img class="aligncenter size-medium wp-image-113" title="Komodo Edit Emacs Gnome2 Inspired Theme" src="http://jfdm.files.wordpress.com/2010/02/kedit-new-example.png?w=235&#038;h=298" alt="" width="235" height="298" /></a><br />
I have tweaked some of the colours to improve visibility but on par it makes Komodo Edit look more purdy. One thing to note is that the list of Keywords for Python in Komodo Edit is not as extensive, as that with Emacs <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  . However after a quick search, I found a <a href="http://community.activestate.com/forum/python-highlight-builtins">post</a> that explained how to add keywords. For Python, just locate the ﻿koPythonLanguage.py file and add the following code in the constructor of the koPythonLexerLanguageService class:<br />
<code><br />
kwlist.update(['keyword1','keyword2',...])<br />
</code><br />
And fill in the keywords you want. You can find the colour scheme file and keyword code <a href="http://jfdm-vault.googlecode.com/files/komodo-edit-gnome2-inspired-theme-v20100215.zip">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jfdm.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jfdm.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jfdm.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jfdm.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jfdm.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jfdm.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jfdm.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jfdm.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jfdm.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jfdm.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jfdm.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jfdm.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jfdm.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jfdm.wordpress.com/106/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=106&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jfdm.wordpress.com/2010/02/15/customising-komodo-edits-colour-scheme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73809c0b0abd58007a89ec0d36bc05d9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jdemuijnckhughes</media:title>
		</media:content>

		<media:content url="http://jfdm.files.wordpress.com/2010/02/kedit-orig-example1.png?w=235" medium="image">
			<media:title type="html">Komodo Edit Default Example</media:title>
		</media:content>

		<media:content url="http://jfdm.files.wordpress.com/2010/02/emacs-gnome2-example.png?w=272" medium="image">
			<media:title type="html">Emacs Theme Gnome2</media:title>
		</media:content>

		<media:content url="http://jfdm.files.wordpress.com/2010/02/kedit-new-example.png?w=235" medium="image">
			<media:title type="html">Komodo Edit Emacs Gnome2 Inspired Theme</media:title>
		</media:content>
	</item>
		<item>
		<title>My dot Emacs file</title>
		<link>http://jfdm.wordpress.com/2009/12/13/my-dot-emacs-file/</link>
		<comments>http://jfdm.wordpress.com/2009/12/13/my-dot-emacs-file/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 16:57:20 +0000</pubDate>
		<dc:creator>jdemuijnckhughes</dc:creator>
				<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://jfdm.wordpress.com/?p=100</guid>
		<description><![CDATA[Recently I upgraded to Emacs 23.1, customised some options, saved them and went about my work. However, whenever I used emacs on the command line I was greeted to a greyish background that just did not look like it belonged. And the plain white background was getting a bit old fashioned. So I decided it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=100&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently I upgraded to Emacs 23.1, customised some options, saved them and went about my work. However, whenever I used emacs on the command line I was greeted to a greyish background that just did not look like it belonged. And the plain white background was getting a bit old fashioned. So I decided it was high time that I setup my .emacs file amongst others.</p>
<p><strong>Note:</strong> <em>There are a lot of code samples in this post, Facebook removes the style, WordPress does not, Hyves I dunno. So if you want syntax highlighting then goto the wordpress version.</em></p>
<h3>Remove Gray Backgroun Colour in TTY</h3>
<p>First thing to do is use the <strong>Options</strong> menu to set most of your options like: font (mijn is DejaVu Sans Mono at 9) use standard copy and paste commands etc. However this will also set a default background and foreground colour scheme, to fix this open <code>~/.emacs</code> and remove from <code>(custom-set-faces...</code>: , &#8220;<code>:background white :foreground black"</code></p>
<p>You should have something similar to:</p>
<div style="border:1px solid #a0a0a0;">
<div style="font-family:Verdana, Arial, sans-serif;color:#808080;font-size:70%;font-weight:bold;background-color:#f0f0ff;border-bottom:1px solid #d0d0d0;padding:2px;">Generated using <a href="http://qbnz.com/highlighter/index.php"> GeSHi</a></div>
<p><span style="color:#808080;font-style:normal;">;; Custom Variables</span><br />
<span style="color:#66cc66;">(</span>custom-set-variables<br />
&#8216;<span style="color:#66cc66;">(</span>column-number-mode t<span style="color:#66cc66;">)</span><br />
&#8216;<span style="color:#66cc66;">(</span>cua-mode t <span style="color:#b1b100;">nil</span> <span style="color:#66cc66;">(</span>cua-base<span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span><br />
&#8216;<span style="color:#66cc66;">(</span>scroll-bar-mode <span style="color:#66cc66;">(</span><span style="color:#b1b100;">quote</span> right<span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span></p>
<p>&#8216;<span style="color:#66cc66;">(</span>show-paren-mode t<span style="color:#66cc66;">)</span><br />
&#8216;<span style="color:#66cc66;">(</span>size-indication-mode t<span style="color:#66cc66;">)</span><br />
&#8216;<span style="color:#66cc66;">(</span>uniquify-buffer-name-style <span style="color:#66cc66;">(</span><span style="color:#b1b100;">quote</span> forward<span style="color:#66cc66;">)</span> <span style="color:#b1b100;">nil</span> <span style="color:#66cc66;">(</span>uniquify<span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span><br />
<span style="color:#66cc66;">(</span>custom-set-faces</p>
<p>&#8216;<span style="color:#66cc66;">(</span>default <span style="color:#66cc66;">(</span><span style="color:#66cc66;">(</span>t <span style="color:#66cc66;">(</span><span style="color:#66cc66;">:</span><span style="color:#555;">inherit</span> <span style="color:#b1b100;">nil</span> <span style="color:#66cc66;">:</span><span style="color:#555;">stipple</span> <span style="color:#b1b100;">nil</span> <span style="color:#66cc66;">:</span><span style="color:#555;">inverse-video</span> <span style="color:#b1b100;">nil</span> <span style="color:#66cc66;">:</span><span style="color:#555;">box</span> <span style="color:#b1b100;">nil</span> <span style="color:#66cc66;">:</span><span style="color:#555;">strike-through</span> <span style="color:#b1b100;">nil</span> <span style="color:#66cc66;">:</span><span style="color:#555;">overline</span> <span style="color:#b1b100;">nil</span> <span style="color:#66cc66;">:</span><span style="color:#555;">underline</span> <span style="color:#b1b100;">nil</span> <span style="color:#66cc66;">:</span><span style="color:#555;">slant</span> normal <span style="color:#66cc66;">:</span><span style="color:#555;">weight</span> normal <span style="color:#66cc66;">:</span><span style="color:#555;">height</span> <span style="color:#cc66cc;">88</span> <span style="color:#66cc66;">:</span><span style="color:#555;">width</span> normal <span style="color:#66cc66;">:</span><span style="color:#555;">foundry</span> <span style="color:#ff0000;">&#8220;unknown&#8221;</span> <span style="color:#66cc66;">:</span><span style="color:#555;">family</span> <span style="color:#ff0000;">&#8220;DejaVu Sans Mono&#8221;</span><span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span></p>
</div>
<h3>Misc Stuff</h3>
<p>This is some misc stuff. The following entry shall set the default tab width, stop the splash screen from occurring, write filename into the titlebar and enable markdown mode if you have installed emacs extras i.e. i.e. emacs-goodies-el in ubuntu.</p>
<div style="border:1px solid #a0a0a0;">
<div style="font-family:Verdana, Arial, sans-serif;color:#808080;font-size:70%;font-weight:bold;background-color:#f0f0ff;border-bottom:1px solid #d0d0d0;padding:2px;">Generated using <a href="http://qbnz.com/highlighter/index.php"> GeSHi</a></div>
<p><span style="color:#66cc66;">(</span>defvar HOME <span style="color:#66cc66;">(</span>expand-file-<span style="color:#b1b100;">name</span> <span style="color:#ff0000;">&#8220;~&#8221;</span><span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span><br />
<span style="color:#66cc66;">(</span><span style="color:#b1b100;">setq</span> EMACS <span style="color:#ff0000;">&#8220;emacs&#8221;</span><span style="color:#66cc66;">)</span><br />
<span style="color:#66cc66;">(</span><span style="color:#b1b100;">setq</span> HOSTNAME <span style="color:#66cc66;">(</span>substring <span style="color:#66cc66;">(</span>system-<span style="color:#b1b100;">name</span><span style="color:#66cc66;">)</span> <span style="color:#cc66cc;">0</span> <span style="color:#66cc66;">(</span>string-match <span style="color:#ff0000;">&#8220;<span style="color:#000099;font-weight:normal;">\\</span>.&#8221;</span> <span style="color:#66cc66;">(</span>system-<span style="color:#b1b100;">name</span><span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span></p>
<p><span style="color:#66cc66;">(</span><span style="color:#b1b100;">setq</span> FULLHOSTNAME <span style="color:#66cc66;">(</span>system-<span style="color:#b1b100;">name</span><span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span><br />
<span style="color:#66cc66;">(</span><span style="color:#b1b100;">setq</span> USERNAME <span style="color:#66cc66;">(</span>getenv <span style="color:#ff0000;">&#8220;USER&#8221;</span><span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span></p>
<p><span style="color:#808080;font-style:normal;">;; Stop Splash screen</span></p>
<p><span style="color:#66cc66;">(</span><span style="color:#b1b100;">setq</span> inhibit-splash-screen t<span style="color:#66cc66;">)</span><span style="color:#808080;font-style:normal;"> </span></p>
<p><span style="color:#808080;font-style:normal;">;; Tab width </span><br />
<span style="color:#66cc66;">(</span><span style="color:#b1b100;">setq</span> default-tab-width <span style="color:#cc66cc;">4</span><span style="color:#66cc66;">)</span><br />
<span style="color:#66cc66;">(</span>setq-default tab-width <span style="color:#cc66cc;">4</span><span style="color:#66cc66;">)</span></p>
<p><span style="color:#808080;font-style:normal;">;; Write filename into titlebar.</span><br />
<span style="color:#66cc66;">(</span><span style="color:#b1b100;">setq</span> frame-title-format `<span style="color:#66cc66;">(</span><span style="color:#66cc66;">,</span>EMACS <span style="color:#ff0000;">&#8220;["</span>USERNAME <span style="color:#ff0000;">"@"</span> HOSTNAME <span style="color:#ff0000;">"]: &#8220;</span></p>
<p><span style="color:#66cc66;">(</span>buffer-file-<span style="color:#b1b100;">name</span> <span style="color:#ff0000;">&#8220;%f&#8221;</span> <span style="color:#66cc66;">(</span>dired-directory dired-directory  <span style="color:#ff0000;">&#8220;%b&#8221;</span><span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span></p>
<p><span style="color:#808080;font-style:normal;">;; Add Markdown mode</span></p>
<p><span style="color:#66cc66;">(</span>autoload &#8216;markdown-mode <span style="color:#ff0000;">&#8220;markdown-mode.el&#8221;</span> <span style="color:#ff0000;">&#8220;Major mode for editing Markdown files&#8221;</span> t<span style="color:#66cc66;">)</span><br />
<span style="color:#66cc66;">(</span><span style="color:#b1b100;">setq</span> auto-mode-alist <span style="color:#66cc66;">(</span><span style="color:#b1b100;">cons</span> &#8216;<span style="color:#66cc66;">(</span><span style="color:#ff0000;">&#8220;<span style="color:#000099;font-weight:normal;">\\</span>.mdt&#8221;</span> <span style="color:#66cc66;">.</span> markdown-mode<span style="color:#66cc66;">)</span> auto-mode-alist<span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span></p>
</div>
<h3>A coloured Emacs</h3>
<p>If you have installed the <a href="http://www.nongnu.org/color-theme/index.html">color-theme</a> package for emacs (i.e. emacs-goodies-el in ubuntu) then you can get some nice themes going. I currently use <code>color-theme-gnome2</code> for graphical emacs and <code>color-theme-tty-dark</code> when in TTY mode i.e. in a terminal.  However gnome2 doesn&#8217;t look well when run in the terminal as does tty-dark and vice-versa. The code below ensures that each theme is used when required. A full list of themes can be found be the following command:</p>
<blockquote><p><code>M-x color-theme-select</code></p></blockquote>
<p>The lisp code is:</p>
<div style="border:1px solid #a0a0a0;">
<div style="font-family:Verdana, Arial, sans-serif;color:#808080;font-size:70%;font-weight:bold;background-color:#f0f0ff;border-bottom:1px solid #d0d0d0;padding:2px;">Generated using <a href="http://qbnz.com/highlighter/index.php"> GeSHi</a></div>
<p><span style="color:#808080;font-style:normal;">;; Add colour theme stuff</span><br />
<span style="color:#66cc66;">(</span>require &#8216;color-theme<span style="color:#66cc66;">)</span><br />
<span style="color:#808080;font-style:normal;">;; hook: test win sys and rerun color-theme</span><br />
<span style="color:#66cc66;">(</span><span style="color:#b1b100;">defun</span> test-win-sys<span style="color:#66cc66;">(</span>frame<span style="color:#66cc66;">)</span><br />
<span style="color:#66cc66;">(</span><span style="color:#b1b100;">let</span> <span style="color:#66cc66;">(</span><span style="color:#66cc66;">(</span>color-theme-is-global <span style="color:#b1b100;">nil</span><span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span></p>
<p><span style="color:#66cc66;">(</span>select-frame frame<span style="color:#66cc66;">)</span><br />
<span style="color:#66cc66;">(</span><span style="color:#b1b100;">if</span> <span style="color:#66cc66;">(</span>window-system frame<span style="color:#66cc66;">)</span><span style="color:#66cc66;">(</span>color-theme-gnome2<span style="color:#66cc66;">)</span><span style="color:#66cc66;">(</span>color-theme-tty-dark<span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span></p>
<p><span style="color:#808080;font-style:normal;">;; hook on after-make-frame-functions</span><br />
<span style="color:#66cc66;">(</span>add-hook &#8216;after-make-frame-functions &#8216;test-win-sys<span style="color:#66cc66;">)</span></p>
<p><span style="color:#808080;font-style:normal;">;; default coloue schemes start</span><br />
<span style="color:#66cc66;">(</span><span style="color:#b1b100;">let</span> <span style="color:#66cc66;">(</span><span style="color:#66cc66;">(</span>color-theme-is-global <span style="color:#b1b100;">nil</span><span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span></p>
<p><span style="color:#66cc66;">(</span><span style="color:#b1b100;">if</span> <span style="color:#66cc66;">(</span>window-system<span style="color:#66cc66;">)</span><span style="color:#66cc66;">(</span>color-theme-gnome2<span style="color:#66cc66;">)</span><span style="color:#66cc66;">(</span>color-theme-tty-dark<span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span><span style="color:#66cc66;">)</span></p>
</div>
<h3>References</h3>
<p>[1] <a href="http://emacs-fu.blogspot.com/2009/03/color-theming.html" target="_blank">http://emacs-fu.blogspot.com/2009/03/color-theming.html</a><br />
[2] <a href="http://www.emacswiki.org/emacs/ColorTheme" target="_blank">http://www.emacswiki.org/emacs/ColorTheme<br />
</a> [3] <a href="http://www.jimbrooks.org/web/tools/emacs/dot_emacs.txt" target="_blank">http://www.jimbrooks.org/web/tools/emacs/dot_emacs.txt</a><br />
[4] <a href="http://www.google.nl" target="_blank">The Internet</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jfdm.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jfdm.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jfdm.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jfdm.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jfdm.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jfdm.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jfdm.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jfdm.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jfdm.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jfdm.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jfdm.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jfdm.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jfdm.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jfdm.wordpress.com/100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=100&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jfdm.wordpress.com/2009/12/13/my-dot-emacs-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73809c0b0abd58007a89ec0d36bc05d9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jdemuijnckhughes</media:title>
		</media:content>
	</item>
		<item>
		<title>My Web Services Installation</title>
		<link>http://jfdm.wordpress.com/2009/12/13/my-web-services-installation/</link>
		<comments>http://jfdm.wordpress.com/2009/12/13/my-web-services-installation/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 15:44:54 +0000</pubDate>
		<dc:creator>jdemuijnckhughes</dc:creator>
				<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://jfdm.wordpress.com/?p=93</guid>
		<description><![CDATA[As part of a research project I have gotten to finally play with web services again. For which I have to use the following: JAX-WS (v2.1) thus Metro 2.0 Tomcat 6 OpenJDK 1.6.0_0 alias IcedTea6 The instructions bellow are to install on Ubuntu 9.04, yes I still need to upgrade to Karmic but that is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=93&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As part of a research project I have gotten to finally play with web services again. For which I have to use the following:</p>
<ul>
<li> <a href="https://jax-ws.dev.java.net/" target="_blank">JAX-WS</a> (v2.1) thus <a href="https://metro.dev.java.net/" target="_blank">Metro 2.0</a></li>
<li><a href="http://tomcat.apache.org/" target="_blank">Tomcat 6</a></li>
<li> <a href="http://openjdk.java.net/" target="_blank">OpenJDK</a> 1.6.0_0 alias IcedTea6</li>
</ul>
<p>The instructions bellow are to install on Ubuntu 9.04, yes I still need to upgrade to Karmic but that is for another day.</p>
<h3>Step 1: Install Java (Optional)</h3>
<p>Cannot really remember how I installed OpenJDK, but if I remember its just:</p>
<blockquote><p><code>$ sudo apt-get install openjdk-6-jre openjdk-6-jdk</code></p></blockquote>
<h3>Step 2: Tomcat 6</h3>
<p>To install Tomcat 6:</p>
<blockquote><p><code>$ sudo apt-get install tomcat6-admin tomcat6-common tomcat6-user tomcat6-examples tomcat6-docs</code></p></blockquote>
<p>Add:</p>
<div style="border:1px solid rgb(160,160,160);">
<div style="border-bottom:1px solid rgb(208,208,208);font-family:Verdana,Arial,sans-serif;color:rgb(128,128,128);font-size:70%;font-weight:bold;background-color:rgb(240,240,255);padding:2px;">Generated using <a href="http://qbnz.com/highlighter/index.php">GeSHi</a></div>
<p><span style="color:rgb(0,153,0);"><span style="color:rgb(0,0,0);font-weight:bold;">&lt;role</span> <span style="color:rgb(0,0,102);">rolename</span>=<span style="color:rgb(255,0,0);">&#8220;manager&#8221;</span><span style="color:rgb(0,0,0);font-weight:bold;">/&gt;</span></span><br />
<span style="color:rgb(0,153,0);"><span style="color:rgb(0,0,0);font-weight:bold;">&lt;role</span> <span style="color:rgb(0,0,102);">rolename</span>=<span style="color:rgb(255,0,0);">&#8220;admin&#8221;</span><span style="color:rgb(0,0,0);font-weight:bold;">/&gt;</span></span><br />
<span style="color:rgb(0,153,0);"><span style="color:rgb(0,0,0);font-weight:bold;">&lt;user</span> <span style="color:rgb(0,0,102);">username</span>=<span style="color:rgb(255,0,0);">&#8220;admin&#8221;</span> <span style="color:rgb(0,0,102);">password</span>=<span style="color:rgb(255,0,0);">&#8220;helloworld&#8221;</span> <span style="color:rgb(0,0,102);">roles</span>=<span style="color:rgb(255,0,0);">&#8220;manager,admin&#8221;</span><span style="color:rgb(0,0,0);font-weight:bold;">/&gt;</span></span></p>
</div>
<p>To you your <code>/etc/tomcat/tomcat-users.xml</code> file and voila that is tomcat up and running and accessible from <code>http://localhost:8080</code> . If not you may need to do:</p>
<blockquote><p><code>$ sudo /etc/init.d/tomcat start</code></p></blockquote>
<h3>Step 3: Metro 2.0</h3>
<p>Obtain Metro 2.0 from <a href="https://metro.dev.java.net/2.0/" target="_blank">here</a> and move the webservices-*.jar files into <code>/usr/share/tomcat6/lib/</code> . You may also want to add both webservices-api.jar and jsr173_api.jar to <code>/usr/lib/jvm/default-java/jre/lib/endorsed </code>. This will ensure that the default jvm, utilises the latest api and thus is in the default classpath. If not ensure that you classpath at least includes the jars placed in <code>/usr/share/tomcat6/lib/</code> earlier.</p>
<p><strong>Note:</strong> Metro 2.0 does contain a Tomcat6 installer but, I haven&#8217;t used it as my steps were developed before it came out.</p>
<h3>References Used</h3>
<p>[1] <a href="http://blogs.sun.com/arungupta/entry/metro_on_tomcat_6_x" target="_blank">http://blogs.sun.com/arungupta/entry/metro_on_tomcat_6_x</a><br />
[2] <a href="http://weblogs.java.net/blog/ramapulavarthi/archive/2007/07/running_jaxws_s.html" target="_blank">http://weblogs.java.net/blog/ramapulavarthi/archive/2007/07/running_jaxws_s.html</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jfdm.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jfdm.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jfdm.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jfdm.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jfdm.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jfdm.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jfdm.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jfdm.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jfdm.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jfdm.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jfdm.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jfdm.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jfdm.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jfdm.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=93&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jfdm.wordpress.com/2009/12/13/my-web-services-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73809c0b0abd58007a89ec0d36bc05d9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jdemuijnckhughes</media:title>
		</media:content>
	</item>
		<item>
		<title>Privacy in the Cloud: Ephemerising your Data</title>
		<link>http://jfdm.wordpress.com/2009/10/11/ephemerising-your-data/</link>
		<comments>http://jfdm.wordpress.com/2009/10/11/ephemerising-your-data/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 15:51:53 +0000</pubDate>
		<dc:creator>jdemuijnckhughes</dc:creator>
				<category><![CDATA[data protection]]></category>
		<category><![CDATA[ephemeriser]]></category>
		<category><![CDATA[privacy in the cloud]]></category>
		<category><![CDATA[QuickGuide]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[self destroying data]]></category>

		<guid isPermaLink="false">http://jfdm.wordpress.com/?p=74</guid>
		<description><![CDATA[This post is the first in a series that I would like to call Privacy in the Cloud. My aim is to look at various techniques and technologies that can be used to not only protect our data being stored in the Cloud, but to also  inform us of that protection. I shall also look [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=74&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post is the first in a series that I would like to call <em>Privacy in the Cloud</em>. My aim is to look at various techniques and technologies that can be used to not only protect our data being stored in the Cloud, but to also  inform us of that protection. I shall also look at the notion of privacy from the view points of the entities involved i.e. service provider and service requester, in terms of legal obligations and ramifications, and the societal aspects. Other topics will be introduced and addressed once I have thought of them&#8230;</p>
<h3>Destroying Data</h3>
<p>One of the interesting problems that can arise in the Cloud is that of data availability, where data is reliably available on the cloud. Another, related and just as important notion is that of data unavailability, where data is made unrecoverable after a set period. This is important for information that is sensitive and transitory in nature. Recall the messages (or instructions) in the popular television series <em>Inspector Gadget</em> and <em>Mission Impossible</em>:</p>
<blockquote>
<div style="text-align:center;"><span style="background-color:#ffffff;"><em>This message will self destruct in 40 seconds.</em></span></div>
</blockquote>
<p>In such messages the aim is to reduce number of copies that can be made and also stop access to that data after a set period of time has elapsed.</p>
<p>The obvious solution is to use encryption in which the data is encrypted and the keys used are deleted after a certain period of time. Note normal erasure methods i.e. deletion and repeated rewrites of the data on disk, are not enough as the data can still be recovered via special techniques, obfuscation of the data is needed. The crux of the problem regarding any cryptographic system is that of key management.  Recently I have read the Sun Micro-systems technical report <a href="http://research.sun.com/techrep/2005/abstract-140.html" target="_blank">SMLI TR-2005-140</a> in which Radia Perlman introduced the idea of the <strong>Ephemeriser</strong> as a means to provide self-destructing data. This has been part of recent reading for a course I am undertaking.</p>
<p>In this post I shall introduce the idea of the <strong>Ephemeriser </strong>, subsequent posts shall look at a variant of the Ephemeriser called <em>Timed-Ephemeriser</em> and other data destroying methods such as <em>Vanish</em>.</p>
<h3>The Ephemeriser</h3>
<p>In the Ephemeriser System there are three entities:</p>
<ol>
<li><em><strong>Alice</strong></em> &#8212;  the data generator</li>
<li><em><strong>Bob</strong></em> &#8212; the data consumer, who can also be Alice herself, and</li>
<li><em><strong>Eve</strong></em> &#8212; the Ephemeriser that provides key management</li>
</ol>
<p>The aim of the Eve (an external server) is to create and advertise a series of Public Key and expiration time pairs. These keys shall be used to encrypt the ephemeral (transitory) data and that after the expiration time the Secret Key is then destroyed. Once Alice has selected and encrypted her data using the key, she then sends the message to Bob. In order for Bob to access the data he collaborates with Eve.</p>
<p>The message passing can be summarised as follows:<a href="http://jfdm.files.wordpress.com/2009/10/message-flow1.png"><img class="aligncenter size-full wp-image-77" title="Ephemeriser Message Sequence" src="http://jfdm.files.wordpress.com/2009/10/message-flow1.png?w=450&#038;h=415" alt="Ephemeriser Message Sequence" width="450" height="415" /></a></p>
<p>In order to ensure the proper destruction of data and also the unwanted copying of the data, Perlman assumes that the software involved (especially in relation to Bob) does not have the ability to copy the decrypted data or hold it in stable storage for use later on.</p>
<p>In the tech. report Perlman provides two implementations of Ephemeriser, one using Triple Encryption using Public Key Encryption and another <em>more efficient</em> implementation that uses blind encryption. In this posting only the Triple Encryption variant shall be described.</p>
<h3>Implementation Using Triple Encryption</h3>
<p>Each entity has their own long term encryption and encryption key pairs. Eve will advertise a triple that consists of a public key, Key ID and expiration time. The Key ID is used to identify the corresponding secret key that is stored by Eve.</p>
<p>Please note that the notation used to denote asymmetric encryption goes against the grain of the standard, but this is the notation used in the report itself.</p>
<h4>Encryption</h4>
<p>In order to encrypt the message m, Alice:</p>
<ol>
<li> Encrypts M using a secret per message key S</li>
<li>Chooses an ephemeral secret T, that will act as an integrity check<br />
and link between the message encryption key and the ephemeral key.</li>
<li>Selects an expiration date, thus obtains a suitable ephemeral key from Eve.</li>
<li>The key S shall be triply encrypted using the Public Key of Bob,<br />
the Ephemeral Key and finally the ephemeral secret T</li>
<li>Produces a message authentication code of the message encryption key S that has been double encrypted using the public key of bob and the ephemeral key, that has been concatenated to the ephemeral key using a keyed hash function using the ephemeral secret T as the key.</li>
</ol>
<p>Finally Alice sends to Bob the following:</p>
<p style="text-align:center;"><a href="http://jfdm.files.wordpress.com/2009/10/alicetobob1.png"><img class="aligncenter size-full wp-image-79" title="AlicetoBob" src="http://jfdm.files.wordpress.com/2009/10/alicetobob1.png?w=450" alt="AlicetoBob"   /></a></p>
<p>which is the encrypted ephemeral secret T, the protected per-message key S, the encrypted message M, the Key ID of the ephemeral key, the ephemeral key and the message authentication code.</p>
<h4>Decryption</h4>
<p>The decryption itself consists of three stages the initial decryption of the data by Bob, the use of Eve to remove the ephemeral protection and finally the actual access to the data by Bob.</p>
<h5>Bob&#8217;s First Task</h5>
<p>On receipt of Alice&#8217;s message Bob will:</p>
<ol>
<li><span style="background-color:#ffffff;"> Obtains the ephemeral secret T.</span></li>
<li><span style="background-color:#ffffff;">Obtain the protected per-message key using T.</span></li>
<li><span style="background-color:#ffffff;">Verifies the produced per-message key through calculation of a message authentication code and comparison against the sent one.</span></li>
<li><span style="background-color:#ffffff;">Then Bob chooses a per-message key J to secure communication between himself and Eve.</span></li>
<li><span style="background-color:#ffffff;">Encrypts this key with the ephemeral key sent by Alice.</span></li>
<li><span style="background-color:#ffffff;">Encrypts the protected per-message key using J.</span></li>
</ol>
<p>Finally Bob sends to Eve the following:</p>
<p style="text-align:center;"><a href="http://jfdm.files.wordpress.com/2009/10/bobtoeve.png"><img class="aligncenter size-full wp-image-80" title="BobtoEve" src="http://jfdm.files.wordpress.com/2009/10/bobtoeve.png?w=450" alt="BobtoEve"   /></a></p>
<p>which is the key id, the protected per-message key J and the protected per-message key S.</p>
<h5>Eve&#8217;s Task</h5>
<p>On receipt of Bob&#8217;s message Eve:</p>
<ol>
<li><span style="background-color:#ffffff;">Selects the decryption key corresponding to the ephemeral key ID sent.</span></li>
<li><span style="background-color:#ffffff;">Obtains the per-message key J.</span></li>
<li><span style="background-color:#ffffff;">Using J obtains the protected per-message key S used.</span></li>
<li><span style="background-color:#ffffff;">Decrypts the protected per-message key S using the secret ephemeral key, so that it is now only protected by Bob&#8217;s public key.</span></li>
</ol>
<p>Finally Eve re-encrypts the protected per-message key S using J and sends this back to Bob, hence the final message is:</p>
<p style="text-align:center;"><a href="http://jfdm.files.wordpress.com/2009/10/evetobob.png"><img class="aligncenter size-full wp-image-81" title="EvetoBob" src="http://jfdm.files.wordpress.com/2009/10/evetobob.png?w=450" alt="EvetoBob"   /></a></p>
<h5>Bob&#8217;s Second Task</h5>
<p>Thus on receipt of Eve&#8217;s message, Bob:</p>
<ol>
<li><span style="background-color:#ffffff;">Decrypts the protected per-message key S using J.</span></li>
<li><span style="background-color:#ffffff;">Obtains S by decrypting the previous result using his secret key.</span></li>
</ol>
<p>Once Bob has obtained S he can then obtain the message M.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jfdm.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jfdm.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jfdm.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jfdm.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jfdm.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jfdm.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jfdm.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jfdm.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jfdm.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jfdm.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jfdm.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jfdm.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jfdm.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jfdm.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jfdm.wordpress.com&amp;blog=6215505&amp;post=74&amp;subd=jfdm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jfdm.wordpress.com/2009/10/11/ephemerising-your-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73809c0b0abd58007a89ec0d36bc05d9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jdemuijnckhughes</media:title>
		</media:content>

		<media:content url="http://jfdm.files.wordpress.com/2009/10/message-flow1.png" medium="image">
			<media:title type="html">Ephemeriser Message Sequence</media:title>
		</media:content>

		<media:content url="http://jfdm.files.wordpress.com/2009/10/alicetobob1.png" medium="image">
			<media:title type="html">AlicetoBob</media:title>
		</media:content>

		<media:content url="http://jfdm.files.wordpress.com/2009/10/bobtoeve.png" medium="image">
			<media:title type="html">BobtoEve</media:title>
		</media:content>

		<media:content url="http://jfdm.files.wordpress.com/2009/10/evetobob.png" medium="image">
			<media:title type="html">EvetoBob</media:title>
		</media:content>
	</item>
	</channel>
</rss>
