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

<channel>
	<title>Slopjongs weblog &#187; Technology</title>
	<atom:link href="http://slopjong.de/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://slopjong.de</link>
	<description>Speedskating, tech stuff &#38; lots more</description>
	<lastBuildDate>Wed, 10 Mar 2010 23:25:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>svn2web</title>
		<link>http://slopjong.de/2010/03/02/svn2web/</link>
		<comments>http://slopjong.de/2010/03/02/svn2web/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 11:20:42 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[svn2web]]></category>
		<category><![CDATA[Tool]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://slopjong.de/?p=3436</guid>
		<description><![CDATA[svn2web is a subversion hook script that uploads the committed files to a server by the ftp or sftp protocol. With this script it&#8217;s very easy to keep your local development branch of your web project synchronized with your server as long as you don&#8217;t make server-side changes.
Be aware that you complete the PATH variable [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://svn2web.sourceforge.net" target="_blank">svn2web</a> is a subversion hook script that uploads the committed files to a server by the ftp or sftp protocol. With this script it&#8217;s very easy to keep your local development branch of your web project synchronized with your server as long as you don&#8217;t make server-side changes.</p>
<p>Be aware that you complete the PATH variable as the script isn&#8217;t executed in an interactive shell. This means no .bashrc or .profile are read. So you have to set PATH by yourself. You also have to pay attention to the order of the binary locations. I had some trouble with the <em>Leopard</em><sup class='footnote'><a href='#fn-3436-1' id='fnref-3436-1'>1</a></sup> svn installation and the macports installation. The former was an older version which couldn&#8217;t work with repository created by the latter.</p>
<p>If you get one of these error messages </p>
<pre><code>svnlook expected fs format '2'; found format '4'</code></pre>
<p>or</p>
<pre><code>Invalid change kind in rev file</code></pre>
<p>take a look at the PATH before you start <em>debugging</em> svn2web <img src='http://slopjong.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>For those who want to set ftp/sftp options you can do this by setting the svn property <em>svn2web-options</em>. Unfortunately this is nowhere documented so if it&#8217;s not working properly you should contact the dev team or fix it by yourself. Don&#8217;t forget to spread the bugfix with the world.
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-3436-1'>The cat I got from the Apple zoo <span class='footnotereverse'><a href='#fnref-3436-1'>&#8617;</a></span></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2010/03/02/svn2web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use BackPress?</title>
		<link>http://slopjong.de/2010/02/21/how-to-use-backpress/</link>
		<comments>http://slopjong.de/2010/02/21/how-to-use-backpress/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 17:56:58 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://slopjong.de/?p=3414</guid>
		<description><![CDATA[For my recent project I want to use some WordPress core functions but it&#8217;s too disproportionate to install the full system. Then I found BackPress which is exactly what I need. It&#8217;s a collection of WordPress, bbPress and GlotPress libraries.
The usage of this library collection requires some work. In fact you only need to include [...]]]></description>
			<content:encoded><![CDATA[<p>For my recent project I want to use some WordPress core functions but it&#8217;s too disproportionate to install the full system. Then I found <a href="http://backpress.org" target="_blank">BackPress</a> which is exactly what I need. It&#8217;s a collection of WordPress, bbPress and GlotPress libraries.</p>
<p>The usage of this library collection requires some work. In fact you only need to include <em>functions.core.php</em> and the libraries you need. But to find out what files you exactly need can be hard because some functions have a lot of dependencies so my proposal is to include everything as you needn&#8217;t to care about any dependencies later on.</p>
<p>Furthermore some files have to be included exclusive-or what means that either the one has to be included or the other one. Download <strong><a href='http://slopjong.de/wp-content/2010/02/backpress.php_.zip'>backpress.php</a></strong> and include the extracted file in your web project.</p>
<pre>
<code>&lt;?php
// this constant is needed for class.bpdb-multi.php
// leave the value empty
define('BACKPRESS_PATH','');

// the core functions
include_once('backpress/includes/functions.core.php');

include_once('backpress/includes/class.bp-log.php');
include_once('backpress/includes/class.bp-roles.php');
include_once('backpress/includes/class.bp-sql-schema-parser.php');
include_once('backpress/includes/class.bp-user.php');
include_once('backpress/includes/class.bpdb-multi.php');
include_once('backpress/includes/class.bpdb.php');
include_once('backpress/includes/class.ixr.php');
include_once('backpress/includes/class.mailer-smtp.php');
include_once('backpress/includes/class.mailer.php');
include_once('backpress/includes/class.passwordhash.php');
include_once('backpress/includes/class.wp-ajax-response.php');
include_once('backpress/includes/class.wp-auth.php');
include_once('backpress/includes/class.wp-dependencies.php');
include_once('backpress/includes/class.wp-error.php');
include_once('backpress/includes/class.wp-http.php');
include_once('backpress/includes/class.wp-pass.php');
include_once('backpress/includes/class.wp-scripts.php');
include_once('backpress/includes/class.wp-styles.php');
include_once('backpress/includes/class.wp-taxonomy.php');
include_once('backpress/includes/class.wp-users.php');
include_once('backpress/includes/functions.bp-options.php');
include_once('backpress/includes/functions.compat.php');
include_once('backpress/includes/functions.formatting.php');
include_once('backpress/includes/functions.kses.php');
include_once('backpress/includes/functions.plugin-api.php');
include_once('backpress/includes/functions.shortcodes.php');
include_once('backpress/includes/functions.wp-cron.php');
include_once('backpress/includes/functions.wp-object-cache.php');
include_once('backpress/includes/functions.wp-scripts.php');
include_once('backpress/includes/functions.wp-styles.php');
include_once('backpress/includes/functions.wp-taxonomy.php');
include_once('backpress/includes/interface.bp-options.php');

// Only include one of these two
include_once('backpress/includes/loader.wp-object-cache-memcached.php');
//include_once('backpress/includes/loader.wp-object-cache.php');
?&gt;</code>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2010/02/21/how-to-use-backpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook Lite</title>
		<link>http://slopjong.de/2010/02/13/facebook-lite/</link>
		<comments>http://slopjong.de/2010/02/13/facebook-lite/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 18:54:06 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://slopjong.de/?p=3408</guid>
		<description><![CDATA[I wrote a script for minimizing the facebook theme. For this you need the Greasemonkey firefox add-on.
To install the script click on this link Facebook Lite
]]></description>
			<content:encoded><![CDATA[<p>I wrote a script for minimizing the facebook theme. For this you need the <a href="https://addons.mozilla.org/firefox/748/" target="_blank">Greasemonkey</a> firefox add-on.</p>
<p>To install the script click on this link <a href='http://slopjong.de/wp-content/2010/02/facebook_lite.user.js'>Facebook Lite</a></p>
]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2010/02/13/facebook-lite/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Batch printing</title>
		<link>http://slopjong.de/2010/02/01/batch-printing/</link>
		<comments>http://slopjong.de/2010/02/01/batch-printing/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 15:30:51 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[printing]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://slopjong.de/?p=3400</guid>
		<description><![CDATA[I often upload some pdf files on a server to print them at my faculty. On the server I follow these steps:
1. Convert the uploaded pdf files to postscript 

for file in `ls -1`; do pdftops $file; done

ls -11 lists all the files of the current directory, one file per line. pdftops actually converts the [...]]]></description>
			<content:encoded><![CDATA[<p>I often upload some pdf files on a server to print them at my faculty. On the server I follow these steps:</p>
<p><strong>1. Convert the uploaded pdf files to postscript</strong> </p>
<pre>
<code>for file in `ls -1`; do pdftops $file; done</code>
</pre>
<p><em>ls -1</em><sup class='footnote'><a href='#fn-3400-1' id='fnref-3400-1'>1</a></sup> lists all the files of the current directory, one file per line. <em>pdftops</em> actually converts the pdf files to postscript.</p>
<p><strong>2. Delete the pdf files</strong></p>
<pre>
<code>rm *.pdf</code>
</pre>
<p>We need to delete the pdf files to only list postscript files in the next command.</p>
<p><strong>3. Put two pages on one page and print them</strong></p>
<pre>
<code>for file in `ls -1`; do psnup -2 -d0 $file | lpr -Pscit32411d; done</code>
</pre>
<p>Again we walk through the file list but this time <em>psnup</em> prints two pages on one page and we pipe its result to the print command <em>lpr</em>. The argument P is the printer name of our destination.</p>
<p>I&#8217;m sure this can be done in only one line but I&#8217;m not a big shell scripter so I make the batch printing in three lines.
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-3400-1'>The parameter is a <strong>one</strong> and not a <strong>l</strong> <span class='footnotereverse'><a href='#fnref-3400-1'>&#8617;</a></span></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2010/02/01/batch-printing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>source url not under source root</title>
		<link>http://slopjong.de/2010/01/26/source-url-not-under-source-root/</link>
		<comments>http://slopjong.de/2010/01/26/source-url-not-under-source-root/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 16:57:17 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://slopjong.de/?p=3390</guid>
		<description><![CDATA[I&#8217;ve tried to mirror a svn repository and svk (yes svk and not svn!) told me that the source url is not under source root whatever this means.
An escaped space character caused svk fail the check:

if substr( $source_path, 0, length( $source_root ), '') ne $source_root;

in line 162 in SVNRa.pm.
I fixed this problem while adding a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve tried to mirror a svn repository and svk (yes svk and not svn!) told me that the <em>source url is not under source root</em> whatever this means.</p>
<p>An escaped space character caused svk fail the check:</p>
<pre>
<code>if substr( $source_path, 0, length( $source_root ), '') ne $source_root;</code>
</pre>
<p>in line 162 in SVNRa.pm.</p>
<p>I fixed this problem while adding a line which replaces %20 by a space character because an URL with the file protocol must not be escaped. These resources are accessed directly from the disk and not from a webserver. </p>
<pre>
<code>$source_path =~ s/ /%20/g if $source_path =~ m,^file://,;

# XXX: this shouldn't happen. kill this substr
die "source url not under source root"
if substr( $source_path, 0, length( $source_root ), '') ne $source_root;</code>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2010/01/26/source-url-not-under-source-root/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Let SVN accept revision propchanges</title>
		<link>http://slopjong.de/2010/01/20/let-svn-accept-revision-propchanges/</link>
		<comments>http://slopjong.de/2010/01/20/let-svn-accept-revision-propchanges/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 18:33:47 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://slopjong.de/?p=3375</guid>
		<description><![CDATA[The following message appears if you try to modify properties (e.g. the log message) while the propchanges hook is not enabled.

Repository has not been enabled to accept revision propchanges;
ask the administrator to create a pre-revprop-change hook

This hook is nothing else than an executable script located in repos/hooks/ that exits with 0 or 1 if defined [...]]]></description>
			<content:encoded><![CDATA[<p>The following message appears if you try to modify properties (e.g. the log message) while the propchanges hook is not enabled.</p>
<pre>
<code>Repository has not been enabled to accept revision propchanges;
ask the administrator to create a pre-revprop-change hook</code>
</pre>
<p>This hook is nothing else than an executable script located in <em>repos/hooks/</em> that exits with 0 or 1 if defined conditions are not fulfilled. You can remove the file suffix tmpl from <em>pre-revprop-change.tmpl</em><sup class='footnote'><a href='#fn-3375-1' id='fnref-3375-1'>1</a></sup> if the template already exists or you create it from the scratch.</p>
<p>For Unix systems the script looks like</p>
<pre>
<code>#!/bin/sh
exit 0;</code>
</pre>
<p>and for Windows it&#8217;s</p>
<pre>
<code>@echo off
exit /B 0</code>
</pre>
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-3375-1'>On Windows the suffix shouldn&#8217;t be removed but changed from <em>tmpl</em> to <em>bat</em> instead. <span class='footnotereverse'><a href='#fnref-3375-1'>&#8617;</a></span></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2010/01/20/let-svn-accept-revision-propchanges/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>org.eclipse.emf.ecore.xmi.IllegalValueException</title>
		<link>http://slopjong.de/2010/01/05/org-eclipse-emf-ecore-xmi-illegalvalueexception/</link>
		<comments>http://slopjong.de/2010/01/05/org-eclipse-emf-ecore-xmi-illegalvalueexception/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 18:33:46 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[ecore]]></category>
		<category><![CDATA[emf]]></category>

		<guid isPermaLink="false">http://slopjong.de/?p=3355</guid>
		<description><![CDATA[I hate exceptions. Yes, I really hate exceptions.
I&#8217;ve defined a EDataType EPoint that uses the java class org.eclipse.draw2d.geometry.Point.

In the code I set the start and end point of the ElementView by the corresponding setter that I pass instances of the class Point ( and not EPoint! ).

ElementView view = factory.createElementView();
view.setStartPoint(new Point(20, 20));
view.setEndPoint(new Point(100, 100));

Saving the [...]]]></description>
			<content:encoded><![CDATA[<p>I hate exceptions. Yes, I really hate exceptions.</p>
<p>I&#8217;ve defined a EDataType EPoint that uses the java class <em>org.eclipse.draw2d.geometry.Point</em>.</p>
<p><a href="http://slopjong.de/wp-content/2010/01/Bild-1.png"><img src="http://slopjong.de/wp-content/2010/01/Bild-1.png" alt="Ecore model" title="Ecore model" width="508" height="338" class="aligncenter size-full wp-image-3364" /></a></p>
<p>In the code I set the start and end point of the <em>ElementView</em> by the corresponding setter that I pass instances of the class <em>Point</em> ( and not <em>EPoint</em>! ).</p>
<pre>
<code>ElementView view = factory.createElementView();
view.setStartPoint(new Point(20, 20));
view.setEndPoint(new Point(100, 100));</code>
</pre>
<p>Saving the model produces the following file content:</p>
<pre>
<code>
...
&lt;diagrams name="NewDiagram"&gt;
    &lt;diagramView diagram="//@diagrams.0"&gt;
      &lt;elementViews startPoint="Point(20, 20)" endPoint="Point(100, 100)"/&gt;
    &lt;/diagramView&gt;
  &lt;/diagrams&gt;
...</code>
</pre>
<p>The instances are serialized by the method <em>toString()</em> of the class <em>Point</em> which outputs <em>Point(xx, yy)</em> but these values lead the loading process fail while this message appears:</p>
<pre><code>org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'Point(20, 20)' is not legal. (file:/.../test1/model.pe, 7, 76)
18:28:12 zprototype.model.impl.ModelManagerImpl::load   Model could not be loaded (org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'Point(20, 20)' is not legal. (file:/.../test1/model.pe, 7, 76))
	at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:315)
	at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
	at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:397)
	at zprototype.model.impl.ModelManagerImpl.load(ModelManagerImpl.java:63)</code></pre>
<p>I tried to replace the Point class by another one but it&#8217;s the same problem with that. Now my question is why the value is not legal? Does the deserializer not know how to create the objects from the string?</p>
]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2010/01/05/org-eclipse-emf-ecore-xmi-illegalvalueexception/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Download enumerated files</title>
		<link>http://slopjong.de/2009/11/24/download-enumerated-files/</link>
		<comments>http://slopjong.de/2009/11/24/download-enumerated-files/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 23:08:01 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://slopjong.de/?p=3310</guid>
		<description><![CDATA[Shell scripting is nothing that I can do well yet. That&#8217;s why I thought to start a new topic on my blog. 
I often download enumerated PDF files. Before I&#8217;ve automated this job I downloaded the files by changing the URL manually in the browser. I could use an enumerated file downloader like this one1 [...]]]></description>
			<content:encoded><![CDATA[<p>Shell scripting is nothing that I can do well yet. That&#8217;s why I thought to start a new topic on my blog. </p>
<p>I often download enumerated PDF files. Before I&#8217;ve automated this job I downloaded the files by changing the URL manually in the browser. I could use an enumerated file downloader like this <a href="http://sourceforge.net/projects/efd/" target="_blank">one</a><sup class='footnote'><a href='#fn-3310-1' id='fnref-3310-1'>1</a></sup> but I want to learn scripting so I do the same job using the shell.</p>
<p>What do we need? A loop of course. This increments the postfix number of the files. Then we also need a command which actually downloads the resources. For this I use <em>wget</em>. And here&#8217;s the result, a one line script:</p>
<pre>
<code>for (( i=1; i&lt;=14; i++)) do wget www.example.com/path_to_the_files/file$i.pdf; done</code>
</pre>
<p>If you don&#8217;t script much you should take a look at the manual page of bash (or the shell you use). The website <a href="http://freeos.com/guides/lsst/" target="_blank">Linux Shell Scripting Tutorial</a> is also a good place to look up things.</p>
<p>Maybe you have to download enumerated files too. Just copy the line, paste it in your shell and change the start and stop parameter of the counter and the resource of course <img src='http://slopjong.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>I think to use the shell everytime I want to download enumerated files will suck. So the next step is to write a firefox plugin <sup class='footnote'><a href='#fn-3310-2' id='fnref-3310-2'>2</a></sup>.
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-3310-1'>I know this app is for Windows but I&#8217;m sure there are also some for Mac. <span class='footnotereverse'><a href='#fnref-3310-1'>&#8617;</a></span></li>
<li id='fn-3310-2'>Maybe there&#8217;s already something but I haven&#8217;t written a firefox add-on yet what I should try. <span class='footnotereverse'><a href='#fnref-3310-2'>&#8617;</a></span></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2009/11/24/download-enumerated-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change permantly Terminal&#8217;s style for new windows</title>
		<link>http://slopjong.de/2009/11/09/change-terminals-style-for-new-windows-permantly/</link>
		<comments>http://slopjong.de/2009/11/09/change-terminals-style-for-new-windows-permantly/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 14:32:42 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://slopjong.de/?p=3303</guid>
		<description><![CDATA[I have configured Terminal&#8217;s style as Homebrew but it&#8217;s only used for the first window if Terminal is launched. If I type the shortcut Command+N the new window has the basic style which I don&#8217;t like, it&#8217;s just white so not really stylish. I knew that defaults exist to modify an application&#8217;s settings using a [...]]]></description>
			<content:encoded><![CDATA[<p>I have configured Terminal&#8217;s style as Homebrew but it&#8217;s only used for the first window if Terminal is launched. If I type the shortcut <em>Command+N</em> the new window has the basic style which I don&#8217;t like, it&#8217;s just white so not really stylish. I knew that <em><a href="http://guides.macrumors.com/defaults" target="_blank">defaults</a></em> exist to modify an application&#8217;s settings using a shell.</p>
<pre>
<code>defaults read com.apple.Terminal</code>
</pre>
<p>If you type this in your shell you get the settings set for your application, in my case for Terminal. I was interested in the entry <em>&#8220;Default Window Settings&#8221;</em>. The value of this key was Basic though I have explicity set it to Homebrew in the configuration panel.</p>
<pre>
<code>defaults write com.apple.Terminal "Default Window Settings" Homebrew</code>
</pre>
<p>This line affects the style permantly. Restart Terminal to read the new settings and enjoy the new style.</p>
]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2009/11/09/change-terminals-style-for-new-windows-permantly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse Editor</title>
		<link>http://slopjong.de/2009/10/29/eclipse-editor/</link>
		<comments>http://slopjong.de/2009/10/29/eclipse-editor/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 13:15:57 +0000</pubDate>
		<dc:creator>slopjong</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://slopjong.de/?p=3296</guid>
		<description><![CDATA[To define your own eclipse editor you need to follow these steps:

Extend EditorPart
Define a RootEditPart, GraphicalViewer and an EditDomain
Create the model in createPartControl
Set the viewer&#8217;s RootEditPart, add the EditDomain to the viewer and create its control
Set the viewer&#8217;s EditPartFactory
Set the viewer&#8217;s content (=model)
Implement getAdapter to return the requested object by the framework

This very brief description [...]]]></description>
			<content:encoded><![CDATA[<p>To define your own eclipse editor you need to follow these steps:</p>
<ul>
<li>Extend EditorPart</li>
<li>Define a RootEditPart, GraphicalViewer and an EditDomain</li>
<li>Create the model in createPartControl</li>
<li>Set the viewer&#8217;s RootEditPart, add the EditDomain to the viewer and create its control</li>
<li>Set the viewer&#8217;s EditPartFactory</li>
<li>Set the viewer&#8217;s content (=model)</li>
<li>Implement getAdapter to return the requested object by the framework</li>
</ul>
<p>This very brief description doesn&#8217;t help one write a functional eclipse plugin but it may help one to keep in mind what to do.</p>
]]></content:encoded>
			<wfw:commentRss>http://slopjong.de/2009/10/29/eclipse-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
