<?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>www.vegard.net &#187; How To</title>
	<atom:link href="http://www.vegard.net/archives/tag/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vegard.net</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sat, 04 Feb 2012 20:26:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How To: Connect a Wireless Xbox 360 Controller to Windows 7.</title>
		<link>http://www.vegard.net/archives/4341/</link>
		<comments>http://www.vegard.net/archives/4341/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 19:29:45 +0000</pubDate>
		<dc:creator>Vegard Skjefstad</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Computer Games]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Xbox 360]]></category>

		<guid isPermaLink="false">http://www.vegard.net/?p=4341</guid>
		<description><![CDATA[It&#8217;s Friday night and here&#8217;s very nerdy entry that&#8217;s probably not of interest to any of you, but in case you try to do what I did yesterday it can save you a lot of frustration: How to connect a Wireless Xbox 360 controller to Windows 7 x64 (64-bit) using Designer&#8217;s Xbox 360 2.4GHz Wireless Controller [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s Friday night and here&#8217;s very nerdy entry that&#8217;s probably not of interest to any of you, but in case you try to do what I did yesterday it can save you a lot of frustration: How to connect a Wireless Xbox 360 controller to Windows 7 x64 (64-bit) using <a href="http://www.dealextreme.com/p/designer-s-xbox-360-2-4ghz-wireless-controller-gaming-receiver-for-pc-black-56546" rel="external">Designer&#8217;s Xbox 360 2.4GHz Wireless Controller Gaming Receiver for PC</a>. I bought my unit from <a href="http://www.dealextreme.com/" rel="external">DealExtreme</a>. At USD 10 it&#8217;s a damn bargain. The step-by-step guide below can probably also be used with the 32 bit version of Windows 7 and all other versions that Microsoft has created drivers for, but it&#8217;s only tested on Windows 7 x64.</p>
<ol>
<li>Do not connect the receiver yet.</li>
<li>Download the driver for your operating system from <a href="http://www.microsoft.com/hardware/en-us/d/xbox-360-wireless-controller-for-windows" rel="external">the Microsoft download site</a> (<a href="http://download.microsoft.com/download/6/9/4/69446ACF-E625-4CCF-8F56-58B589934CD3/Xbox360_64Eng.exe" rel="external">direct link to Windows 7 64-bit version</a>).</li>
<li>Install the drivers.</li>
<li>Connect the receiver.</li>
<li>Windows will try to install the drivers for the connected device and fail miserably. But there&#8217;s no need to panic!</li>
<li>Open the start menu, right click on &#8220;Computer&#8221; and click &#8220;Properties&#8221;.</li>
<li>Select &#8220;Device Manager&#8221; from the menu on the left.</li>
<li>You should see an &#8220;Unknown device&#8221; under &#8220;Other devices&#8221; in the device tree.</li>
<li>Right click the &#8220;Unknown device&#8221; and click &#8220;Update Driver Software&#8230;&#8221;.</li>
<li>Select &#8220;Browse my computer for driver software&#8221;.</li>
<li>Select &#8220;Let me pick from a list of devices drivers on my computer&#8221;.</li>
<li>From the list, select &#8220;Microsoft Common Controller for Windows Class&#8221; and click &#8220;Next&#8221;.</li>
<li>From the list, select &#8220;Xbox 360 Controller For Windows Version: 2.1.0.1349 [13.08.2009]&#8221; and click &#8220;Next&#8221;.</li>
<li>Click &#8220;Yes&#8221; when the &#8220;Update Driver Warning&#8221; dialogue box is displayed.</li>
<li>The drivers should be installed successfully. Click &#8220;Close&#8221;.</li>
<li>Turn on your wireless controller by pressing the Xbox button for a couple of seconds.</li>
<li>To sync the controller and the receiver, first hold the little white button the the front of the controller. The green lights on the controller should start to rotate clockwise.</li>
<li>While the lights on the controller rotate, click the button on the receiver connected to your computer.</li>
<li>The controller and the device will sync and the upper left green light on your controller will eventually be the only green light turned on. You can now enjoy console gaming on your Windows 7 computer.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.vegard.net/archives/4341/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Secure WordPress.</title>
		<link>http://www.vegard.net/archives/3733/</link>
		<comments>http://www.vegard.net/archives/3733/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 16:55:17 +0000</pubDate>
		<dc:creator>Vegard Skjefstad</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.vegard.net/?p=3733</guid>
		<description><![CDATA[If you&#8217;ve paid a little attention to tech news lately, you know that there&#8217;s a chance that you have an account somewhere that has been compromised. Maybe at Sony, Sega or StartSSL. That companies with millions and millions of registered users are unable to keep our information safe is rather disturbing. But a major side [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve paid a little attention to tech news lately, you know that there&#8217;s a chance that you have an account somewhere that has been compromised. Maybe at <a href="http://www.google.com/search?q=sony+hacked&#038;tbm=nws" rel="external">Sony</a>, <a href="http://www.google.com/search?q=sega+hacked&#038;tbm=nws" rel="external">Sega</a> or <a href="http://www.google.com/search?q=startssl+hacked" rel="external">StartSSL</a>.</p>
<p>That companies with millions and millions of registered users are unable to keep our information safe is rather disturbing. But a major side effect of one compromised account is that there is a good chance you&#8217;ve used the same username and password for a lot of other services as well. Someone gets their hand on your login information at Sony and they automatically gets access to your other accounts: Facebook, Flickr, Dropbox and PayPal. Crap!</p>
<p>One solution is to use a unique username and password on every site. But can be very inconvenient as the number of accounts increases. Another solution is to use <a href="http://en.wikipedia.org/wiki/Two-factor_authentication" rel="external">two-factor authentication</a>.<span id="more-3733"></span></p>
<p>One way to implement two-factor authentication is to require that the user has access to a token that only the end user has access to. An example of this is a credit card with a PIN code. You need both to get money out of an ATM, with only one of them you can&#8217;t. Another way is to use a password together with a one-time code provided by a token. This is supported by WordPress, and it is a great way to secure your account.  Here&#8217;s how you do it.</p>
<ol>
<li>Install <a href="http://www.google.com/support/a/bin/answer.py?answer=1037451" rel="external">Google Authenticator</a> on your phone (Android version 1.5 or later, BlackBerry OS 4.2 &#8211; 4.7, iPhone iOS 4 or later)</li>
<li>Install and activate the <a href="http://wordpress.org/extend/plugins/google-authenticator/" rel="external">Google Authenticator</a> WordPress plugin.</li>
<li>In WordPress, go to the users configuration, enable Google Authenticator login for your user and follow the instructions.</li>
</ol>
<p>Easy as pie. Now anyone who wants to access your account need your username, your password and the one-time code. It&#8217;s <em>very</em> hard for them to get their hands on all three.</p>
<p>The flip side of things is that if you misplace your mobile phone you are screwed and will be unable to log in to your account. If you run your own WordPress installation, this can be resolved. You can dig down in the wp_usermeta table in the database, find the googleauthenticator_enabled setting and change its value to disabled. This SQL statement should enable you to log in again without using the Google Authenticator code. Replace XXX with your own user_id:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">UPDATE</span> wp_usermeta 
<span style="color: #993333; font-weight: bold;">SET</span> meta_value <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'disabled'</span> 
<span style="color: #993333; font-weight: bold;">WHERE</span> user_id <span style="color: #66cc66;">=</span> XXX <span style="color: #993333; font-weight: bold;">AND</span> meta_key <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'googleauthenticator_enabled'</span></pre></div></div>

<p>The Google Authenticator field will be visible during login, but you don&#8217;t have to enter anything.</p>
<p><strike>Another unfortunate side effect is that you can&#8217;t use the WordPress for Android application because it doesn&#8217;t support two-factor authentication.</strike> Since this entry was written, the author has added support for the WordPress for Android application.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vegard.net/archives/3733/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Make Gingerbread Dough.</title>
		<link>http://www.vegard.net/archives/3154/</link>
		<comments>http://www.vegard.net/archives/3154/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 20:02:26 +0000</pubDate>
		<dc:creator>Vegard Skjefstad</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Food]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.vegard.net/?p=3154</guid>
		<description><![CDATA[Tomorrow&#8217;s the annual Gingerbread bonanza and here&#8217;s the secret recipe if you want to make some gingerbread men and reindeer yourself. The dough will be just big enough for making citizens for a small gingerbread village. If you want housing as well, you&#8217;ll need more dough. 3 dl (10 oz) brown sugar 3 dl (10 [...]]]></description>
			<content:encoded><![CDATA[<p>Tomorrow&#8217;s the annual Gingerbread bonanza and here&#8217;s the secret recipe if you want to make some gingerbread men and reindeer yourself. The dough will be just big enough for making citizens for a small gingerbread village. If you want housing as well, you&#8217;ll need more dough.</p>
<ul>
<li> 3 dl (10 oz) brown sugar</li>
<li>3 dl (10 oz) light syrup</li>
<li>1 ts minced ginger</li>
<li>5 ts minced cinnamon</li>
<li>3 ts minced cloves</li>
<li>2 ts minced cardamom</li>
<li>2 ts baking soda</li>
<li>300 g (10,5 ounces) margarine</li>
<li>2 eggs</li>
<li>1 kg (2,2 pounds) flour</li>
</ul>
<p>And here&#8217;s what you do with all those ingredients.<span id="more-3154"></span></p>
<ol>
<li>Heat the sugar and syrup until the sugar has melted, but make sure it doesn&#8217;t boil.</li>
<li>Mix the spices and the baking soda in the sugar &amp; syrup mix.</li>
<li>Melt the margarine and add it to the same mix.</li>
<li> Whip the eggs and add them to the mix as well.</li>
<li>Now add flour in portions &#8211; not everything at once!</li>
<li>When all the flour is mixed well with the rest, leave the dough over night in the fridge, covered with a moist cloth.</li>
<li>When you eventually roll the dough, make sure you make it quite thin, but you probably will have to adapt it a little to your oven.</li>
<li>Poke the dough the tiny men a little with a fork before you put them in the oven.</li>
<li>The oven should be at 200 degrees Celsius (392 degrees Fahrenheit) and after about 12 minutes, your gingerbread men should be just right. Make sure to keep an eye on the first batch to make sure they don&#8217;t get burned.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.vegard.net/archives/3154/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To set up a LAMP Server on Ubuntu 9.10.</title>
		<link>http://www.vegard.net/archives/2328/</link>
		<comments>http://www.vegard.net/archives/2328/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 18:14:51 +0000</pubDate>
		<dc:creator>Vegard Skjefstad</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.vegard.net/?p=2328</guid>
		<description><![CDATA[A LAMP server is the basis for many web servers. It&#8217;s got nothing to do with the lighting around the server, LAMP stands for Linux, Apache, MySQL and PHP. If you&#8217;re reading this, I assume that you&#8217;ve already managed to install a Linux distribution on your server and that the distribution you have installed is [...]]]></description>
			<content:encoded><![CDATA[<p>A LAMP server is the basis for many web servers. It&#8217;s got nothing to do with the lighting around the server, LAMP stands for Linux, Apache, MySQL and PHP. If you&#8217;re reading this, I assume that you&#8217;ve already managed to install a Linux distribution on your server and that the distribution you have installed is Ubuntu 9.10. This guide will most likely be able to help you through the process of setting up a LAMP server on other versions of Ubuntu as well as Debian, but certain package names and configurations might differ.</p>
<p>With Ubuntu 9.10 it became even easier to set up LAMP, and it might be possible that you did it already when installing Ubuntu. This guide assumes that you have a clean installation of Ubuntu, without Apache, MySQL and PHP, but if you already have one or more of them installed, you can still go through all the steps because you won&#8217;t break anything doing so. Now, let&#8217;s get started (I assume that you are now logged in to the server you are planning to set up).<span id="more-2328"></span></p>
<p>First, let&#8217;s make sure that our local package repository lists are up to date. You might get prompted for you sudo password the first time you run the sudo command. This is normally the password you used to log in to your account on the server.</p>
<pre>$ sudo apt-get update</pre>
<p>The next step is to install the A and the P in LAMP, Apache2 and PHP5. We only tell apt to install the PHP5 module for Apache2, but due to dependency control, apt will automatically install and configure both Apache2 and PHP5 for us as well.</p>
<pre>$ sudo apt-get install libapache2-mod-php5</pre>
<p>Then we install the M in LAMP, MySQL5. </p>
<pre>$ sudo apt-get install mysql-server mysql-client php5-mysql</pre>
<p>During the installation, you will be prompted to enter a password for the root user. It&#8217;s not recommended to leave it blank, so enter password you will remember. MySQL support for PHP5 will also be installed.</p>
<p>The MySQL administration web interface <a href="http://www.phpmyadmin.net/" rel="external">phpmyadmin</a> is not part of the classic LAMP setup, but it&#8217;s extremely convenient, so we&#8217;ll install that as well.</p>
<pre>$ sudo apt-get install phpmyadmin</pre>
<p>If prompted for automatic configuration of a web server during the installation, select Apache2 from the lists. You also want to configure phpmyadmin with dbconfig-common, so select &#8220;Yes&#8221; when prompted. On the first screen in the dbconfig-common installation wizard, enter the root password you chose when installing MySQL5. Then you have to set a password for the phpmyadmin user, as with the MySQL5 root password, you should not leave this blank.</p>
<p>And that&#8217;s it for the LAMP installation. You should now have a server with a web server, Apache2, a database server, MySQL5, and a great scripting language, PHP5. This means that you can for instance use the server for your own <a href="http://www.wordpress.org/" rel="external">WordPress</a> installation. This guide, however, does not cover setting up WordPress. Please refer to the WordPress site for detailed instructions on how to download, install and configure WordPress.</p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vegard.net/archives/2328/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Build a Silent Mini-ITX server.</title>
		<link>http://www.vegard.net/archives/2324/</link>
		<comments>http://www.vegard.net/archives/2324/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 21:07:30 +0000</pubDate>
		<dc:creator>Vegard Skjefstad</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.vegard.net/?p=2324</guid>
		<description><![CDATA[After I moved this site to my own, home grown Mini-ITX server, I realized that I needed a new one. The current server didn&#8217;t have the horsepower to cope with the odd request peaks I was seeing and with only half of the 1GB of available RAM being recognized by the motherboard, I had a [...]]]></description>
			<content:encoded><![CDATA[<p>After I moved this site to my own, home grown Mini-ITX server, I realized that I needed a new one. The current server didn&#8217;t have the horsepower to cope with the odd request peaks I was seeing and with only half of the 1GB of available RAM being recognized by the motherboard, I had a major problem. Even though the VIA CPU featured passive cooling, the chassis fan made a lot of noise and while disabling the fan didn&#8217;t make the server too hot, it just unveiled the fact that the hard drives were quite noisy as well.</p>
<p>So I set off on a quest to find the ultimate Mini-ITX for a home server for my web server and mail server. The server had to be both powerful and silent, meaning no noisy power supply, no CPU fans and no clicking hard drives. The only real way to achieve this is by building a server with no moving parts at all. I also wanted to use a enclosure that looked nice enough to have in the living room. After a lot of research I ended up with the following hardware:</p>
<ul>
<li><a href="http://www.silverstonetek.com/products/p_spec.php?pno=lc19&amp;area=usa">SilverStone Mini-ITX SST-LC19R</a> black.</li>
<li><a href="http://www.corsair.com/">Corsair</a> 4GB DDR2 XMS2 PC6400 800MHz.</li>
<li>Samsung DVD±R/RW/RAM slim DL 8X SATA black.</li>
<li><a href="http://pden.zotac.com/index.php?page=shop.product_details&#038;flypage=flypage_images.tpl&#038;product_id=185&#038;category_id=97&#038;option=com_virtuemart&#038;Itemid=1">ZOTAC ION ITX F</a> series motherboard. This motherboard has since been replaced by an <a href="/archives/2931/">ASUS AT5IONT-I</a>.</li>
<li>Two <a href="http://www.kingston.com/ukroot/ssd/v_Series.asp">Kingston V Drive notebook 64GB SSD SATA/300</a>.</li>
</ul>
<p><span id="more-2324"></span><br />
If you decide to build a server with the same hardware as me, there are a few things your should be aware of when it comes to the ZOTAC ION ITX F motherboard, SilverStone LC19R case, Kingston V SSD hard drives and Samsung slim SATA DVD drive:</p>
<ul>
<li>The Serial ATA (SATA) cables that come with the ZOTAC motherboard are all angled. This means that you will not be able to use them unless you either attach your hard drives upside down (not possible with the Kingston V SSD hard drives) or get rising brackets or something similar. You have to buy new SATA cables that are not angled.</li>
<li>The screws provided with the ZOTAC motherboard are too large to attach the Kingston V SSD hard drives. There are no screws provided with the hard drives,  so you have to get some smaller screws yourself.</li>
<li>The USB cable for the internal card reader in the SilverStone case is too short and you will not be able to attach it to the ZOTAC motherboard. This means that you either have to buy an extension cable or consider buying the SilverStone LC19 instead, which comes without an internal card reader. I will not use the card reader in my box, so this is not a loss for me. The reason why I bought the LC19R was that the LC19 was unavailable.</li>
<li>The SilverStone case comes with front connectors for IEEE 1394 FireWire, audio in and audio out. This is great, but there are no internal connectors on the ZOTAC motherboard for any of these, meaning that they cannot be used.</li>
<li>That said, you will be able to use the two front panel USB connectors as that cable is long enough to reach the ZOTAC motherboard and it even has 2 internal connectors for USB (only 1 used used for the front panel USB connectors).</li>
<li>No cables are provided for the Samsung slim SATA DVD drive. You have to buy a cable that fits to a slim SATA power and data connector, which, for some reason is not the same connectors used for SATA hard drives.</li>
<li>You should also remember to buy a network cable. Even if the ZOTAC motherboard comes with an internal wireless LAN card, I will be using a good old network cable to connect to a network switch in my apartment. Because of this I don&#8217;t know if the wireless LAN card works or not in Ubuntu 9.10. This probably won&#8217;t be a problem if you&#8217;re using Windows, though.</li>
<li>The ZOTAC motherboard comes with an Intel Atom 330 CPU with passive cooling. You should be aware of the fact that the CPU <em>will </em>overheat when the motherboard is inside the SilverStone case, even when the CPU is idling. This was a major disappointment for me, since the CPU had to be cooled down with a fan. To top it off, the CPU fan provided with ZOTAC motherboard is too large to fit in the SilverStone case. Thankfully you can move the case exhaust fan and attach it to the case by the CPU heat sink instead. This solved the overheating problem. If you want to use another fan, note that you can only fit 50x50mm fans inside the SilverStone LC19R case. A 3-pin connector is required to attach the fan connector to the ZOTAC motherboard.</li>
<li>Since you are pretty much screwed if the CPU fan breaks down, it&#8217;s highly recommended that you buy a spare 50x50mm fan with a 3-pin connector just in case.</li>
</ul>
<p>As you can see, there are quite a few gotchas when it comes to the hardware. I could probably have done a lot better research before I placed the hardware order, but it was hard to find information like this online. Even though none of the gotchas are critical, it&#8217;s rather annoying that most of the SilverStone LC19 front panel connectors can&#8217;t be used with the ZOTAC motherboard and that the Atom CPU didn&#8217;t stay cool enough with just passive cooling. When everything that can be attached and connected are actually attached and connected, the SilverStone case looks quite nice in my Hi-Fi rack.</p>
<p>So this is the reason why there hasn&#8217;t been any new entries this week, my spare time has been used to build the server and set up the necessary software. With a little luck, the server will be up and running tomorrow evening.</p>
<p>Update: As requested in the comments, here are some pictures of the box.</p>
<p><a href="http://www.vegard.net/wp-content/uploads/2010/01/IMAG0046.jpg"><img src="http://www.vegard.net/wp-content/uploads/2010/01/IMAG0046-500x299.jpg" alt="" title="SilverStone SST-LC19R Mini-ITX" width="500" height="299" class="aligncenter size-medium wp-image-2849" /></a></p>
<p><a href="http://www.vegard.net/wp-content/uploads/2010/01/IMAG0047.jpg"><img src="http://www.vegard.net/wp-content/uploads/2010/01/IMAG0047-500x299.jpg" alt="" title="SilverStone SST-SL19R Mini-ITX" width="500" height="299" class="aligncenter size-medium wp-image-2850" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vegard.net/archives/2324/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to Cure a Hangover.</title>
		<link>http://www.vegard.net/archives/2307/</link>
		<comments>http://www.vegard.net/archives/2307/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 19:02:22 +0000</pubDate>
		<dc:creator>Vegard Skjefstad</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.vegard.net/?p=2307</guid>
		<description><![CDATA[Yesterday I was at the annual smalahove dinner that Ola organizes. And kudos to him for going through all the hard work of organizing the dinner every year for what is probably the most ungrateful pack of dinner guests you can imagine. Half of a sheep&#8217;s severed head is not the most appetite-provoking sight and [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I was at the annual <a href="http://en.wikipedia.org/wiki/Smalahove" rel="external">smalahove</a> dinner that Ola organizes. And kudos to him for going through all the hard work of organizing the dinner every year for what is probably the most ungrateful pack of dinner guests you can imagine. Half of a sheep&#8217;s severed head is not the most appetite-provoking sight and as a result we&#8217;re not really giving the impression that we&#8217;re looking forward to sitting down by the dinner table.</p>
<p>But of course, it&#8217;s not that bad. There is not much meat on the head, but the meat you find &#8211; like the chin and a small treasure behind the ear &#8211; taste great. If you want to go wild, you can also eat stuff like the parts of the eyes and tongue. Personally, I take rain checks on both. One method we use to make the head look like something we want to dig into is to combine the dinner with massive amounts hard liquor, especially <a href="http://en.wikipedia.org/wiki/Akvavit" rel="external">aquavit</a>. As you can imagine, this usually results in a massive hangover as well.<span id="more-2307"></span></p>
<p>I stumbled across <a href="http://www.dagbladet.no/2009/11/27/tema/klikk/mat/9970729/" rel="external">an article</a> on a Norwegian news site today describing various types of food that can potentially help cure a hangover. I just wish I had read the article on Friday, so I would have had time to stockpile the recommendations. The author of the article had used <a href="http://health.howstuffworks.com/hangover6.htm" rel="external">another article</a> as his source, and since hangovers really suck monkey balls, I thought I&#8217;d write a summary of both articles here just to make the information even easier to find.</p>
<p>There are four types of food and liquid you should have available the day after a night out:</p>
<ul>
<li>Eggs</li>
<li>Bananas</li>
<li>Water</li>
<li>Fruit juice</li>
</ul>
<h4>Eggs</h4>
<p>Eating eggs the morning after provides energy like any other food, which is the primary benefit. But eggs do also contain large amounts of cysteine, the substance that breaks down the hangover-causing toxin acetaldehyde in the liver&#8217;s easily depleted glutathione. Therefore, eggs can potentially help mop up the left-over toxins.</p>
<h4>Bananas</h4>
<p>Eating bananas the morning after a night of heavy drinking provides lost electrolytes like any food would, but it also specifically replenishes the potassium lost to alcohol&#8217;s diuretic effect. Other potassium-rich foods such as kiwi fruit or sports drinks work just as well.</p>
<h4>Water</h4>
<p>Replenishing the body&#8217;s water supply after a night of drinking combats dehydration, and it also helps dilute the leftover byproducts in the stomach. Adding salt and sugar to water helps replace the sodium and glycogen lost the night before. Non-caffeinated, non-carbonated sports drinks can achieve the same effect.</p>
<h4>Fruit juice</h4>
<p>The fructose &#8211; fruit sugar &#8211; in fruit juice helps to naturally increase the body&#8217;s energy. Studies have proven that it also increases the rate at which the body gets rid of toxins such as those left over from alcohol metabolism. Fruit juice is also a good idea the morning after because it&#8217;s high in vitamins and nutrients that were depleted the night before because of alcohol&#8217;s diuretic effect. Vitamin supplements high in vitamins C and B are also effective.</p>
<p>This means that the ultimate hangover-preventing breakfast would consist of</p>
<ul>
<li>A large omelet</li>
<li>Lots of water with added salt and sugar</li>
<li>A banana smoothie</li>
<li>Fruit juice</li>
</ul>
<p>Good luck! For me, this information came too late this time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vegard.net/archives/2307/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

