<?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>JHH&#039;s blog</title>
	<atom:link href="http://www.jhh.me/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jhh.me/blog</link>
	<description>19 years of programming, 10 languages, and countless nights frustrated</description>
	<lastBuildDate>Fri, 08 Mar 2013 21:35:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>PowerShell is just awesome</title>
		<link>http://www.jhh.me/blog/2013/01/07/powershell-is-just-awesome/</link>
		<comments>http://www.jhh.me/blog/2013/01/07/powershell-is-just-awesome/#comments</comments>
		<pubDate>Mon, 07 Jan 2013 16:40:34 +0000</pubDate>
		<dc:creator>jhh</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Web development & design]]></category>

		<guid isPermaLink="false">http://www.jhh.me/blog/?p=225</guid>
		<description><![CDATA[I&#8217;ve known for a while that PowerShell is useful but I never got myself to take that two hours to learn to actually use it. Today I did just that. And it&#8217;s simply awesome! Tasks like reading a remote RSS &#8230; <a href="http://www.jhh.me/blog/2013/01/07/powershell-is-just-awesome/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve known for a while that <a href="http://en.wikipedia.org/wiki/Windows_PowerShell" target="_blank">PowerShell</a> is useful but I never got myself to take that two hours to learn to actually use it. Today I did just that. And it&#8217;s simply awesome!</p>
<p>Tasks like reading a remote RSS feed can be done with just few lines of code. However the cool part is that these small programs (or cmdlets) can be easily used together.</p>
<p>Maybe the most powerful feature of PowerShell is it&#8217;s ability to pipe any collection of objects to an other program as they are. No need for parsing string streams. I would really like to see a portable version of that kind of piping shell &#8212; that works on *nix as well as in Windows!</p>
<p>Here&#8217;s my test application. It takes an URL for RSS feed as an argument and will return items from it.</p>
<p><code>param ([string]$url)<br />
$wc = New-Object Net.WebClient<br />
[xml]$resp = $wc.DownloadString($url)<br />
$resp.rss.channel.item</code></p>
<p>Then you can use it like:</p>
<p><code>.\rssreader.ps1 http://www.jhh.me/blog/feed/</code></p>
<p>The raw output from this command to the console is quite detailed since it includes everything:</p>
<p><a href="http://www.jhh.me/blog/2013/01/07/powershell-is-just-awesome/console/" rel="attachment wp-att-234"><img class="aligncenter size-medium wp-image-234" alt="console" src="http://www.jhh.me/blog/wp-content/uploads/2013/01/console-300x193.png" width="300" height="193" /></a></p>
<p>You can pipe the results to Out-GridView to get more graphical presentation of it:</p>
<p><code>.\rssreader.ps1 http://www.jhh.me/blog/feed/|Out-GridView</code></p>
<p>Notice that the table is formatted nicely. That&#8217;s because the piping is done with real objects instead of outdated string streams.</p>
<p><a href="http://www.jhh.me/blog/2013/01/07/powershell-is-just-awesome/gridview/" rel="attachment wp-att-227"><img class="aligncenter size-medium wp-image-227" alt="gridview" src="http://www.jhh.me/blog/wp-content/uploads/2013/01/gridview-300x186.png" width="300" height="186" /></a></p>
<p>Maybe one reason why PowerShell takes time to learn is that it has quite strict security model by default. For example you cannot just write and run that example on your system without signing it or changing default security model. Read more about it from an article <a href="http://technet.microsoft.com/en-us/library/cc764242.aspx" target="_blank">Running Scripts</a> at TechNet.</p>
<p>PS: I bought also an ebook of <a href="http://shop.oreilly.com/product/0636920024491.do" target="_blank">O&#8217;Reilly&#8217;s PowerShell for Developers</a>. I think it&#8217;s much softer crash course to PowerShell than most online articles.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jhh.me/blog/2013/01/07/powershell-is-just-awesome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up HTTP server on Windows with Node.js</title>
		<link>http://www.jhh.me/blog/2012/12/24/setting-up-http-server-on-windows-with-node-js/</link>
		<comments>http://www.jhh.me/blog/2012/12/24/setting-up-http-server-on-windows-with-node-js/#comments</comments>
		<pubDate>Mon, 24 Dec 2012 20:10:53 +0000</pubDate>
		<dc:creator>jhh</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web development & design]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[node]]></category>
		<category><![CDATA[nodejs]]></category>
		<category><![CDATA[npm]]></category>
		<category><![CDATA[win7]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[winxp]]></category>

		<guid isPermaLink="false">http://www.jhh.me/blog/?p=215</guid>
		<description><![CDATA[Some years ago I dreamed about running JavaScript applications on Windows systems as easy as it was on Linux. It seems the future is here. Today it&#8217;s really easy to setup Node.js and install NPM apps on Windows systems. Here&#8217;s &#8230; <a href="http://www.jhh.me/blog/2012/12/24/setting-up-http-server-on-windows-with-node-js/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Some years ago I dreamed about running JavaScript applications on Windows systems as easy as it was on Linux. It seems the future is here.</p>
<p>Today it&#8217;s really easy to setup <a href="http://www.nodejs.org" target="_blank">Node.js</a> and install NPM apps on Windows systems. Here&#8217;s a guide how to setup a HTTP server. No programming skills required! (Basically it&#8217;s the same process for any OS!)</p>
<ol>
<li>First you must install <a href="http://nodejs.org/download/" target="_blank">NodeJS</a>.</li>
<li>Open the command prompt to run following commands.
<ul>
<li>Windows 7: Open <em>Start</em> and write <code>cmd</code> into the search and press enter.</li>
<li>Windows XP: Open <em>Start</em> and select <em>Run</em> and write <code>cmd</code> and press enter.</li>
</ul>
</li>
<li>Run this command to install a HTTP server: <code>npm install http-server -g</code></li>
<li>And start the HTTP server: <code>http-server <em>/path/to/docroot</em></code> with a path to the folder you want to share. Your folder must have some files before it works.</li>
<li>Now just open <a href="http://localhost:8080"><em>http://localhost:8080/</em></a> in your browser.</li>
</ol>
<p>I wonder if there is a GUI for NodeJS/NPM yet. However I don&#8217;t think running some simple commands is so hard thing to do.</p>
<p>NPM isn&#8217;t just for installing HTTP servers. There&#8217;s a lot of apps and libraries available and ready to be installed with APT-like interface. You can even publish your own software there!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jhh.me/blog/2012/12/24/setting-up-http-server-on-windows-with-node-js/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HBO started at Finland</title>
		<link>http://www.jhh.me/blog/2012/12/22/hbo-started-at-finland/</link>
		<comments>http://www.jhh.me/blog/2012/12/22/hbo-started-at-finland/#comments</comments>
		<pubDate>Sat, 22 Dec 2012 01:39:41 +0000</pubDate>
		<dc:creator>jhh</dc:creator>
				<category><![CDATA[Movies]]></category>
		<category><![CDATA[Series]]></category>
		<category><![CDATA[hbo]]></category>
		<category><![CDATA[netflix]]></category>

		<guid isPermaLink="false">http://www.jhh.me/blog/?p=199</guid>
		<description><![CDATA[This month great things happened. HBO launched HBONordic.com for customers at Finland. That&#8217;s great improvement because we haven&#8217;t been able to watch these series instantly (not legally at least) before now &#8212; without waiting months or years for a DVD &#8230; <a href="http://www.jhh.me/blog/2012/12/22/hbo-started-at-finland/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>This month great things happened. HBO launched <a href="http://www.hbonordic.com">HBONordic.com</a> for customers at Finland.</p>
<p>That&#8217;s great improvement because we haven&#8217;t been able to watch these series instantly (not legally at least) before now &#8212; without waiting months or years for a DVD release or until our national TV stations bought those series &#8212; <strong>if</strong> they had enough money or interest to do so. Now we can pay directly to the source and watch them (almost) instantly &#8212; HBO is promising to publish their own series within 24 hours of US premiere.</p>
<p>We got Netflix some months ago, too, and I also have account there. However biggest problem with Finnish Netflix is that there isn&#8217;t much new content available and most of it is really old. Most content is so old that even our national TV stations have newer content. Of course that&#8217;s also a good thing &#8212; some of those are hard to find from elsewhere. (And yes, I know about the trick to watch US Netflix here but I don&#8217;t count it nor support doing that.)</p>
<p>Last week I got my invite to HBO. Of course there isn&#8217;t as much content as Netflix has but there certainly is newer content to watch &#8212; especially HBO&#8217;s own series.</p>
<p>Here&#8217;s a list of content available at HBO Nordic. Please note that it might have some mistakes because I made it with automated scripts.</p>
<h3>HBO Nordic Series</h3>
<ul>
<li><a href="http://www.imdb.com/title/tt1870479/">The Newsroom, 2012- (8.7 rating) in Drama; Season 1</a></li>
<li><a href="http://www.imdb.com/title/tt1954347/">Continuum, 2012- (7.9 rating) in Sci-Fi, Thriller; Season 1</a></li>
<li><a href="http://www.imdb.com/title/tt1832045/">Magic City, 2012- (7.6 rating) in Crime, Drama, Mystery; Season 1</a></li>
<li><a href="http://www.imdb.com/title/tt1759761/">Veep, 2012- (7.5 rating) in Comedy; Season 1</a></li>
<li><a href="http://www.imdb.com/title/tt1723816/">Girls, 2012- (7.4 rating) in Comedy; Season 1</a></li>
<li><a href="http://www.imdb.com/title/tt0944947/">Game of Thrones, 2011- (9.4 rating) in Adventure, Drama, Fantasy; Seasons 1-2</a></li>
<li><a href="http://www.imdb.com/title/tt1758429/">Spartacus, 2011- (8.7 rating) in Action, Adventure, Biography, Drama, History; Seasons 1-2</a></li>
<li><a href="http://www.imdb.com/title/tt1578887/">Luck, 2011- (7.6 rating) in Drama, Sport; Season 1</a></li>
<li><a href="http://www.imdb.com/title/tt1492030/">Mildred Pierce, 2011- (7.6 rating) in Drama; Season 1</a></li>
<li><a href="http://www.imdb.com/title/tt1596589/">Angry Boys, 2011- (7.5 rating) in Comedy; Season 1</a></li>
<li><a href="http://www.imdb.com/title/tt1509004/">Enlightened, 2011- (6.8 rating) in Comedy, Drama; Season 1</a></li>
<li><a href="http://www.imdb.com/title/tt0979432/">Boardwalk Empire, 2010- (8.7 rating) in Crime, Drama; Seasons 1-3</a></li>
<li><a href="http://www.imdb.com/title/tt0374463/">The Pacific, 2010- (8.3 rating) in Action, Adventure, Drama, History, War; Season 1</a></li>
<li><a href="http://www.imdb.com/title/tt1553644/">The Ricky Gervais Show, 2010- (8.1 rating) in Animation, Comedy; Season 3</a></li>
<li><a href="http://www.imdb.com/title/tt1492179/">Strike Back, 2010- (8.1 rating) in Action, Drama, Thriller; Seasons 1-2</a></li>
<li><a href="http://www.imdb.com/title/tt1299365/">How to Make It in America, 2010- (7.9 rating) in Comedy, Drama; Seasons 1-2</a></li>
<li><a href="http://www.imdb.com/title/tt1279972/">Treme, 2010- (7.9 rating) in Drama; Seasons 1-3</a></li>
<li><a href="http://www.imdb.com/title/tt1073507/">Party Down, 2009-2010 (8.4 rating) in Comedy; Seasons 1-2</a></li>
<li><a href="http://www.imdb.com/title/tt1255913/">Bored to Death, 2009- (7.9 rating) in Comedy, Crime, Mystery; Seasons 1-3</a></li>
<li><a href="http://www.imdb.com/title/tt1229413/">Hung, 2009-2011 (6.9 rating) in Comedy, Drama; Seasons 1-3</a></li>
<li><a href="http://www.imdb.com/title/tt0995832/">Generation Kill, 2008- (8.7 rating) in Drama, War; Season 1</a></li>
<li><a href="http://www.imdb.com/title/tt0472027/">John Adams, 2008- (8.7 rating) in Biography, Drama, History; Season 1</a></li>
<li><a href="http://www.imdb.com/title/tt0939564/">Z Rock, 2008- (8.1 rating) in Comedy; Seasons 1-2</a></li>
<li><a href="http://www.imdb.com/title/tt0844441/">True Blood, 2008- (8.0 rating) in Drama, Fantasy, Mystery, Romance, Thriller; Seasons 1-5</a></li>
<li><a href="http://www.imdb.com/title/tt0835434/">In Treatment, 2008- (8.0 rating) in Drama; Seasons 1-3</a></li>
<li><a href="http://www.imdb.com/title/tt0936458/">Little Britain USA, 2008- (7.5 rating) in Comedy; Season 1</a></li>
<li><a href="http://www.imdb.com/title/tt1343865/">Web Therapy, 2008- (7.5 rating) in Comedy; Season 1</a></li>
<li><a href="http://www.imdb.com/title/tt0936453/">House of Saddam, 2008- (7.5 rating) in Biography, Drama, History, War; Season 1</a></li>
<li><a href="http://www.imdb.com/title/tt0863046/">Flight of the Conchords, 2007- (8.3 rating) in Comedy, Music; Seasons 1-2</a></li>
<li><a href="http://www.imdb.com/title/tt0809497/">Tell Me You Love Me, 2007- (7.2 rating) in Drama, Romance; Season 1</a></li>
<li><a href="http://www.imdb.com/title/tt0840094/">Five Days, 2007- (6.9 rating) in Drama, Crime, Mystery, Thriller; Season 1</a></li>
<li><a href="http://www.imdb.com/title/tt0904627/">Head Case, 2007- (6.9 rating) in Comedy; Seasons 1-2</a></li>
<li><a href="http://www.imdb.com/title/tt0814164/">John from Cincinnati, 2007- (6.8 rating) in Drama; Seasons 1</a></li>
<li><a href="http://www.imdb.com/title/tt0772139/">Masters of Science Fiction, 2007- (6.6 rating) in Drama, Sci-Fi; Season 1</a></li>
<li><a href="http://www.imdb.com/title/tt0496424/">30 Rock, 2006- (8.0 rating) in Comedy; Seasons 1-2</a></li>
<li><a href="http://www.imdb.com/title/tt0421030/">Big Love, 2006-2011 (7.6 rating) in Drama; Seasons 1-5</a></li>
<li><a href="http://www.imdb.com/title/tt0384766/">Rome, 2005-2007 (9.0 rating) in Action, Drama, History, Romance, War; Seasons 1-2</a></li>
<li><a href="http://www.imdb.com/title/tt0448190/">Masters of Horror, 2005- (7.5 rating) in Horror, Thriller; Seasons 1-2</a></li>
<li><a href="http://www.imdb.com/title/tt0387199/">Entourage, 2004-2011 (8.6 rating) in Comedy, Drama; Seasons 1-8</a></li>
<li><a href="http://www.imdb.com/title/tt0319969/">Carnivàle, 2003-2005 (8.7 rating) in Drama, Fantasy, Mystery, Thriller; Seasons 1-2</a></li>
<li><a href="http://www.imdb.com/title/tt0306414/">The Wire, 2002-2008 (9.5 rating) in Crime, Drama, Thriller; Seasons 1-5</a></li>
<li><a href="http://www.imdb.com/title/tt0185906/">Band of Brothers, 2001- (9.6 rating) in Action, Adventure, Drama, History, War; Season 1</a></li>
<li><a href="http://www.imdb.com/title/tt0248654/">Six Feet Under, 2001-2005 (8.9 rating) in Drama; Seasons 1-5</a></li>
<li><a href="http://www.imdb.com/title/tt0141842/">The Sopranos, 1999-2007 (9.2 rating) in Crime, Drama; Seasons 1-6</a></li>
<li><a href="http://www.imdb.com/title/tt0159206/">Sex and the City, 1998-2004 (6.6 rating) in Comedy, Romance; Seasons 1-6</a></li>
</ul>
<h3>HBO Nordic Movies</h3>
<ul>
<li><a href="http://www.imdb.com/title/tt1848902/">Game Change, 2012 (7.5 rating) in Biography, Drama, History</a></li>
<li><a href="http://www.imdb.com/title/tt1821447/">The Dog Who Saved Halloween, 2011 (4.0 rating) in Comedy</a></li>
<li><a href="http://www.imdb.com/title/tt2024354/">A Christmas Wedding Tail, 2011 (4.2 rating) in Comedy</a></li>
<li><a href="http://www.imdb.com/title/tt1691012/">The Dog Who Saved Christmas Vacation, 2010 (3.9 rating) in Comedy, Family</a></li>
<li><a href="http://www.imdb.com/title/tt1307897/">Turn the Beat Around, 2010 (4.1 rating) in Comedy, Drama</a></li>
<li><a href="http://www.imdb.com/title/tt1572008/">A Nanny for Christmas, 2010 (4.9 rating) in Comedy</a></li>
<li><a href="http://www.imdb.com/title/tt1296898/">Waiting for Forever, 2010 (6.0 rating) in Drama, Romance</a></li>
<li><a href="http://www.imdb.com/title/tt1182609/">Direct Contact, 2009 (4.2 rating) in Action, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt0762105/">I Hate Valentine&amp;#x27;s Day, 2009 (4.5 rating) in Comedy, Romance</a></li>
<li><a href="http://www.imdb.com/title/tt1356395/">The Dog Who Saved Christmas, 2009 (4.7 rating) in Comedy</a></li>
<li><a href="http://www.imdb.com/title/tt1238304/">Table for Three, 2009 (5.4 rating) in Comedy, Romance</a></li>
<li><a href="http://www.imdb.com/title/tt0985058/">Metropia, 2009 (6.1 rating) in Animation, Sci-Fi, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt1359421/">Bröllopsfotografen, 2009 (6.1 rating) in Comedy, Drama, Romance</a></li>
<li><a href="http://www.imdb.com/title/tt1234548/">The Men Who Stare at Goats, 2009 (6.3 rating) in Comedy, War</a></li>
<li><a href="http://www.imdb.com/title/tt1129381/">Lower Learning, 2008 (3.8 rating) in Comedy</a></li>
<li><a href="http://www.imdb.com/title/tt1284976/">A Christmas Proposal, 2008 (5.1 rating) in Comedy, Drama, Romance</a></li>
<li><a href="http://www.imdb.com/title/tt1135941/">Morgan Pålsson &#8211; världsreporter, 2008 (5.3 rating) in Comedy</a></li>
<li><a href="http://www.imdb.com/title/tt1133991/">What Doesn&amp;#x27;t Kill You, 2008 (6.6 rating) in Crime, Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0990413/">Sugar, 2008 (7.1 rating) in Drama, Sport</a></li>
<li><a href="http://www.imdb.com/title/tt0961066/">Maria Larssons eviga ögonblick, 2008 (7.5 rating) in Biography, Drama</a></li>
<li><a href="http://www.imdb.com/title/tt1032821/">Tyson, 2008 (7.5 rating) in Documentary, Sport</a></li>
<li><a href="http://www.imdb.com/title/tt0976051/">The Reader, 2008 (7.6 rating) in Drama, Romance</a></li>
<li><a href="http://www.imdb.com/title/tt0815241/">Religulous, 2008 (7.7 rating) in Documentary, Comedy</a></li>
<li><a href="http://www.imdb.com/title/tt1139797/">Låt den rätte komma in, 2008 (8.0 rating) in Drama, Horror, Romance</a></li>
<li><a href="http://www.imdb.com/title/tt0951368/">Allt om min buske, 2007 (3.3 rating) in Comedy</a></li>
<li><a href="http://www.imdb.com/title/tt0997282/">Solstorm, 2007 (5.0 rating) in Mystery, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt0986323/">Ciao Bella, 2007 (5.2 rating) in Comedy, Drama, Romance</a></li>
<li><a href="http://www.imdb.com/title/tt0455760/">Dead Silence, 2007 (6.0 rating) in Horror, Mystery, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt0808348/">Life Support, 2007 (6.6 rating) in Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0498399/">We Own the Night, 2007 (6.9 rating) in Crime, Drama, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt0762110/">Irina Palm, 2007 (7.2 rating) in Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0478134/">In the Valley of Elah, 2007 (7.3 rating) in Crime, Drama, Mystery, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt0882771/">Förortsungar, 2006 (4.9 rating) in Comedy, Drama, Family, Musical</a></li>
<li><a href="http://www.imdb.com/title/tt0452703/">Walkout, 2006 (6.6 rating) in Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0499537/">Offside, 2006 (7.2 rating) in Comedy, Drama, Sport</a></li>
<li><a href="http://www.imdb.com/title/tt0468094/">The Road to Guantanamo, 2006 (7.5 rating) in Documentary, Drama, War</a></li>
<li><a href="http://www.imdb.com/title/tt0759612/">Longford, 2006 (7.7 rating) in Biography, Crime, Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0419706/">Doom, 2005 (5.1 rating) in Action, Adventure, Horror, Sci-Fi, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt0432044/">Sandor slash Ida, 2005 (5.3 rating) in Drama, Romance</a></li>
<li><a href="http://www.imdb.com/title/tt0446476/">Storm, 2005 (5.7 rating) in Drama, Fantasy, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt0423382/">Tjenare kungen, 2005 (6.0 rating) in Comedy, Drama, Music, Romance</a></li>
<li><a href="http://www.imdb.com/title/tt0423510/">Warm Springs, 2005 (7.6 rating) in Biography, Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0400063/">Sometimes in April, 2005 (7.9 rating) in Drama, History, War</a></li>
<li><a href="http://www.imdb.com/title/tt0387233/">Fröken Sverige, 2004 (5.3 rating) in Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0368725/">The Fever, 2004 (5.9 rating) in Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0380609/">P.S., 2004 (6.3 rating) in Comedy, Drama, Fantasy, Romance</a></li>
<li><a href="http://www.imdb.com/title/tt0376215/">Strip Search, 2004 (6.4 rating) in Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0365020/">Everyday People, 2004 (6.6 rating) in Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0338512/">Deux frères, 2004 (6.8 rating) in Adventure, Drama, Family</a></li>
<li><a href="http://www.imdb.com/title/tt0390521/">Super Size Me, 2004 (7.4 rating) in Documentary, Comedy, Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0419279/">Yesterday, 2004 (7.6 rating) in Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0363163/">Der Untergang, 2004 (8.3 rating) in Biography, Drama, History, War</a></li>
<li><a href="http://www.imdb.com/title/tt0307566/">Kommer du med mig då, 2003 (3.3 rating) in Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0337943/">Consequence, 2003 (4.8 rating) in Action, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt0337824/">And Starring Pancho Villa as Himself, 2003 (6.6 rating) in Biography, Drama, History, War, Western</a></li>
<li><a href="http://www.imdb.com/title/tt0323998/">Smala Sussie, 2003 (6.7 rating) in Comedy, Crime, Mystery</a></li>
<li><a href="http://www.imdb.com/title/tt0173974/">Lansky, 1999 (5.3 rating) in Drama, Crime</a></li>
<li><a href="http://www.imdb.com/title/tt0131369/">Edtv, 1999 (6.0 rating) in Comedy</a></li>
<li><a href="http://www.imdb.com/title/tt0183992/">Vuxna människor, 1999 (6.2 rating) in Comedy</a></li>
<li><a href="http://www.imdb.com/title/tt0171410/">The Jack Bull, 1999 (6.8 rating) in Western</a></li>
<li><a href="http://www.imdb.com/title/tt0119699/">Montana, 1998 (6.2 rating) in Action, Comedy, Crime, Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0123865/">Gia, 1998 (6.8 rating) in Biography, Drama, Romance</a></li>
<li><a href="http://www.imdb.com/title/tt0119643/">Meet Joe Black, 1998 (7.0 rating) in Drama, Fantasy, Mystery, Romance</a></li>
<li><a href="http://www.imdb.com/title/tt0135706/">When Trumpets Fade, 1998 (7.2 rating) in Drama, War</a></li>
<li><a href="http://www.imdb.com/title/tt0138097/">Shakespeare in Love, 1998 (7.2 rating) in Comedy, Drama, Romance</a></li>
<li><a href="http://www.imdb.com/title/tt0127536/">Elizabeth, 1998 (7.5 rating) in Biography, Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0120086/">The Second Civil War, 1997 (6.7 rating) in Comedy, Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0117218/">The Nutty Professor, 1996 (5.5 rating) in Comedy, Romance, Sci-Fi</a></li>
<li><a href="http://www.imdb.com/title/tt0117061/">Mistrial, 1996 (5.6 rating) in Action, Drama, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt0115875/">The Cherokee Kid, 1996 (5.8 rating) in Comedy, Western</a></li>
<li><a href="http://www.imdb.com/title/tt0116483/">Happy Gilmore, 1996 (6.9 rating) in Comedy, Romance, Sport</a></li>
<li><a href="http://www.imdb.com/title/tt0116835/">The Late Shift, 1996 (6.9 rating) in Comedy, Drama, Talk-Show</a></li>
<li><a href="http://www.imdb.com/title/tt0117951/">Trainspotting, 1996 (8.2 rating) in Crime, Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0113399/">In Pursuit of Honor, 1995 (7.3 rating) in Drama, Western</a></li>
<li><a href="http://www.imdb.com/title/tt0113421/">Indictment: The McMartin Trial, 1995 (7.7 rating) in Drama, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt0114746/">Twelve Monkeys, 1995 (8.1 rating) in Mystery, Sci-Fi, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt0111848/">Zorn, 1994 (5.4 rating) in Biography, Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0109730/">The Enemy Within, 1994 (5.8 rating) in Drama, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt0111704/">White Mile, 1994 (6.3 rating) in Drama, Sport, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt0106676/">Daybreak, 1993 (4.7 rating) in Action, Drama, Romance, Sci-Fi</a></li>
<li><a href="http://www.imdb.com/title/tt0108633/">The Young Americans, 1993 (5.7 rating) in Crime, Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0107091/">Heart and Souls, 1993 (6.6 rating) in Comedy, Drama, Fantasy, Romance</a></li>
<li><a href="http://www.imdb.com/title/tt0107207/">In the Name of the Father, 1993 (8.1 rating) in Biography, Drama, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt0105477/">Stop! Or My Mom Will Shoot, 1992 (3.7 rating) in Action, Comedy</a></li>
<li><a href="http://www.imdb.com/title/tt0104690/">The Last of His Tribe, 1992 (7.0 rating) in Drama, Romance</a></li>
<li><a href="http://www.imdb.com/title/tt0105435/">Sneakers, 1992 (7.0 rating) in Comedy, Crime, Drama, Mystery, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt0097346/">Fellow Traveller, 1991 (5.5 rating) in n/a</a></li>
<li><a href="http://www.imdb.com/title/tt0103163/">Underjordens hemlighet, 1991 (6.0 rating) in Family</a></li>
<li><a href="http://www.imdb.com/title/tt0101550/">Cast a Deadly Spell, 1991 (6.4 rating) in Comedy, Fantasy, Horror, Mystery</a></li>
<li><a href="http://www.imdb.com/title/tt0099760/">Hemligheten, 1990 (4.4 rating) in Family</a></li>
<li><a href="http://www.imdb.com/title/tt0099141/">Bird on a Wire, 1990 (5.6 rating) in Action, Adventure, Comedy, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt0099493/">El Diablo, 1990 (5.9 rating) in Comedy, Western</a></li>
<li><a href="http://www.imdb.com/title/tt0099673/">God Afton, Herr Wallenberg, 1990 (6.7 rating) in Biography, Drama, War</a></li>
<li><a href="http://www.imdb.com/title/tt0099088/">Back to the Future Part III, 1990 (7.3 rating) in Adventure, Comedy, Sci-Fi, Western</a></li>
<li><a href="http://www.imdb.com/title/tt0096794/">Always, 1989 (6.2 rating) in Fantasy, Romance, Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0098273/">Sea of Love, 1989 (6.7 rating) in Crime, Drama, Mystery, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt0097108/">The Cook the Thief His Wife &amp; Her Lover, 1989 (7.4 rating) in Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0096874/">Back to the Future Part II, 1989 (7.7 rating) in Adventure, Comedy, Sci-Fi</a></li>
<li><a href="http://www.imdb.com/title/tt0095243/">Gorillas in the Mist: The Story of Dian Fossey, 1988 (6.9 rating) in Biography, Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0091541/">The Money Pit, 1986 (6.0 rating) in Comedy, Music</a></li>
<li><a href="http://www.imdb.com/title/tt0089755/">Out of Africa, 1985 (7.0 rating) in Adventure, Biography, Drama, Romance</a></li>
<li><a href="http://www.imdb.com/title/tt0088763/">Back to the Future, 1985 (8.5 rating) in Adventure, Comedy, Sci-Fi</a></li>
<li><a href="http://www.imdb.com/title/tt0344097/">Nam Pu, 1984 (3.7 rating) in Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0087096/">Crackers, 1984 (4.9 rating) in Adventure, Comedy, Crime, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt0085450/">Doctor Detroit, 1983 (4.6 rating) in Comedy</a></li>
<li><a href="http://www.imdb.com/title/tt0086216/">Rumble Fish, 1983 (7.1 rating) in Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0085959/">The Meaning of Life, 1983 (7.5 rating) in Comedy, Musical</a></li>
<li><a href="http://www.imdb.com/title/tt0086250/">Scarface, 1983 (8.3 rating) in Crime, Drama, Thriller</a></li>
<li><a href="http://www.imdb.com/title/tt0079576/">More American Graffiti, 1979 (5.0 rating) in Comedy, Drama, War</a></li>
<li><a href="http://www.imdb.com/title/tt0072226/">The Sugarland Express, 1974 (6.8 rating) in Adventure, Crime, Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0069704/">American Graffiti, 1973 (7.5 rating) in Comedy</a></li>
<li><a href="http://www.imdb.com/title/tt0070735/">The Sting, 1973 (8.4 rating) in Comedy, Crime, Drama</a></li>
<li><a href="http://www.imdb.com/title/tt0031982/">The Story of Alfred Nobel, 1939 (5.9 rating) in Short, Biography, Drama, History, War</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.jhh.me/blog/2012/12/22/hbo-started-at-finland/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NKO 2012 &#8212; two days left!</title>
		<link>http://www.jhh.me/blog/2012/11/08/nko-2012-two-days-left/</link>
		<comments>http://www.jhh.me/blog/2012/11/08/nko-2012-two-days-left/#comments</comments>
		<pubDate>Thu, 08 Nov 2012 11:12:24 +0000</pubDate>
		<dc:creator>jhh</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web development & design]]></category>

		<guid isPermaLink="false">http://www.jhh.me/blog/?p=191</guid>
		<description><![CDATA[I am participating in NKO once more this year. We have a four member team and we&#8217;re planning to make a website with some hopefully interesting features. I hope we get the first version of the site up before Saturday &#8230; <a href="http://www.jhh.me/blog/2012/11/08/nko-2012-two-days-left/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I am participating in <a href="http://nodeknockout.com">NKO</a> once more this year. </p>
<p>We have <a href="http://nodeknockout.com/teams/oulu">a four member team</a> and we&#8217;re planning to make a website with some hopefully interesting features. </p>
<p>I hope we get the first version of the site up before Saturday 8:00 UTC so we can get feedback from users before the competition ends Monday 0:00 UTC.</p>
<p>I took Monday free from the military so I can fully invest in the competition and recover from it. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.jhh.me/blog/2012/11/08/nko-2012-two-days-left/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m In The Army Now</title>
		<link>http://www.jhh.me/blog/2012/08/04/im-in-the-army-now/</link>
		<comments>http://www.jhh.me/blog/2012/08/04/im-in-the-army-now/#comments</comments>
		<pubDate>Sat, 04 Aug 2012 08:25:14 +0000</pubDate>
		<dc:creator>jhh</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.jhh.me/blog/?p=187</guid>
		<description><![CDATA[So I have been in the Finnish Defence Forces in the basic training as a rookie a month now. For you international readers I must state that it&#8217;s mandatory civil service in Finland from 6 to 12 months depending on &#8230; <a href="http://www.jhh.me/blog/2012/08/04/im-in-the-army-now/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>So I have been in the Finnish Defence Forces in the basic training as a rookie a month now. </p>
<p>For you international readers I must state that it&#8217;s mandatory civil service in Finland from 6 to 12 months depending on type of training. </p>
<p>So far it&#8217;s been (almost) fun and we have more free time than I thought. However it&#8217;s obvious that I don&#8217;t have as much of it as I had in civil job(s) &#8212; don&#8217;t be alarmed if it will take time to reply to issues. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.jhh.me/blog/2012/08/04/im-in-the-army-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP&#8217;s json_decode behaving badly</title>
		<link>http://www.jhh.me/blog/2012/04/10/phps-json_decode-behaving-badly/</link>
		<comments>http://www.jhh.me/blog/2012/04/10/phps-json_decode-behaving-badly/#comments</comments>
		<pubDate>Tue, 10 Apr 2012 19:39:02 +0000</pubDate>
		<dc:creator>jhh</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web development & design]]></category>

		<guid isPermaLink="false">http://www.jhh.me/blog/?p=176</guid>
		<description><![CDATA[Funny thing with PHP&#8217;s json_decode&#8230; $ php &#60;?php echo var_export(json_decode("true ", true), true) ?&#62; NULL (Press ctrl-d after you write &#8220;?&#62;&#8221;.) The same using node.js: $ node &#62; JSON.parse("true ") true &#62; exit Of course it could be argued that &#8230; <a href="http://www.jhh.me/blog/2012/04/10/phps-json_decode-behaving-badly/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Funny thing with PHP&#8217;s json_decode&#8230;</p>
<p><code>$ php<br />
&lt;?php echo var_export(json_decode("true ", true), true) ?&gt;<br />
NULL<br />
</code></p>
<p>(Press ctrl-d after you write &#8220;?&gt;&#8221;.)</p>
<p>The same using node.js:</p>
<p><code>$ node<br />
&gt; JSON.parse("true ")<br />
true<br />
&gt; exit<br />
</code></p>
<p>Of course it could be argued that it&#8217;s a good feature to not ignore leading white spaces. </p>
<p>However most text editors are going to write at least one line break at the end of files &#8212; and that kind of line break was the problem of my bug at the moment.</p>
<p><em>Original available as <a href="https://gist.github.com/2353872" title="GIST #2353872" target="_blank">gist #2353872</a>.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jhh.me/blog/2012/04/10/phps-json_decode-behaving-badly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Anti Spam Trick with content attribute</title>
		<link>http://www.jhh.me/blog/2012/03/30/css-anti-spam-trick-with-content-attribute/</link>
		<comments>http://www.jhh.me/blog/2012/03/30/css-anti-spam-trick-with-content-attribute/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 17:28:06 +0000</pubDate>
		<dc:creator>jhh</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web development & design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://www.jhh.me/blog/?p=157</guid>
		<description><![CDATA[Some time ago I stumbled upon a simple way to add email addresses on web pages &#8211; that are not easy to read by bots &#8211; using only CSS. First you add new class .email with your domain into your style sheet: .email:after &#8230; <a href="http://www.jhh.me/blog/2012/03/30/css-anti-spam-trick-with-content-attribute/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Some time ago I stumbled upon a simple way to add email addresses on web pages &#8211; that are not easy to read by bots &#8211; using only CSS.</p>
<p>First you add new class <em>.email</em> with your domain into your style sheet:</p>
<p><code>.email:after {<br />
    content:attr(title) "@example.com";<br />
}</code></p>
<p>..then use it inside HTML code like this:</p>
<p><code>&lt;span class="email" title="info"&gt;&lt;/span&gt;</code></p>
<p>First part of the email address is written inside a title attribute and the content should be left empty.</p>
<style>
.email:after {
content:attr(title) "@example.com";
}</style>
<p>Resulting HTML code looks like this: <span class="email" title="info"></span></p>
<p><b>Update:</b> Look also <a target="_blank" href="http://www.quirksmode.org/css/beforeafter_content.html" title="CSS support">CSS support for content</a>. (It&#8217;s not supported in IE7 and older.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jhh.me/blog/2012/03/30/css-anti-spam-trick-with-content-attribute/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Bitlbee with everything</title>
		<link>http://www.jhh.me/blog/2012/03/11/configuring-bitlbee-with-everything/</link>
		<comments>http://www.jhh.me/blog/2012/03/11/configuring-bitlbee-with-everything/#comments</comments>
		<pubDate>Sun, 11 Mar 2012 13:35:17 +0000</pubDate>
		<dc:creator>jhh</dc:creator>
				<category><![CDATA[Other things]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[bitlbee]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[googleapps]]></category>
		<category><![CDATA[irssi]]></category>
		<category><![CDATA[jabber]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.jhh.me/blog/?p=143</guid>
		<description><![CDATA[This is a guide how to setup irssi and Bitlbee with support for Skype, Google IM, Facebook, Twitter, Jabber, and SMS for Android-based mobile phones. It has been few days since I actually did this so I might not remember &#8230; <a href="http://www.jhh.me/blog/2012/03/11/configuring-bitlbee-with-everything/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>This is a guide how to setup <a href="http://irssi.org/" target="_blank">irssi</a> and <a href="http://bitlbee.org/" target="_blank">Bitlbee</a> with support for Skype, Google IM, Facebook, Twitter, Jabber, and SMS for Android-based mobile phones.</p>
<p>It has been few days since I actually did this so I might not remember everything right. Feel free to comment if something is out of order.</p>
<h3>Compiling Bitlbee</h3>
<p>To make things simpler I compiled and installed Bitlbee on my own shell account. That way I&#8217;ll get all bleeding-edge features. It&#8217;s also quite likely that Bitlbee has to be upgraded in case if the service APIs are changed (like Twitter or Facebook).</p>
<p>Download bitlbee-3.0.5.tar.gz or newer:</p>
<blockquote><p>wget http://get.bitlbee.org/src/bitlbee-3.0.5.tar.gz</p></blockquote>
<p>&#8230;then unpack it:</p>
<blockquote><p>zcat bitlbee-3.0.5.tar.gz|tar xf -</p></blockquote>
<p>&#8230;and compile it:</p>
<blockquote><p>cd bitlbee-3.0.5<br />
./configure &#8211;prefix=$HOME/opt/bitlbee &#8211;skype=1 &#8211;ssl=gnutls<br />
make<br />
make install</p></blockquote>
<p>You should also install default configurations on the first time with this command (Note! It will install over any changes you might have made under opt/bitlbee!):</p>
<blockquote><p>make install-etc</p></blockquote>
<p>Finally you might need to add $HOME/opt/bitlbee/bin and $HOME/opt/bitlbee/sbin in your path to make bitlbee and skyped commands working.</p>
<p>For Bash you can do it by adding these lines to .bashrc:</p>
<blockquote><p>export PATH=&#8221;$PATH:$HOME/opt/bitlbee/sbin:$HOME/opt/bitlbee/bin&#8221;</p></blockquote>
<h3>Configuring Bitlbee</h3>
<p>Bitlbee has to be configured before first start.</p>
<p>First I will make my own configuration directory for Bitlbee:</p>
<blockquote><p>mkdir etc/bitlbee<br />
cd etc/bitlbee</p></blockquote>
<p>Next copy the default configuration file from opt for bitlbee:</p>
<blockquote><p>cp $HOME/opt/bitlbee/etc/bitlbee/bitlbee.conf .<br />
chmod 600 bitlbee.conf</p></blockquote>
<p>Modify from the configuration <em>AuthMode</em> as <em>Registered</em> unless you want to setup a public Bitlbee. You should also change <em>AuthPassword</em> and <em>OperPassword</em>.</p>
<p>Next create a text file named <em>start-bitlbee.sh</em> with these lines:</p>
<blockquote><p>#!/bin/sh -x<br />
bitlbee -n -v -P $HOME/opt/bitlbee/var/run/bitlbee.pid \<br />
-c $HOME/etc/bitlbee/bitlbee.conf \<br />
-d $HOME/opt/bitlbee/var/bitlbee</p></blockquote>
<p>..and change permissions:</p>
<blockquote><p>chmod 700 start-bitlbee.sh</p></blockquote>
<p>Please note: you should configure Skype before starting Bitlbee first time.</p>
<p>When ready you can start bitlbee by running it in screen:</p>
<blockquote><p>screen -S bitlbee ./start-bitlbee.sh</p></blockquote>
<p>I am running bitlbee in screen since it&#8217;s easier to read debug messages and I did read about some Skype related bugs that didn&#8217;t exist by running it that way &#8212; but I&#8217;m not sure if those are already fixed.</p>
<h3>Setting up Google IM</h3>
<p>I followed <a href="http://thinkhole.org/wp/2006/09/20/howto-connect-to-google-talk-with-bitlbee/" target="_blank">these instructions</a> when configuring my Google Apps accounts to Bitlbee. However I couldn&#8217;t make it work precisely as advised there. I used oauth instead and it&#8217;s much more secure anyway.</p>
<blockquote><p>account add jabber jhh@sendanor.com<br />
account jabber set tag g<br />
account g set oauth on<br />
account g set ssl true<br />
account g set server talk.google.com<br />
account g set port 5223<br />
account g on</p></blockquote>
<h3>Setting up Skype</h3>
<p>Skype is the most tricky to get working with Bitlbee &#8212; mostly because you actually need to run Skype as GUI application (on shell server!). For that you will need a VNC server. I am using tightvncserver since it doesn&#8217;t have much dependencies and was easy to install on my shell server.</p>
<p>Good news is that <a href="http://vmiklos.github.com/bitlbee-skype/" target="_blank">skype-plugin</a> has been in Bitlbee since version 3.0.4.</p>
<p>First I installed Skype for Linux from <a href="http://www.skype.com" target="_blank">skype.com</a>. That was quite easy to do on my own shell server but required root access.</p>
<p>Then I followed <a href="http://vmiklos.github.com/bitlbee-skype/#_configuring" target="_blank">these instructions</a> to configure it.</p>
<p><strong>Update:</strong> If you need to receive files, please note that Skype API doesn&#8217;t support accepting them. However you can enable auto-accept feature in Skype GUI.</p>
<h3>Setting up Twitter</h3>
<p>For Twitter I followed <a href="http://wiki.bitlbee.org/HowtoTwitter" target="_blank">HowtoTwitter at wiki.bitlbee.org</a>. However you don&#8217;t need to use your password since Twitter supports oauth, too.</p>
<p>Just configure it by this command:</p>
<blockquote><p>account add twitter <strong>yourusername</strong></p></blockquote>
<p>..and follow the link to authorize your access.</p>
<h3>Setting up Facebook</h3>
<p>Facebook&#8217;s jabber support isn&#8217;t very good. Unlike with Twitter you cannot see anything else but private messages so it&#8217;s not as useful as Twitter. As usual I followed<br />
<a href="http://wiki.bitlbee.org/HowtoFacebook" target="_blank">HowtoFacebook at Bitlbee wiki</a>.</p>
<h3>GTalkSMS</h3>
<p><a href="http://code.google.com/p/gtalksms/" target="_blank">GTalkSMS</a> is an Android app that allows you to send/receive SMS and control your Android smartphone using Gtalk/XMPP. Since Bitlbee supports XMPP it also means you can control your smartphone with irssi!</p>
<p>Guides to setup GTalkSMS are available at GtalkSMS&#8217;s wiki on pages <a href="http://code.google.com/p/gtalksms/wiki/Setup" target="_blank">Setup</a> and <a href="http://code.google.com/p/gtalksms/wiki/HowToSetUp" target="_blank">HowToSetUp</a>.</p>
<p>Setting it up was quite easy but there seems to be some kind of bug when configuring settings for GTalk. First it didn&#8217;t work even when I had all settings right but then it started working after I cleared data for GTalkSMS and configured it again. For the second time I didn&#8217;t change anything except what needed. For example, I didn&#8217;t write &#8220;@&#8221; characters again since I suspected there might be some kind of character set problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jhh.me/blog/2012/03/11/configuring-bitlbee-with-everything/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up Google Apps for domain -account on Bitlbee 3.0.5</title>
		<link>http://www.jhh.me/blog/2012/02/28/setting-up-google-apps-for-domain-account-on-bitlbee/</link>
		<comments>http://www.jhh.me/blog/2012/02/28/setting-up-google-apps-for-domain-account-on-bitlbee/#comments</comments>
		<pubDate>Tue, 28 Feb 2012 09:54:11 +0000</pubDate>
		<dc:creator>jhh</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.jhh.me/blog/?p=139</guid>
		<description><![CDATA[I configured today Bitlbee to use Skype, Facebook, Twitter and Google Apps. Skype may have been the most laborious of these &#8212; it has to be ran using VNC server when on a remote server &#8212; but Google Apps took &#8230; <a href="http://www.jhh.me/blog/2012/02/28/setting-up-google-apps-for-domain-account-on-bitlbee/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I configured today Bitlbee to use Skype, Facebook, Twitter and Google Apps. </p>
<p>Skype may have been the most laborious of these &#8212; it has to be ran using VNC server when on a remote server &#8212; but Google Apps took more time for me since I didn&#8217;t find updated documentation for it.</p>
<p>It&#8217;s configured like this on Bitlbee 3.0.5:</p>
<blockquote><p>account add jabber jhh@sendanor.com<br />
account jabber set tag g<br />
account g set oauth on<br />
account g set ssl true<br />
account g set server talk.google.com<br />
account g set port 5223<br />
account g on</p></blockquote>
<p>After this you just need to follow the link Bitlbee will provide for you to authenticate using oauth.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jhh.me/blog/2012/02/28/setting-up-google-apps-for-domain-account-on-bitlbee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blogging about Freeciv and longturn games</title>
		<link>http://www.jhh.me/blog/2012/01/07/blogging-about-freeciv-and-longturn-games/</link>
		<comments>http://www.jhh.me/blog/2012/01/07/blogging-about-freeciv-and-longturn-games/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 03:36:50 +0000</pubDate>
		<dc:creator>jhh</dc:creator>
				<category><![CDATA[Games]]></category>

		<guid isPermaLink="false">http://www.jhh.me/blog/?p=136</guid>
		<description><![CDATA[This week I started blogging about Freeciv and longturn games at freecivbook.com. It&#8217;s actually a blog for my work-in-progress book about Freeciv. If it will be successful, I might really write a book about Freeciv. Until then I&#8217;ll write articles &#8230; <a href="http://www.jhh.me/blog/2012/01/07/blogging-about-freeciv-and-longturn-games/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>This week I started blogging about Freeciv and longturn games at <a href="http://www.freecivbook.com/blog/" target="_blank">freecivbook.com</a>. </p>
<p>It&#8217;s actually a blog for my work-in-progress book about Freeciv. If it will be successful, I might really write a book about Freeciv. Until then I&#8217;ll write articles one at the time and publish them there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jhh.me/blog/2012/01/07/blogging-about-freeciv-and-longturn-games/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
