<?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>In Oblivion</title>
	<atom:link href="http://henning.fjas.no/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://henning.fjas.no/blog</link>
	<description>Hennings blog</description>
	<lastBuildDate>Thu, 19 Apr 2012 08:50:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Using Thunderbird in Linux with Office 365</title>
		<link>http://henning.fjas.no/blog/2012/04/19/using-thunderbird-in-linux-with-office-365/</link>
		<comments>http://henning.fjas.no/blog/2012/04/19/using-thunderbird-in-linux-with-office-365/#comments</comments>
		<pubDate>Thu, 19 Apr 2012 08:46:57 +0000</pubDate>
		<dc:creator>Henning</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://henning.fjas.no/blog/?p=296</guid>
		<description><![CDATA[My company is using Office 365, but as a software developer with a passion for *nix I really can&#8217;t live inside a windows environment. So for email use Thunderbird and the splendid Lightning addon together with a calendar provider for office 2010. It works great! Thunderbird Lightning Calendar Office 2010 http://www.1st-setup.nl/wordpress/?page_id=133 Using calendars from Office [...]]]></description>
			<content:encoded><![CDATA[<p>My company is using <a href="http://www.office365.com">Office 365</a>, but as a software developer with a passion for *nix I really can&#8217;t live inside a windows environment. So for email use Thunderbird and the splendid Lightning addon together with a calendar provider for office 2010. It works great!</p>
<p>Thunderbird Lightning Calendar Office 2010</p>
<p>http://www.1st-setup.nl/wordpress/?page_id=133</p>
<p>Using calendars from Office 365</p>
<p>http://www.1st-setup.nl/wordpress/?wp_super_faq=add-a-microsoft-office-365-calendar</p>
]]></content:encoded>
			<wfw:commentRss>http://henning.fjas.no/blog/2012/04/19/using-thunderbird-in-linux-with-office-365/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing rmagick on ubuntu 10.04</title>
		<link>http://henning.fjas.no/blog/2011/04/27/installing-rmagick-on-ubuntu-10-04/</link>
		<comments>http://henning.fjas.no/blog/2011/04/27/installing-rmagick-on-ubuntu-10-04/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 11:14:18 +0000</pubDate>
		<dc:creator>Henning</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://henning.fjas.no/blog/?p=288</guid>
		<description><![CDATA[I just installed ruby and rmagick on an ubuntu 10.4 server. Got some errors during the installation and thought i should summarize the procedure here: Install ruby sudo apt-get install ruby1.9.1 rubygems1.9.1 Install imagemagick sudo apt-get install imagemagick Tried to install rmagick sudo gem install rmagick Got this error: ERROR: Error installing rmagick: ERROR: Failed [...]]]></description>
			<content:encoded><![CDATA[<p>I just installed ruby and rmagick on an ubuntu 10.4 server. Got some errors during the installation and thought i should summarize the procedure here: </p>
<p>Install ruby</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> ruby1.9.1 rubygems1.9.1</pre></div></div>

<p>Install imagemagick</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> imagemagick</pre></div></div>

<p>Tried to install rmagick</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> rmagick</pre></div></div>

<p>Got this error:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ERROR:  Error installing rmagick:
	ERROR: Failed to build gem native extension.
&nbsp;
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ruby1.9.1 extconf.rb
extconf.rb:<span style="color: #000000;">1</span>:<span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">`</span>require<span style="color: #ff0000;">': no such file to load -- mkmf (LoadError)
	from extconf.rb:1:in `&lt;main&gt;'</span>
<span style="color: #000000; font-weight: bold;">&lt;/</span>main<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p>Found <a href="http://mentalized.net/journal/2006/01/24/no_such_file_to_load_mkmf/">this page</a>, which pointed med to install ruby1.9.1-dev package.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> ruby1.9.1-dev</pre></div></div>

<p>Ok, trying again to install rmagick</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> rmagick</pre></div></div>

<p>Got this error:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ERROR:  Error installing rmagick:
	ERROR: Failed to build gem native extension.
&nbsp;
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ruby1.9.1 extconf.rb
checking <span style="color: #000000; font-weight: bold;">for</span> Ruby version <span style="color: #000000; font-weight: bold;">&gt;</span>= 1.8.5... <span style="color: #c20cb9; font-weight: bold;">yes</span>
checking <span style="color: #000000; font-weight: bold;">for</span> gcc... <span style="color: #c20cb9; font-weight: bold;">yes</span>
checking <span style="color: #000000; font-weight: bold;">for</span> Magick-config... no
Can<span style="color: #ff0000;">'t install RMagick 2.13.1. Can'</span>t <span style="color: #c20cb9; font-weight: bold;">find</span> Magick-config <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>sbin:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #000000; font-weight: bold;">/</span>sbin:<span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>X11R6<span style="color: #000000; font-weight: bold;">/</span>bin
&nbsp;
<span style="color: #000000; font-weight: bold;">***</span> extconf.rb failed <span style="color: #000000; font-weight: bold;">***</span>
Could not create Makefile due to some reason, probably lack of
necessary libraries and<span style="color: #000000; font-weight: bold;">/</span>or headers.  Check the mkmf.log <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #c20cb9; font-weight: bold;">more</span>
details.  You may need configuration options.</pre></div></div>

<p>Found <a href="http://superuser.com/questions/163818/how-to-install-rmagick-on-ubuntu-10-04">this question on superuser.com</a> which pointed me to install the libmagickwand-dev-package.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libmagickwand-dev</pre></div></div>

<p>Finally, another attempt to install rmagick</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> rmagick</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Building native extensions.  This could take a while...
Successfully installed rmagick-2.13.1
<span style="color: #000000;">1</span> gem installed
Installing ri documentation <span style="color: #000000; font-weight: bold;">for</span> rmagick-2.13.1...
Updating class cache with <span style="color: #000000;">0</span> classes...
Installing RDoc documentation <span style="color: #000000; font-weight: bold;">for</span> rmagick-2.13.1...</pre></div></div>

<p><b>Success!</b></p>
]]></content:encoded>
			<wfw:commentRss>http://henning.fjas.no/blog/2011/04/27/installing-rmagick-on-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Wireless streaming from Spotify to PS3</title>
		<link>http://henning.fjas.no/blog/2011/02/23/wireless-streaming-from-spotify-to-ps3/</link>
		<comments>http://henning.fjas.no/blog/2011/02/23/wireless-streaming-from-spotify-to-ps3/#comments</comments>
		<pubDate>Tue, 22 Feb 2011 22:19:11 +0000</pubDate>
		<dc:creator>Henning</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ps3]]></category>
		<category><![CDATA[spotify]]></category>
		<category><![CDATA[streaming]]></category>

		<guid isPermaLink="false">http://henning.fjas.no/blog/?p=263</guid>
		<description><![CDATA[After many hours trying to get wireless streaming from Spotify to Playstation 3, I finally found a working solution on Linux (ubuntu). My setup: Machine with Ubuntu Linux PS3 Spotify for Linux PS3 Media Server Icecast I used the solution described in this blog. But I failed miserable with only streaming the echoes of silence&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.spotify.com"><img src="http://henning.fjas.no/blog/wp-content/uploads/2011/02/spotify-logo-96x96-pos-tagline.png" alt="" title="Spotify" width="96" height="112" class="alignright size-full wp-image-276" /></a><br />
After many hours trying to get wireless streaming from Spotify to Playstation 3, I finally found a working solution on Linux (ubuntu).</p>
<p>My setup:</p>
<ul>
<li><a href="http://www.ubuntu.com">Machine with Ubuntu Linux</a></li>
<li><a href="http://us.playstation.com/">PS3</a></li>
<li><a href="http://www.spotify.com/int/download/previews/">Spotify for Linux</a></li>
<li><a href="http://code.google.com/p/ps3mediaserver/">PS3 Media Server</a></li>
<li><a href="http://www.icecast.org">Icecast</a></li>
</ul>
<p>I used the solution described in <a href="http://www.actionshrimp.com/2010/08/streaming-spotify-to-a-ps3-from-ubuntu/">this blog</a>. </p>
<p>But I failed miserable with only streaming the echoes of silence&#8230;</p>
<p>Then I found <a href="http://tormod.landet.net/2009/06/19/streaming-audio-from-spotify-on-linux-to-squeezebox/">another Spotify streaming blog post</a>, only this time for squeezebox. </p>
<p>This inspired me to try the same trick creating a PulseAudio null-sink.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">pactl load-module module-null-sink <span style="color: #007800;">sink_name</span>=spotify</pre></div></div>

<p>Setting the sound output to the new sink:</p>
<p><img src="http://henning.fjas.no/blog/wp-content/uploads/2011/02/sound-prefs.png" alt="" title="spotify-streaming-sound-prefs" width="614" height="479" class="alignnone size-full wp-image-270" /></p>
<p>install the lame encoding library to be able to stream mp3:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gstreamer10.0-plugins-ugly-multiverse</pre></div></div>

<p>make sure icecast is running</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>icecast2 start</pre></div></div>

<p>and then fire up a mp3 stream:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gst-launch-<span style="color: #000000;">0.10</span> pulsesrc <span style="color: #007800;">device</span>=spotify.monitor <span style="color: #000000; font-weight: bold;">!</span> audioconvert <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #c20cb9; font-weight: bold;">lame</span> <span style="color: #007800;">bitrate</span>=<span style="color: #000000;">320</span> <span style="color: #007800;">mode</span>=stereo <span style="color: #000000; font-weight: bold;">!</span> shout2send <span style="color: #007800;">ip</span>=localhost <span style="color: #007800;">port</span>=<span style="color: #000000;">8000</span> <span style="color: #007800;">password</span>=PASSWORD <span style="color: #007800;">mount</span>=spotify.mp3</pre></div></div>

<p>I then added the following line to my <strong>WEB.conf</strong> in the ps3mediaserver root folder:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">audiostream.Web=Spotify,http:<span style="color: #000000; font-weight: bold;">//</span>localhost:<span style="color: #000000;">8000</span><span style="color: #000000; font-weight: bold;">/</span>spotify.mp3</pre></div></div>

<p>Now start up your PS3 and PS3 Media Server. On your PS3 go to the &#8216;Audio&#8217; section, select &#8216;PS3 Media Server&#8217;, Web-folder and Spotify. Be patient it takes a couple of seconds before it starts.</p>
]]></content:encoded>
			<wfw:commentRss>http://henning.fjas.no/blog/2011/02/23/wireless-streaming-from-spotify-to-ps3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Supaplex &#8211; Murphy is back!</title>
		<link>http://henning.fjas.no/blog/2011/01/05/supaplex-murphy-is-back/</link>
		<comments>http://henning.fjas.no/blog/2011/01/05/supaplex-murphy-is-back/#comments</comments>
		<pubDate>Wed, 05 Jan 2011 21:14:54 +0000</pubDate>
		<dc:creator>Henning</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[games]]></category>

		<guid isPermaLink="false">http://henning.fjas.no/blog/?p=247</guid>
		<description><![CDATA[Just surfing around and found a good old game, Supaplex. Don&#8217;t know how many hours me and my buddies spent playing this fantastic game. I downloaded the game from this site, but also check out this page for more information about the game. I&#8217;m running ubuntu on my machine and I just installed dosbox 1 [...]]]></description>
			<content:encoded><![CDATA[<p>Just surfing around and found a good old game, Supaplex. Don&#8217;t know how many hours me and my buddies spent playing this fantastic game. </p>
<p>I downloaded the game from <a href="http://www.abandonline.com/gameinfo.php?id=51">this site</a>, but also check out <a href="http://www.bd-fans.com/Supaplex.html">this page</a> for more information about the game.</p>
<p><a href="http://henning.fjas.no/blog/wp-content/uploads/2011/01/supaplex.jpg"><img src="http://henning.fjas.no/blog/wp-content/uploads/2011/01/supaplex.jpg" alt="Screenshot of Supaplex gameplay" title="Supaplex" width="639" height="399" class="alignnone size-full wp-image-253" /></a></p>
<p>I&#8217;m running ubuntu on my machine and I just installed dosbox</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="unix" style="font-family:monospace;">apt-get install dosbox</pre></td></tr></table></div>

<p>Fired it up and mounted my game directory by typing</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="unix" style="font-family:monospace;">mount c /home/henning/Games</pre></td></tr></table></div>

<p>Now just launch spfix63.exe and your in for some fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://henning.fjas.no/blog/2011/01/05/supaplex-murphy-is-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My password change routines in Ubuntu</title>
		<link>http://henning.fjas.no/blog/2010/04/12/my-password-change-routines-in-ubuntu/</link>
		<comments>http://henning.fjas.no/blog/2010/04/12/my-password-change-routines-in-ubuntu/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 07:00:55 +0000</pubDate>
		<dc:creator>Henning</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://henning.fjas.no/blog/?p=240</guid>
		<description><![CDATA[I change my passwords on a regular basis, and this is my routine for changing passwords everywhere. Generate new password henning@localhost:~$ pwgen Change Ubuntu keyring password henning@localhost:~$ seahorse Select &#8216;Passwords&#8217;-tab, right click on &#8216;Passwords&#8217;-folder and select &#8216;Change password&#8217; . Change ssh passphrase henning@localhost:~$ ssh-keygen -p]]></description>
			<content:encoded><![CDATA[<p>I change my passwords on a regular basis, and this is my routine for changing passwords everywhere. </p>
<p><strong>Generate new password</strong><br />
<code>henning@localhost:~$ pwgen</code></p>
<p><strong>Change Ubuntu keyring password</strong><br />
<code>henning@localhost:~$ seahorse</code><br />
Select &#8216;Passwords&#8217;-tab, right click on &#8216;Passwords&#8217;-folder and select &#8216;Change password&#8217; .</p>
<p><strong>Change ssh passphrase</strong><br />
<code>henning@localhost:~$ ssh-keygen -p</code></p>
]]></content:encoded>
			<wfw:commentRss>http://henning.fjas.no/blog/2010/04/12/my-password-change-routines-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic authentication &#8211; CXF Tips and Tricks Part 1</title>
		<link>http://henning.fjas.no/blog/2010/03/25/basic-authentication-cxf-tips-and-tricks-part-1/</link>
		<comments>http://henning.fjas.no/blog/2010/03/25/basic-authentication-cxf-tips-and-tricks-part-1/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 20:54:17 +0000</pubDate>
		<dc:creator>Henning</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://henning.fjas.no/blog/?p=180</guid>
		<description><![CDATA[I&#8217;m starting a new blog post series with Apache CXF tips and tricks. In this first post I&#8217;ll show you how to do communicate with a Web Service together with HTTP Basic authentication. Below is an example of HTTP Basic authentication with username &#8216;johnsmith&#8217; and password &#8216;sesame99&#8242;. URL wsdl = getClass&#40;&#41;.getResource&#40;&#34;myservice.wsdl.xml&#34;&#41;; MyService service = new [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m starting a new blog post series with <a href="http://cxf.apache.org">Apache CXF</a> tips and tricks. In this first post I&#8217;ll show you how to do communicate with a Web Service together with HTTP Basic authentication. </p>
<p>Below is an example of HTTP Basic authentication with username &#8216;johnsmith&#8217; and password &#8216;sesame99&#8242;.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #003399;">URL</span> wsdl <span style="color: #339933;">=</span> getClass<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">getResource</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;myservice.wsdl.xml&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
MyService service <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> MyService<span style="color: #009900;">&#40;</span>wsdl<span style="color: #009900;">&#41;</span>.<span style="color: #006633;">getMyServicePort</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
BindingProvider bp <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>BindingProvider<span style="color: #009900;">&#41;</span>service<span style="color: #339933;">;</span>
bp.<span style="color: #006633;">getRequestContext</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">put</span><span style="color: #009900;">&#40;</span>BindingProvider.<span style="color: #006633;">USERNAME_PROPERTY</span>, <span style="color: #0000ff;">&quot;johnsmith&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
bp.<span style="color: #006633;">getRequestContext</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">put</span><span style="color: #009900;">&#40;</span>BindingProvider.<span style="color: #006633;">PASSWORD_PROPERTY</span>, <span style="color: #0000ff;">&quot;sesame99&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://henning.fjas.no/blog/2010/03/25/basic-authentication-cxf-tips-and-tricks-part-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu Jaunty: How to Change Gnome Keyring Password</title>
		<link>http://henning.fjas.no/blog/2010/03/01/ubuntu-jaunty-how-to-change-gnome-keyring-password/</link>
		<comments>http://henning.fjas.no/blog/2010/03/01/ubuntu-jaunty-how-to-change-gnome-keyring-password/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 21:24:22 +0000</pubDate>
		<dc:creator>Henning</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://henning.fjas.no/blog/?p=229</guid>
		<description><![CDATA[After changing my user password, gnome still asked for my old password when accessing my keyring. Finally I found a blog describing the solution, thank you!]]></description>
			<content:encoded><![CDATA[<p>After changing my user password, gnome still asked for my old password when accessing my keyring. </p>
<p>Finally I found a <a href="http://www.code-muse.com/blog/?p=53">blog describing the solution</a>, thank you!</p>
]]></content:encoded>
			<wfw:commentRss>http://henning.fjas.no/blog/2010/03/01/ubuntu-jaunty-how-to-change-gnome-keyring-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Silver Bullet for PS3 Streaming and transcoding</title>
		<link>http://henning.fjas.no/blog/2009/05/23/the-silver-bullet-for-ps3-streaming-and-transcoding/</link>
		<comments>http://henning.fjas.no/blog/2009/05/23/the-silver-bullet-for-ps3-streaming-and-transcoding/#comments</comments>
		<pubDate>Sat, 23 May 2009 11:19:27 +0000</pubDate>
		<dc:creator>Henning</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[media server]]></category>
		<category><![CDATA[ps3]]></category>
		<category><![CDATA[streaming]]></category>

		<guid isPermaLink="false">http://henning.fjas.no/blog/?p=217</guid>
		<description><![CDATA[A while ago I bought a Sony Playstation 3 (PS3) to use it as a gaming and media box. But finding a decent video streaming solution on the linux platform turned to be quite a hassle. After a lot of time searching for the ultimate solution supporting all kinds of codecs and transcoding to the [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I bought a <a href="http://www.playstation.com">Sony Playstation 3 (PS3)</a> to use it as a gaming and media box. But finding a decent video streaming solution on the linux platform turned to be quite a hassle. After a lot of time searching for the ultimate solution supporting all kinds of codecs and transcoding to the ps3, I landed on <a href="http://henning.fjas.no/blog/2008/09/22/ps3-streaming-and-transcoding-xvid-on-the-fly-with-fuppes-on-linux/">Fuppes</a>. It wasn&#8217;t the perfect solution but it solved most of my media issues. </p>
<p>But then I found the <a href="http://code.google.com/p/ps3mediaserver/">ps3mediaserver-project</a>. The feature list is huge, it supports all kinds of codecs through a ton of libraries. Runs on Java, and therefore platform-independent, Yeay!</p>
<p>Current features (from <a href="http://code.google.com/p/ps3mediaserver/">http://code.google.com/p/ps3mediaserver/</a>)</p>
<p>    * Ready to launch and play. No codec packs to install. No folder configuration and pre-parsing or this kind of annoying thing. All your folders are directly browsed by the PS3, there&#8217;s an automatic refresh also.<br />
    * Real-time video transcoding of MKV/FLV/OGM/AVI, etc.<br />
    * Direct streaming of DTS / DTS-HD core to the receiver<br />
    * Remux H264/MPEG2 video and all audio tracks to AC3/DTS/LPCM in real time with tsMuxer when H264 is PS3/Level4.1 compliant<br />
    * Full seeking support when transcoding<br />
    * DVD ISOs images / VIDEO_TS Folder transcoder<br />
    * OGG/FLAC/MPC/APE audio transcoding<br />
    * Thumbnail generation for Videos<br />
    * You can choose with a virtual folder system your audio/subtitle language on the PS3!<br />
    * Simple streaming of formats PS3 natively supports: MP3/JPG/PNG/GIF/TIFF, all kind of videos (AVI, MP4, TS, M2TS, MPEG)<br />
    * Display camera RAWs thumbnails (Canon / Nikon, etc.)<br />
    * ZIP/RAR files as browsable folders<br />
    * Support for pictures based feeds, such as Flickr and Picasaweb<br />
    * Internet TV / Web Radio support with VLC, MEncoder or MPlayer<br />
    * Podcasts audio/ Video feeds support<br />
    * Basic Xbox360 support<br />
    * FLAC 96kHz/24bits/5.1 support<br />
    * Windows Only: DVR-MS remuxer and AviSynth alternative transcoder support </p>
<p>Go <a href="http://code.google.com/p/ps3mediaserver/downloads/list">get it</a> now!</p>
]]></content:encoded>
			<wfw:commentRss>http://henning.fjas.no/blog/2009/05/23/the-silver-bullet-for-ps3-streaming-and-transcoding/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Optimize git-svn workflow with bash auto complete and Hack&amp;Ship scripts</title>
		<link>http://henning.fjas.no/blog/2009/03/02/optimize-git-svn-workflow-with-bash-auto-complete-and-hack-ship-scripts/</link>
		<comments>http://henning.fjas.no/blog/2009/03/02/optimize-git-svn-workflow-with-bash-auto-complete-and-hack-ship-scripts/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 21:42:53 +0000</pubDate>
		<dc:creator>Henning</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[git-svn]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://henning.fjas.no/blog/?p=205</guid>
		<description><![CDATA[I&#8217;ve just started using Git at work. We have a large and old subversion repository at work, so git-svn comes to the rescue. Git-svn provides a connection between a central subversion repository and your local git repository. This enables you to get most of the benefits git provides, while still adhering to company standards and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just started using <a href="http://git-scm.com/">Git</a> at work. We have a large and old subversion repository at work, so git-svn comes to the rescue. Git-svn provides a connection between a central subversion repository and your local git repository. This enables you to get most of the benefits git provides, while still adhering to company standards and commit code to a subversion repository. </p>
<p>I recommend reading <a href="http://andy.delcambre.com/2008/03/04/git-svn-workflow.html">Git SVN Workflow</a> to get started with git-svn. </p>
<p>I had some trouble installing Git properly on my computer running Ubuntu 8.10. When executing git svn rebase I got the following message:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Can<span style="color: #ff0000;">'t locate SVN/Core.pm</span></pre></div></div>

<p>After a lot of debugging I figured i was missing a perl library. Installing libsvn-perl did the trick:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libsvn-perl</pre></div></div>

<p>To get the most out of git-svn I&#8217;m using git bash completion and two small <a href="http://reinh.com/blog/2008/08/27/hack-and-and-ship.html">Hack &#038;&#038; Ship</a> scripts to automate the workflow. </p>
<p><strong>Bash autocompletion</strong></p>
<p>Download and install <a href="http://repo.or.cz/w/git.git?a=blob_plain;f=contrib/completion/git-completion.bash;hb=master">git-completion.sh</a></p>
<p>Modify your PS1 variable in ~/.bashrc to show the current branch when inside a directory in a git repository:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">'[\u@\h \W$(__git_ps1 &quot; (%s)&quot;)]\$ '</span></pre></div></div>

<p>Your prompt will look something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">neo<span style="color: #000000; font-weight: bold;">@</span>zion:~<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>emp <span style="color: #7a0874; font-weight: bold;">&#40;</span>trunk<span style="color: #7a0874; font-weight: bold;">&#41;</span>$</pre></div></div>

<p><strong>Automating the workflow</strong></p>
<p>The recommended git workflow is to create a branch for every new feature you work on. For your branches to be up to date you have to switch to your master branch, rebase with the svn repository, switch back to your branch and then rebase your branch with the master. This is 4 commands that can be automated. </p>
<p><strong>hack.sh</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash </span>
<span style="color: #007800;">CURRENT</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">git</span> branch <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">'\*'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $2}'</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #007800;">status</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">git</span> checkout master <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $1}'</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${status}</span>&quot;</span> =~ error <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #c20cb9; font-weight: bold;">git</span> <span style="color: #c20cb9; font-weight: bold;">svn</span> rebase 
        <span style="color: #c20cb9; font-weight: bold;">git</span> checkout <span style="color: #800000;">${CURRENT}</span>
        <span style="color: #c20cb9; font-weight: bold;">git</span> rebase master
<span style="color: #000000; font-weight: bold;">fi</span></pre></div></div>

<p>After making sure your branch is up to date you&#8217;ll want to merge your branch with the master and then push your changes to the central repository (the subversion repository):</p>
<p><strong>ship.sh</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #007800;">CURRENT</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">git</span> branch <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">'\*'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $2}'</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #c20cb9; font-weight: bold;">git</span> rebase <span style="color: #660033;">-i</span> master
<span style="color: #007800;">status</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">git</span> checkout master <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $1}'</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${status}</span>&quot;</span> =~ error <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #c20cb9; font-weight: bold;">git</span> merge <span style="color: #800000;">${CURRENT}</span>
        <span style="color: #c20cb9; font-weight: bold;">git</span> <span style="color: #c20cb9; font-weight: bold;">svn</span> dcommit
<span style="color: #000000; font-weight: bold;">fi</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://henning.fjas.no/blog/2009/03/02/optimize-git-svn-workflow-with-bash-auto-complete-and-hack-ship-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CXF &#8211; How to set a custom endpoint address</title>
		<link>http://henning.fjas.no/blog/2009/02/25/cxf-how-to-set-a-custom-endpoint-address/</link>
		<comments>http://henning.fjas.no/blog/2009/02/25/cxf-how-to-set-a-custom-endpoint-address/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 21:01:35 +0000</pubDate>
		<dc:creator>Henning</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[cxf]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[web service]]></category>

		<guid isPermaLink="false">http://henning.fjas.no/blog/?p=177</guid>
		<description><![CDATA[For some reason it is rarely straight forward how to configure a Java Web Service framework to use a custom endpoint address (one that is not in the WSDL). Anyway, here is how you do it in CXF: URL wsdl = getClass&#40;&#41;.getResource&#40;&#34;myservice.wsdl.xml&#34;&#41;; MyService service = new MyService&#40;wsdl&#41;.getMyServicePort&#40;&#41;; BindingProvider bp = &#40;BindingProvider&#41;service; bp.getRequestContext&#40;&#41;.put&#40;BindingProvider.ENDPOINT_ADDRESS_PROPERTY, URL&#41;;]]></description>
			<content:encoded><![CDATA[<p>For some reason it is rarely straight forward how to configure a Java Web Service framework to use a custom endpoint address (one that is not in the WSDL). Anyway, here is how you do it in <a href="http://cxf.apache.org">CXF</a>:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #003399;">URL</span> wsdl <span style="color: #339933;">=</span> getClass<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">getResource</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;myservice.wsdl.xml&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
MyService service <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> MyService<span style="color: #009900;">&#40;</span>wsdl<span style="color: #009900;">&#41;</span>.<span style="color: #006633;">getMyServicePort</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
BindingProvider bp <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>BindingProvider<span style="color: #009900;">&#41;</span>service<span style="color: #339933;">;</span>
bp.<span style="color: #006633;">getRequestContext</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">put</span><span style="color: #009900;">&#40;</span>BindingProvider.<span style="color: #006633;">ENDPOINT_ADDRESS_PROPERTY</span>, <span style="color: #003399;">URL</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://henning.fjas.no/blog/2009/02/25/cxf-how-to-set-a-custom-endpoint-address/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
