<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>corner of ramblings » English posts</title>
	
	<link>http://sanitarium.se/blog</link>
	<description />
	<lastBuildDate>Mon, 19 Sep 2011 19:34:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/CornerOfRamblingsEnglishPosts" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="corneroframblingsenglishposts" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Keeping your Varnish farms configuration in sync</title>
		<link>http://sanitarium.se/blog/2011/01/keeping-your-varnish-farm-in-sync/</link>
		<comments>http://sanitarium.se/blog/2011/01/keeping-your-varnish-farm-in-sync/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 01:21:46 +0000</pubDate>
		<dc:creator>gaqzi</dc:creator>
				<category><![CDATA[English posts]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[piratpartiet]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[varnish]]></category>

		<guid isPermaLink="false">http://sanitarium.se/blog/?p=378</guid>
		<description><![CDATA[I spend some of my free time helping out with server administration and programming for the Swedish Pirate Party, Piratpartiet (look ma, X-Varnish), and we use Varnish for our caches. At the moment it&#8217;s just used on some of our projects, but we&#8217;re going to migrate most of our projects to be behind our Varnish [...]]]></description>
			<content:encoded><![CDATA[<p>I spend some of my free time helping out with server administration and programming for the <a href="https://secure.wikimedia.org/wikipedia/en/wiki/Piratpartiet">Swedish Pirate Party</a>, <a href="http://www.piratpartiet.se/">Piratpartiet</a> (<em>look ma</em>, X-Varnish), and we use <a href="http://www.varnish-cache.org/">Varnish</a> for our caches. At the moment it&#8217;s just used on some of our projects, but we&#8217;re going to migrate most of our projects to be behind our Varnish caches.</p>

<p>The thing is though that we got two hosts running the exact same configuration, and we&#8217;d like to keep those hosts in sync. A quick search on Google gave me nothing for syncing varnish configuration over several hosts, or a farm as it were. So I took matters into my own hands and wrote <a href="https://github.com/gaqzi/varnishsync">varnishsync</a>, a little bash script that uses rsync and ssh to sync the configuration folder and then to load and use the new configuration.</p>

<p>Please have a look at the <a href="https://github.com/gaqzi/varnishsync">Github project</a> for the latest version and usage, and if you&#8217;ve any questions or suggestions drop a line here or on Github.</p>
<div style="float:right;">
		<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="gaqzi" data-related=":" 
		             data-lang="en">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div> <p><a href="http://sanitarium.se/blog/?flattrss_redirect&amp;id=378&amp;md5=928365896e80a180a3647546e8b8861f" title="Flattr" target="_blank"><img src="http://sanitarium.se/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=L0AuZ0gTho8:qgrqxyqZMYc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=L0AuZ0gTho8:qgrqxyqZMYc:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?i=L0AuZ0gTho8:qgrqxyqZMYc:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=L0AuZ0gTho8:qgrqxyqZMYc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?i=L0AuZ0gTho8:qgrqxyqZMYc:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=L0AuZ0gTho8:qgrqxyqZMYc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://sanitarium.se/blog/2011/01/keeping-your-varnish-farm-in-sync/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to: Setting up a Wikileaks mirror</title>
		<link>http://sanitarium.se/blog/2010/12/howto-setting-up-a-wikileaks-mirror/</link>
		<comments>http://sanitarium.se/blog/2010/12/howto-setting-up-a-wikileaks-mirror/#comments</comments>
		<pubDate>Sun, 05 Dec 2010 21:11:18 +0000</pubDate>
		<dc:creator>gaqzi</dc:creator>
				<category><![CDATA[English posts]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[piratpartiet]]></category>
		<category><![CDATA[wikileaks]]></category>

		<guid isPermaLink="false">http://sanitarium.se/blog/?p=366</guid>
		<description><![CDATA[Yesterday I wrote a quick step-by-step guide for installing apache and setting your system up for Wikileaks mass-mirror project in Swedish and I&#8217;ve had requests for it to be translated into English. This guide assumes you&#8217;re running Ubuntu or a Debian based system. I&#8217;ve made a script that does all the steps below, feel free [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I wrote a quick step-by-step guide for installing apache and setting your system up for <a href="http://213.251.145.96/Mass-mirroring-Wikileaks.html">Wikileaks mass-mirror project</a> in Swedish and I&#8217;ve had requests for it to be translated into English.</p>

<p>This guide assumes you&#8217;re running Ubuntu or a Debian based system.</p>

<p>I&#8217;ve made a script that does all the steps below, feel free to use it!<br />
The script: <a href="http://sanitarium.se/files/wikileaks-mirror.sh">http://sanitarium.se/files/wikileaks-mirror.sh</a><br />
Usage: <code>wget http://sanitarium.se/files/wikileaks-mirror.sh &amp;&amp; chmod +x wikileaks-mirror.sh &amp;&amp; ./wikileaks-mirror.sh</code></p>

<h1>Installing Apache and adding the wikileaks user</h1>

<p><code>#</code> is the prompt as root:</p>

<blockquote>
  <blockquote>
    <p>youruser$ sudo -s</p>
  </blockquote>
  
  <p>Install apache if it&#8217;s not installed</p>
  
  <blockquote>
    <p><code>#</code> apt-get install apache2</p>
  </blockquote>
  
  <p>Add a wikileaks user, write down where the home folder is created.</p>
  
  <blockquote>
    <p><code>#</code> adduser <code>--</code>disabled-password wikileaks<br />
    <code>#</code> su wikileaks<br />
    wikileaks$ mkdir ~/.ssh ~/www<br />
    wikileaks$ chmod 0700 ~/.ssh<br />
    wikileaks$ wget http://213.251.145.96/IMG/id_rsa.pub -O ~/.ssh/authorized_keys<br />
    wikileaks$ exit</p>
  </blockquote>
  
  <p>Time to add the apache site for wikileaks</p>
  
  <blockquote>
    <p><code>#</code> cd /etc/apache2/sites-available/<br />
    <code>#</code> wget http://sanitarium.se/files/wikileaks</p>
  </blockquote>
  
  <p>Open the file <code>wikileaks</code> with an editor and change the path to the wikileaks users home folder if it&#8217;s not <code>/home/wikileaks</code>.<br />
  This file assumes you want to host wikileaks.org, if you want to host wikileaks.yourdomain.com you&#8217;ll need to set <code>ServerName</code> accordingly and if necessary <code>ServerAlias</code>, ServerAlias is optional and you can remove that row if you don&#8217;t use it.<br />
  When that is done you just need to activate the site in apache:</p>
  
  <blockquote>
    <p><code>#</code> a2ensite wikileaks</p>
  </blockquote>
  
  <p>And reload apache so it knows that the new site has been added:</p>
  
  <blockquote>
    <p><code>#</code> /etc/init.d/apache2 reload</p>
  </blockquote>
</blockquote>

<p>The <code>wikileaks</code> file downloaded from this server looks like this:</p>

<pre>
&lt;VirtualHost *:80&gt;
        DocumentRoot /home/wikileaks/www
        ServerName wikileaks.org
        ServerAlias www.wikileaks.org
        ErrorLog /dev/null
        CustomLog /dev/null common

        &lt;Directory /home/wikileaks/www&gt;
                AllowOverride None
        &lt;/Directory&gt;
&lt;/VirtualHost&gt;
</pre>

<h1>Now tell Wikileaks about your mirror</h1>

<p>Go to the <a href="http://213.251.145.96/Mass-mirroring-Wikileaks.html">form</a> and fill it as the picture, set the IP-address of your server in the IP-field:<br />
<a href="http://sanitarium.se/blog/wp-content/uploads/2010/12/installning-hos-wikileaks.png"><img src="http://sanitarium.se/blog/wp-content/uploads/2010/12/installning-hos-wikileaks.png" alt="" title="installning-hos-wikileaks" width="733" height="431" class="aligncenter size-full wp-image-343" /></a></p>

<p>If you&#8217;re having any troubles don&#8217;t hesitate to ask in the comments!</p>
<div style="float:right;">
		<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="gaqzi" data-related=":" 
		             data-lang="en">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div> <p><a href="http://sanitarium.se/blog/?flattrss_redirect&amp;id=366&amp;md5=e241a2a1ada9d8d70e06e05121260b24" title="Flattr" target="_blank"><img src="http://sanitarium.se/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=6UAdpiDSVU0:SC7m12f5IqI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=6UAdpiDSVU0:SC7m12f5IqI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?i=6UAdpiDSVU0:SC7m12f5IqI:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=6UAdpiDSVU0:SC7m12f5IqI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?i=6UAdpiDSVU0:SC7m12f5IqI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=6UAdpiDSVU0:SC7m12f5IqI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://sanitarium.se/blog/2010/12/howto-setting-up-a-wikileaks-mirror/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>How to: disable Spotify from making P2P connections in Windows XP</title>
		<link>http://sanitarium.se/blog/2010/09/how-to-disable-spotify-from-making-p2p-connections-in-windows-xp/</link>
		<comments>http://sanitarium.se/blog/2010/09/how-to-disable-spotify-from-making-p2p-connections-in-windows-xp/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 17:07:24 +0000</pubDate>
		<dc:creator>gaqzi</dc:creator>
				<category><![CDATA[English posts]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[spotify]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://sanitarium.se/blog/?p=238</guid>
		<description><![CDATA[I&#8217;ve been having trouble at work with the available bandwidth running out when I and my co-workers are using Spotify, a very nice piece of software, but just like Skype it tries to split its content through all available nodes and make sure they share it, which includes its users. So what I did to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been having trouble at work with the available bandwidth running out when I and my co-workers are using <a href="http://spotify.com">Spotify</a>, a very nice piece of software, <a href="http://forum.skype.com/index.php?showtopic=16251">but just like Skype</a> it tries to split its content through all available nodes and make sure they share it, which includes its users.</p>

<p>So what I did to force Spotify to only connect and fetch data from the Spotify servers was to use the built-in firewall in Windows XP and specify that <code>spotify.exe</code> is only allowed to connect to: <a href="http://getsatisfaction.com/spotify/topics/how_can_i_block_spotify_on_our_company_firewall"><code>78.31.8.0/22,193.182.8.0/21</code></a>, mix up some traffic priority rules at the router for connections to those IP:s and Spotify can still be used, and not taking up all available bandwidth.</p>

<p><a href="http://sanitarium.se/blog/wp-content/uploads/2010/09/spotify-firewall-updated.png"><img src="http://sanitarium.se/blog/wp-content/uploads/2010/09/spotify-firewall-updated-255x300.png" alt="" title="spotify-firewall-updated" width="255" height="300" class="aligncenter size-medium wp-image-418" /></a></p>

<p><strong>Updated 2011-08-23</strong>: Added a new IP-range that Spotify uses, 193.182.8.0/21.</p>
<div style="float:right;">
		<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="gaqzi" data-related=":" 
		             data-lang="en">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div> <p><a href="http://sanitarium.se/blog/?flattrss_redirect&amp;id=238&amp;md5=f2cfbad7d1b6d6cb2dee6e394ee1f320" title="Flattr" target="_blank"><img src="http://sanitarium.se/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=UARuyilotDo:6AKD29Tcp5Q:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=UARuyilotDo:6AKD29Tcp5Q:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?i=UARuyilotDo:6AKD29Tcp5Q:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=UARuyilotDo:6AKD29Tcp5Q:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?i=UARuyilotDo:6AKD29Tcp5Q:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=UARuyilotDo:6AKD29Tcp5Q:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://sanitarium.se/blog/2010/09/how-to-disable-spotify-from-making-p2p-connections-in-windows-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get your HP un2400 3G modem to work in Ubuntu on a HP 110c-1020SO netbook</title>
		<link>http://sanitarium.se/blog/2010/05/how-to-get-your-hp-un2400-3g-modem-to-work-in-ubuntu-on-your-hp-110c-1020so-netbook/</link>
		<comments>http://sanitarium.se/blog/2010/05/how-to-get-your-hp-un2400-3g-modem-to-work-in-ubuntu-on-your-hp-110c-1020so-netbook/#comments</comments>
		<pubDate>Sat, 01 May 2010 16:32:21 +0000</pubDate>
		<dc:creator>gaqzi</dc:creator>
				<category><![CDATA[English posts]]></category>
		<category><![CDATA[3g]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://sanitarium.se/blog/?p=142</guid>
		<description><![CDATA[I bought a HP netbook this week with the explicit intent to use GNU/Linux on it. I wagered that someone had gotten the built-in 3G modem working and while it was a pain to get installed I was right, someone had made it work! To help anyone who would be in the same position as [...]]]></description>
			<content:encoded><![CDATA[<p>I bought a HP netbook this week with the explicit intent to use <a href="http://en.wikipedia.org/wiki/Linux">GNU/Linux</a> on it. I wagered that someone had gotten the built-in 3G modem working and while it was a pain to get installed I was right, someone had made it work!</p>

<p>To help anyone who would be in the same position as I was a couple of days ago I&#8217;ve written down the steps I followed to get my modem working on my own <a href="http://sanitarium.se/wiki/">wiki</a> and also packed all the files I need to get this working up as a download.</p>

<p>So for the meat of this post please see the <a href="http://sanitarium.se/wiki/HP_un2400_3G_modem_in_Linux">HP un2400 3G modem in Linux</a> page on the wiki.</p>
<div style="float:right;">
		<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="gaqzi" data-related=":" 
		             data-lang="en">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=L-LOIgAySrs:bY3s1IY5X_0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=L-LOIgAySrs:bY3s1IY5X_0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?i=L-LOIgAySrs:bY3s1IY5X_0:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=L-LOIgAySrs:bY3s1IY5X_0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?i=L-LOIgAySrs:bY3s1IY5X_0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=L-LOIgAySrs:bY3s1IY5X_0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://sanitarium.se/blog/2010/05/how-to-get-your-hp-un2400-3g-modem-to-work-in-ubuntu-on-your-hp-110c-1020so-netbook/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to reactivate calendar notifications on your HTC Hero if they stop working</title>
		<link>http://sanitarium.se/blog/2010/04/how-to-reactivate-calendar-notifications-on-your-htc-hero-if-they-stop-working/</link>
		<comments>http://sanitarium.se/blog/2010/04/how-to-reactivate-calendar-notifications-on-your-htc-hero-if-they-stop-working/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 12:59:03 +0000</pubDate>
		<dc:creator>gaqzi</dc:creator>
				<category><![CDATA[English posts]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[htc hero]]></category>
		<category><![CDATA[notifications]]></category>

		<guid isPermaLink="false">http://sanitarium.se/blog/?p=119</guid>
		<description><![CDATA[A couple of months back, out of the blue, my HTC Hero stopped notifying me on my upcoming calendar events. It didn&#8217;t even show upcoming events on the home screen widget, but it kept syncing new events without a problem. I tried adding and re-adding the calendars I sync on the phone, turning on/off the [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of months back, out of the blue, my <a href="http://en.wikipedia.org/wiki/HTC_Hero">HTC Hero</a> stopped notifying me on my upcoming calendar events. It didn&#8217;t even show upcoming events on the home screen widget, but it kept syncing new events without a problem.</p>

<p>I tried adding and re-adding the calendars I sync on the phone, turning on/off the notifications but nothing worked. I found a link to a guy who had the same problem, which ended up being caused by him force quitting the alarm service. But I had not done that, and either way it should&#8217;ve started working after a reboot if that were the case. Another guy managed to get his notifications working after doing a factory defaults reset.</p>

<p>Resetting to factory defaults isn&#8217;t my first choice of action, so I searched for, <a href="http://androidforums.com/htc-hero/9828-delete-local-calendar-htc-hero.html#post55710">and found</a>, a way to reset the calendar instead. And after doing that a test notification I set to go off a couple of minutes earlier got synced back to the phone and went off!</p>

<p>On your phone:</p>

<blockquote>
  <p>Settings -> Applications -> Manage applications<br />
  Open up <code>Calendar storage</code> and press <code>Clear data</code>.<br />
  I also cleared the <code>Calendar</code> app, not sure if it was needed though.</p>
</blockquote>

<p>Posting in hope that if anyone else have this problem they won&#8217;t have to rummage through the internet as I did.</p>
<div style="float:right;">
		<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="gaqzi" data-related=":" 
		             data-lang="en">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=nTr14gF6t98:y2mtjFq1USI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=nTr14gF6t98:y2mtjFq1USI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?i=nTr14gF6t98:y2mtjFq1USI:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=nTr14gF6t98:y2mtjFq1USI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?i=nTr14gF6t98:y2mtjFq1USI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=nTr14gF6t98:y2mtjFq1USI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://sanitarium.se/blog/2010/04/how-to-reactivate-calendar-notifications-on-your-htc-hero-if-they-stop-working/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to disable bold fonts in xterm</title>
		<link>http://sanitarium.se/blog/2010/02/how-to-disable-bold-fonts-in-xterm/</link>
		<comments>http://sanitarium.se/blog/2010/02/how-to-disable-bold-fonts-in-xterm/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 22:36:19 +0000</pubDate>
		<dc:creator>gaqzi</dc:creator>
				<category><![CDATA[English posts]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://sanitarium.se/blog/?p=67</guid>
		<description><![CDATA[I&#8217;ve so far in all my travels never found a terminal I like better than xterm, maybe urxvt, but I&#8217;ve had a problem disabling bold fonts for a very long time. Update: Seems this is a known bug for xterm. There are a lot of X resource configuration options that makes you think you can [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve so far in all my travels never found a terminal I like better than <a href="http://en.wikipedia.org/wiki/Xterm">xterm</a>, maybe <a href="http://en.wikipedia.org/wiki/Rxvt-unicode">urxvt</a>, but I&#8217;ve had a problem disabling bold fonts for a very long time. <ins datetime="2010-02-22T15:56:18+00:00"><strong>Update:</strong> Seems this is a <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347790">known bug for xterm</a>.</ins></p>

<p>There are a lot of X resource configuration options that makes you think you can disable bold fonts, but alas, I&#8217;ve had no luck with any of them. But if you set <strong>the same font</strong> for both normal and bold fonts it&#8217;ll work! This little gem of knowledge I found as an off-hand remark on a <a href="http://dmr.ath.cx/notes/xterm.html">configuration page</a> by <a href="http://dmr.ath.cx/">Emil Mikulic</a>, thank you!</p>

<p>I like the normal <code>fixed</code> font, I&#8217;ve tried many terminal fonts but I&#8217;ve always gotten back to it. So I simply tucked:</p>

<pre>
xterm*font: fixed
xterm*boldFont: fixed
</pre>

<p>Into my <code>~/.Xresources</code> and afterwards ran <code>xrdb -load ~/.Xresources</code> and started up a new xterm loaded with awesomeness!</p>

<div class="wp-caption aligncenter" style="width: 487px;"><img src="http://sanitarium.se/blog/wp-content/uploads/2010/02/xterms.png" alt="xterm with bold font and xterm without bold font" title="xterm with bold font and xterm without bold font" width="487" height="679" class="aligncenter size-full wp-image-74" />
<p class="wp-caption-text">The before and after shot.</p></div>
<div style="float:right;">
		<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="gaqzi" data-related=":" 
		             data-lang="en">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div> <p><a href="http://sanitarium.se/blog/?flattrss_redirect&amp;id=67&amp;md5=25e5bada121a038cbcdd3716e1c4f814" title="Flattr" target="_blank"><img src="http://sanitarium.se/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=YCDbDCfaNoo:CRmkIoIrjiI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=YCDbDCfaNoo:CRmkIoIrjiI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?i=YCDbDCfaNoo:CRmkIoIrjiI:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=YCDbDCfaNoo:CRmkIoIrjiI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?i=YCDbDCfaNoo:CRmkIoIrjiI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=YCDbDCfaNoo:CRmkIoIrjiI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://sanitarium.se/blog/2010/02/how-to-disable-bold-fonts-in-xterm/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Webby with pingbacks/trackbacks</title>
		<link>http://sanitarium.se/blog/2009/08/webby-with-pingbacks-trackbacks/</link>
		<comments>http://sanitarium.se/blog/2009/08/webby-with-pingbacks-trackbacks/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 21:54:31 +0000</pubDate>
		<dc:creator>gaqzi</dc:creator>
				<category><![CDATA[English posts]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[web standards]]></category>
		<category><![CDATA[webby]]></category>

		<guid isPermaLink="false" />
		<description><![CDATA[I decided I should have a blog to discuss or publish things I find interesting or otherwise on the Internet. Now the thing is that I also like having things fast, meaning that I think it’s nice if things are static. So enter Webby, easy to use, configurable and easily extendable, through Ruby, and add [...]]]></description>
			<content:encoded><![CDATA[<p>I decided I should have a blog to discuss or publish things I find interesting or otherwise on the Internet. Now the thing is that I also like having things fast, meaning that I think it’s nice if things are static. So enter <a rel="nofollow" href="http://webby.rubyforge.org">Webby</a>, easy to use, configurable and easily extendable, through <a rel="nofollow" href="http://en.wikipedia.org/wiki/Ruby_%28programming_language%29">Ruby</a>, and add the fact that webby generates static HTML, it can hardly get any better! :)</p>

<p>That is except for the community building part of having a blog, comments and the ability to tell other people automatically that I’ve written about a post of theirs or the reverse — someone else wanting to tell me that they’ve written about one of my posts.
So the first part of that puzzle I found was <a rel="nofollow" href="http://www.disqus.com">Disqus</a> which is a javascript commenting system that can be used with any javascript enabled browser. So now I have comments, but <a rel="nofollow" href="http://blog.disqus.net/2008/06/17/support-for-trackbacks-in-disqus/">Disqus also do trackbacks</a>. But <a rel="nofollow" href="http://en.wikipedia.org/wiki/Trackback">Trackbacks</a> are very spam prone and because of that the community came up with <a rel="nofollow" href="http://en.wikipedia.org/wiki/Pingback">Pingbacks</a> instead. Pingback activated sites does some verification on the incoming links and if all of it checks out it then records it. So what I decided to do was to transform incoming pingbacks, through a proxy, to Disqus trackbacks. I think it’s a nice and simple solution. :)</p>

<h2>webby-pingback gem</h2>

<p>So I created the <a rel="nofollow" href="http://github.com/ba/webby-pingback">webby-pingback</a> gem which consists of two parts.</p>

<ol>
    <li>A pingback client/sender. Using a new meta-data tag with your webby posts and a publish hook you can ping all links in your posts</li>
    <li>A pingback receiver/server. A CGI-script using Rubys built-in XML-RPC-library tries to act according to the <a rel="nofollow" href="http://www.hixie.ch/specs/pingback/pingback">pingback protocol</a> and if all of it checks out OK it then sends a <em>trackback</em> to the Disqus forum of the post.</li>
</ol>

<p>So this is all pretty new and I’m hoping someone else will find this useful as well. I’ve added installation instructions at the <a rel="nofollow" href="http://github.com/ba/webby-pingback">github repository</a> and I hope they are all pretty self explanatory.</p>

<p>If someone have any questions or comments please leave your mark below. :)</p>

<p><em> I’ve since the original publication tried to clean up the language/wordings to try to make it more coherent :)</em></p>

<p><em>Update 2010-02-21: Since the posting of this post I&#8217;ve migrated over to WordPress, while I love the idea with Webby I realized I also wanted to easily make a blogpost even if I were not at my own computer.
</em></p>
<div style="float:right;">
		<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="gaqzi" data-related=":" 
		             data-lang="en">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div> <p><a href="http://sanitarium.se/blog/?flattrss_redirect&amp;id=11&amp;md5=e5f8f5e4428c46ec80cc370a2b0fef04" title="Flattr" target="_blank"><img src="http://sanitarium.se/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=KjFl0vKJcsM:Ro2eosQjYao:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=KjFl0vKJcsM:Ro2eosQjYao:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?i=KjFl0vKJcsM:Ro2eosQjYao:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=KjFl0vKJcsM:Ro2eosQjYao:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?i=KjFl0vKJcsM:Ro2eosQjYao:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=KjFl0vKJcsM:Ro2eosQjYao:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://sanitarium.se/blog/2009/08/webby-with-pingbacks-trackbacks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Very Last Post!</title>
		<link>http://sanitarium.se/blog/2009/08/the-very-last-post/</link>
		<comments>http://sanitarium.se/blog/2009/08/the-very-last-post/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 20:20:05 +0000</pubDate>
		<dc:creator>gaqzi</dc:creator>
				<category><![CDATA[English posts]]></category>

		<guid isPermaLink="false" />
		<description><![CDATA[Welcome to the very last post of this blog, or at least that is if you’re reading it in the reverse chronological order that all posts are listed in. :) Just a starter post, nothing too see here, move along now! Tweet]]></description>
			<content:encoded><![CDATA[<p>Welcome to the very last post of this blog, or at least that is if you’re reading it in the reverse chronological order that all posts are listed in. :)</p>

<p>Just a starter post, nothing too see here, move along now!</p>
<div style="float:right;">
		<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="gaqzi" data-related=":" 
		             data-lang="en">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=IeyHSjGIaBw:Ro2eosQjYao:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=IeyHSjGIaBw:Ro2eosQjYao:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?i=IeyHSjGIaBw:Ro2eosQjYao:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=IeyHSjGIaBw:Ro2eosQjYao:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?i=IeyHSjGIaBw:Ro2eosQjYao:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?a=IeyHSjGIaBw:Ro2eosQjYao:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/CornerOfRamblingsEnglishPosts?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://sanitarium.se/blog/2009/08/the-very-last-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

