<?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"
	>

<channel>
	<title>*-tron</title>
	<atom:link href="http://www.mhworth.com/pub/blogs/matt/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.mhworth.com/pub/blogs/matt</link>
	<description>A blog about technology and science</description>
	<pubDate>Tue, 25 Nov 2008 15:55:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Kubuntu/GTK Font Problem</title>
		<link>http://www.mhworth.com/pub/blogs/matt/?p=13</link>
		<comments>http://www.mhworth.com/pub/blogs/matt/?p=13#comments</comments>
		<pubDate>Tue, 14 Oct 2008 04:36:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.mhworth.com/pub/blogs/matt/?p=13</guid>
		<description><![CDATA[I was having a problem with Kubuntu rendering certain GTK applications with huge, ugly fonts.  It was fixed after I read this forum post:
http://ubuntuforums.org/showthread.php?t=614753
Basically,
apt-get install gtk2-engines-gtk-qt
fixed the problem for me.
]]></description>
			<content:encoded><![CDATA[<p>I was having a problem with Kubuntu rendering certain GTK applications with huge, ugly fonts.  It was fixed after I read this forum post:</p>
<p>http://ubuntuforums.org/showthread.php?t=614753</p>
<p>Basically,</p>
<p>apt-get install gtk2-engines-gtk-qt</p>
<p>fixed the problem for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mhworth.com/pub/blogs/matt/?feed=rss2&amp;p=13</wfw:commentRss>
		</item>
		<item>
		<title>Fixing Problems in Eclipse</title>
		<link>http://www.mhworth.com/pub/blogs/matt/?p=11</link>
		<comments>http://www.mhworth.com/pub/blogs/matt/?p=11#comments</comments>
		<pubDate>Thu, 24 Jul 2008 17:25:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[eclipse]]></category>

		<category><![CDATA[locking]]></category>

		<category><![CDATA[memory]]></category>

		<category><![CDATA[nfs]]></category>

		<category><![CDATA[permgen]]></category>

		<category><![CDATA[problems]]></category>

		<category><![CDATA[solutions]]></category>

		<guid isPermaLink="false">http://www.mhworth.com/pub/blogs/matt/?p=11</guid>
		<description><![CDATA[Fix problems with Eclipse]]></description>
			<content:encoded><![CDATA[<p>I really love eclipse.  Nevertheless, it seems to cause problems fairly often, and so I decided to keep a log of each of the things that I fix.</p>
<p><strong><br />
Workspace is in use or cannot be created<br />
</strong></p>
<p>There are three things that I found that cause this:</p>
<ol>
<li>You have another Eclipse instance accessing the same workspace at the same time</li>
<li>An unclean shutdown left stale file locks</li>
<li>You are using NFS and the locking daemon isn&#8217;t working properly</li>
</ol>
<p>Situation 1 is of course the easiest to solve; just close the other version of eclipse.<br />
Situation 2 requires you to delete the .metadata/.lock file from the workspace you&#8217;re trying to open.<br />
Situation 3 may be resolved by passing the following argument to the JVM:</p>

<div class="wp_syntax"><div class="code"><pre class="java"> <span style="color: #339933;">-</span>Dosgi.<span style="color: #006633;">locking</span><span style="color: #339933;">=</span>none</pre></div></div>

<p>For example:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">.<span style="color: #000000; font-weight: bold;">/</span>eclispe -vmargs  -Dosgi.<span style="color: #007800;">locking=</span>none  -Xms512m -Xmx512m -XX:<span style="color: #007800;">PermSize=</span>128m -XX:<span style="color: #007800;">MaxPermSize=</span>512m</pre></div></div>

<p>Note the -vmargs argument, which marks the start of the JVM arguments.</p>
<p><strong>SVN Doesn&#8217;t Work with JavaHL</strong></p>
<p>If you&#8217;re using Ubuntu, add the following line to eclipse.ini:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">-Djava.library.<span style="color: #007800;">path=</span><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>jni</pre></div></div>

<p>For example, my eclipse.ini looks like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">-showsplash
org.eclipse.platform
-framework
plugins<span style="color: #000000; font-weight: bold;">/</span>org.eclipse.osgi_3<span style="color: #000000;">.4</span><span style="color: #000000;">.2</span>.R34x_v20080826<span style="color: #000000;">-1230</span>.jar
-vmargs
-Dosgi.<span style="color: #007800;">requiredJavaVersion=</span><span style="color: #000000;">1.5</span>
-Djava.library.<span style="color: #007800;">path=</span><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>jni
-Xms40m
-Xmx256m
-XX:<span style="color: #007800;">MaxPermSize=</span>256m</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.mhworth.com/pub/blogs/matt/?feed=rss2&amp;p=11</wfw:commentRss>
		</item>
		<item>
		<title>Using Subversion to Manage Your Life</title>
		<link>http://www.mhworth.com/pub/blogs/matt/?p=10</link>
		<comments>http://www.mhworth.com/pub/blogs/matt/?p=10#comments</comments>
		<pubDate>Fri, 18 Jul 2008 21:28:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.mhworth.com/pub/blogs/matt/?p=10</guid>
		<description><![CDATA[Over the past few years, I&#8217;ve become a big fan of subversion.  Obviously, I like to use it for coding purposes, but less obviously, I like to use it to manage my schoolwork, documents, presentations, etc.  Since it works so well for me, I thought I would write a quick summary of how [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past few years, I&#8217;ve become a big fan of subversion.  Obviously, I like to use it for coding purposes, but less obviously, I like to use it to manage my schoolwork, documents, presentations, etc.  Since it works so well for me, I thought I would write a quick summary of how one would probably go about doing this themselves.  </p>
<p>This article assumes that you have the following:</p>
<ul>
<li>An SSH Server</li>
<li>Subversion installed on the SSH Server</li>
<li>Subversion installed on your machine</li>
</ul>
<p>The following code will make your repository on the remote machine:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">ssh</span> username<span style="color: #000000; font-weight: bold;">@</span><span style="color: #c20cb9; font-weight: bold;">hostname</span> <span style="color: #ff0000;">&quot;mkdir -p ~/local/reps;svnadmin create ~/local/reps/my-repo&quot;</span></pre></div></div>

<p>You can then checkout your repository:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">svn <span style="color: #c20cb9; font-weight: bold;">co</span> svn+<span style="color: #c20cb9; font-weight: bold;">ssh</span>:<span style="color: #000000; font-weight: bold;">//</span>~<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span><span style="color: #000000; font-weight: bold;">/</span>reps<span style="color: #000000; font-weight: bold;">/</span>my-repo
<span style="color: #7a0874; font-weight: bold;">cd</span> my-repo</pre></div></div>

<p>Add files to it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">touch</span> hi my-file
svn add hi
svn add my-file</pre></div></div>

<p>And commit the changes:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">svn commit</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.mhworth.com/pub/blogs/matt/?feed=rss2&amp;p=10</wfw:commentRss>
		</item>
		<item>
		<title>Store your passwords with PassPack?</title>
		<link>http://www.mhworth.com/pub/blogs/matt/?p=8</link>
		<comments>http://www.mhworth.com/pub/blogs/matt/?p=8#comments</comments>
		<pubDate>Tue, 08 Jul 2008 17:34:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.mhworth.com/pub/blogs/matt/?p=8</guid>
		<description><![CDATA[I just found a handy utility called PassPack (http://www.passpack.com/info/home/) which is a web application for managing your passwords.  It appears to be quite a nice application, but my first concern when I saw it was, of course, security.  After googling around for some other opinions on safety, I found this link,  http://www.theprivacyguy.com/2007/04/11/passpack-password-manager/, [...]]]></description>
			<content:encoded><![CDATA[<p>I just found a handy utility called PassPack (<a href="http://www.passpack.com/info/home/">http://www.passpack.com/info/home/</a>) which is a web application for managing your passwords.  It appears to be quite a nice application, but my first concern when I saw it was, of course, security.  After googling around for some other opinions on safety, I found this link,  <a href="http://www.theprivacyguy.com/2007/04/11/passpack-password-manager/">http://www.theprivacyguy.com/2007/04/11/passpack-password-manager/</a>, which seems to agree that it is safe.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mhworth.com/pub/blogs/matt/?feed=rss2&amp;p=8</wfw:commentRss>
		</item>
		<item>
		<title>Foxmarks&#8230; handy</title>
		<link>http://www.mhworth.com/pub/blogs/matt/?p=7</link>
		<comments>http://www.mhworth.com/pub/blogs/matt/?p=7#comments</comments>
		<pubDate>Tue, 08 Jul 2008 16:41:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Internet]]></category>

		<category><![CDATA[bookmarks]]></category>

		<category><![CDATA[firefox]]></category>

		<category><![CDATA[neat]]></category>

		<category><![CDATA[sync]]></category>

		<category><![CDATA[web]]></category>

		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.mhworth.com/pub/blogs/matt/?p=7</guid>
		<description><![CDATA[Use Foxmarks to sync your bookmarks.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://www.google.com/bookmarks/">Google Bookmarks</a> for a long time, but I recently discovered an alternative which I prefer called Foxmarks.  Foxmarks is a utility with two faces: a plugin for Firefox that allows you to sync your bookmarks amongst firefox instances and a website, <a href="http://my.foxmarks.com">my.foxmarks.com</a> which provides a website for accessing your synchronized bookmarks.  </p>
<p>You can also share your bookmarks with a handy little javascript widget that looks like this:</p>
<div id="vYFVppyHZ7" class="foxmarks">
Sync and share your bookmarks with <a href="http://foxmarks.com/?ref=widget&#038;id=vYFVppyHZ7">Foxmarks</a>
</div>
<p><script src="http://share.foxmarks.com/widget.js" type="text/javascript"></script><br />
<script type="text/javascript">
Foxmarks.Widget.create({"id": "vYFVppyHZ7", "v": 1});
</script></p>
<p>Installation is simple; just go to <a href="http://www.foxmarks.com/">www.foxmarks.com</a>, click the &#8220;Install Now&#8221; button and follow the instructions.  You&#8217;ll have to create a Foxmarks account, but the plugin will walk you through that as well.</p>
<p>Happy bookmarking!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mhworth.com/pub/blogs/matt/?feed=rss2&amp;p=7</wfw:commentRss>
		</item>
		<item>
		<title>Basic OpenSSL Usage</title>
		<link>http://www.mhworth.com/pub/blogs/matt/?p=6</link>
		<comments>http://www.mhworth.com/pub/blogs/matt/?p=6#comments</comments>
		<pubDate>Tue, 08 Jul 2008 07:59:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Technology]]></category>

		<category><![CDATA[openssh]]></category>

		<category><![CDATA[openssl]]></category>

		<category><![CDATA[ssh]]></category>

		<category><![CDATA[usage]]></category>

		<guid isPermaLink="false">http://www.mhworth.com/pub/blogs/matt/?p=6</guid>
		<description><![CDATA[I keep on forgetting how to use OpenSSL to do basic tasks; here is a reference before I forget again.
Decrypt an openssh key:

openssl rsa -in ~/.ssh/id_rsa -out ~/.ssh/id_rsa

Encrypt an openssh key:

openssl rsa -des3 -in ~/.ssh/id_rsa -out ~/.ssh/id_rsa

Encrypt an arbitrary file:

openssl enc -e -des3 -in testfile -out testfile.encrypted

Decrypt an arbitrary file:

openssl enc -d -des3 -in testfile.encrypted [...]]]></description>
			<content:encoded><![CDATA[<p>I keep on forgetting how to use OpenSSL to do basic tasks; here is a reference before I forget again.</p>
<p>Decrypt an openssh key:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">openssl rsa -in ~<span style="color: #000000; font-weight: bold;">/</span>.<span style="color: #c20cb9; font-weight: bold;">ssh</span><span style="color: #000000; font-weight: bold;">/</span>id_rsa -out ~<span style="color: #000000; font-weight: bold;">/</span>.<span style="color: #c20cb9; font-weight: bold;">ssh</span><span style="color: #000000; font-weight: bold;">/</span>id_rsa</pre></div></div>

<p>Encrypt an openssh key:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">openssl rsa -des3 -in ~<span style="color: #000000; font-weight: bold;">/</span>.<span style="color: #c20cb9; font-weight: bold;">ssh</span><span style="color: #000000; font-weight: bold;">/</span>id_rsa -out ~<span style="color: #000000; font-weight: bold;">/</span>.<span style="color: #c20cb9; font-weight: bold;">ssh</span><span style="color: #000000; font-weight: bold;">/</span>id_rsa</pre></div></div>

<p>Encrypt an arbitrary file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">openssl enc -e -des3 -in testfile -out testfile.encrypted</pre></div></div>

<p>Decrypt an arbitrary file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">openssl enc -d -des3 -in testfile.encrypted -out testfile</pre></div></div>

<p>More details can be found <a href="http://www.noah.org/wiki/Category:SSH#External_OpenSSL_Command-line_FAQ">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mhworth.com/pub/blogs/matt/?feed=rss2&amp;p=6</wfw:commentRss>
		</item>
	</channel>
</rss>
