<?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>jesperrasmussen.com &#187; Featured</title>
	<atom:link href="http://jesperrasmussen.com/category/featured/feed" rel="self" type="application/rss+xml" />
	<link>http://jesperrasmussen.com</link>
	<description>confessions of yet another Mac-geek</description>
	<lastBuildDate>Thu, 06 Oct 2011 08:44:12 +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>Enjoying your media in the living room</title>
		<link>http://jesperrasmussen.com/enjoying-your-media-in-the-living-room</link>
		<comments>http://jesperrasmussen.com/enjoying-your-media-in-the-living-room#comments</comments>
		<pubDate>Mon, 22 Mar 2010 15:58:45 +0000</pubDate>
		<dc:creator>Jesper</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Movies]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://jesperrasmussen.com/?p=124</guid>
		<description><![CDATA[Back in the day, I used to have an old Xbox v1. It was modded to enable it to run Xbox Media Center, the best mediasolution I&#8217;ve ever seen. It played EVERYTHING I threw at it, no questions asked. However, when my old standard-definition TV was dying, I wanted to upgrade to a new, shiny [...]]]></description>
			<content:encoded><![CDATA[<p>Back in the day, I used to have an old Xbox v1. It was modded to enable it to run <a href="http://xbmc.org">Xbox Media Center</a>, the best mediasolution I&#8217;ve ever seen. It played EVERYTHING I threw at it, no questions asked.</p>
<p>However, when my old standard-definition TV was dying, I wanted to upgrade to a new, shiny LCD TV, and so I did. Back then, it didn&#8217;t matter as much, as HD content really wasn&#8217;t that popular yet, and the display of SD content on the TV was rather acceptable.</p>
<p>Now, some years later, I recently had a small batch of money, and therefore decided to retire the, now old, LG 32&#8243; TV, and get a brand-sparkling-new 47&#8243; LED version instead. Now doing that was one thing, but I really wanted to upgrade my mediacenter as well. My initial thought, being the Apple-fanboy that I am, was to get a Mac Mini, and hack that like a madman. However, I knew that the advancements within &#8220;nettops&#8221; (Small desktop computers based on the lowpower netbook cpu&#8217;s) meant that you could get a similar sized PC at half the price of the Mini (And using less power too, something quite important in these global warming times ;) ).<span id="more-124"></span></p>
<p>Anyway, these were the primary requirements for my new system:</p>
<p>Should be able to handle most formats<br />
Should be able to handle full-HD playback<br />
Should be able to stream from the NAS in the home office without lag<br />
Should be easy to manage</p>
<p>So, I ended up getting a <a href="http://www.asrock.com/nettop/overview.asp?Model=ION%20330HT">AsRock ION 330HT</a> , a model very popular among XBMC fans. It&#8217;s small, uses the Nvidia ION platform (capable of running full-HD without straining the CPU), has HDMI out, has eSATA, 6 USB ports and even a VGA port if you&#8217;re using an old screen for the initial setup. Oh, and it has built-in IR-receiver and a remote to go along with it, so you don&#8217;t need an external (read: Ugly) receiver!</p>
<p>There&#8217;s a lot of different setups outthere, and other producers are becoming as popular as the AsRock. Shuttle has new models coming out at the moment, Acer etc. are also in the race for the living room with smaller, more friendly devices (No more large PC enclosures in the living room, along with fan noise, woohoo!), so better alternatives might already be available. I just suggest having a look at the <a href="http://forum.xbmc.org">XBMC Forum</a> before buying anything.</p>
<h3>The initial setup</h3>
<p>This took me some trial and error, but it will be worth it in the end, as the final system works excellently. Don&#8217;t expect everything to work after 5 mins. though, so if you have no patience, or dislike reading and/or troubleshooting, doing this setup may not be for you.</p>
<p>Anyway: First up, get a minimal version of Ubuntu 32 or 64 bit. <a href="https://help.ubuntu.com/community/Installation/MinimalCD">https://help.ubuntu.com/community/Installation/MinimalCD</a> should provide you with download links. You&#8217;d want Karmic Koala, as that&#8217;s suggested as the most stable atm, when running XBMC. To not have to use a CD for the minimal install (It&#8217;s only 12MB), I use <a href="http://unetbootin.sourceforge.net/">UNetbootin</a> to create a bootable USB drive.</p>
<p>Now boot the machine from the USB key, and run through the Ubuntu install. You&#8217;d probably want to partition your main drive with one of the default setups, that create 3 partitions (root, home and swap). This is an advantage, as it allows you to store all your media within /home and not have it deleted if/when you reinstall your HTPC.<br />
Furthermore, when the installer asks you to select packages to install, you&#8217;d want to select the &#8220;Basic Ubuntu Server&#8221; and &#8220;OpenSSH Server&#8221;, to install only the basics, and allow for SSH access to the machine later on (Makes maintenance somewhat easier when the machine is finally located below your TV).<br />
Finally, create a user named &#8220;xbmc&#8221;. This user will run the actual software, own all the mediafiles etc.</p>
<h3>Installing the basics</h3>
<p>Assuming you&#8217;ve finished the Ubuntu setup, log on as root (using the password you setup in the initial install), and do the following:</p>
<p>[shell]visudo[/shell]</p>
<p>Now after the line containing &#8220;root&#8221;, add the following:</p>
<p>[shell]xbmc    ALL=(ALL) ALL[/shell]</p>
<p>This allows the xbmc user to use the sudo command for all commands. Now logout of the root account, and log in as xbmc. Here&#8217;s the fun part: A couple of XBMC users has decided to gather all of the guides, howtos etc. in one simple installer, that simply allows you to run their installer instead of having to install XBMC, graphic drivers etc. manually.</p>
<p>I use this to setup my AsRock box, as it&#8217;s able to fix graphic drivers and HD acceleration, setup my remote, setup audio over HDMI, setup XBMC and make everything boot up when starting the machine, without having to manually change anything. Simply put, when the basic system is installed and this script is run, XBMC should just be ready to take on everything you throw at it.</p>
<p>Anyway, to run the installer, type the following as the xbmc user:</p>
<p>[shell]wget http://sourceforge.net/projects/xci/files/Release/xci.sh/download<br />
chmod +x xci.sh; sudo ./xci.sh[/shell]</p>
<p>And follow the onscreen instructions, to install XBMC stable and whatever you may need. Now you should be done! To get mediafiles onto your new mediacenter, try SFTP&#8217;ing a couple of files over to test. In the longer run you may want to setup Samba shares or setup NFS on the machine, to make it easier, but that&#8217;s a story for another day ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://jesperrasmussen.com/enjoying-your-media-in-the-living-room/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Switching bash with zsh</title>
		<link>http://jesperrasmussen.com/switching-bash-with-zsh</link>
		<comments>http://jesperrasmussen.com/switching-bash-with-zsh#comments</comments>
		<pubDate>Tue, 03 Mar 2009 21:30:25 +0000</pubDate>
		<dc:creator>Jesper</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[shells]]></category>
		<category><![CDATA[zsh]]></category>

		<guid isPermaLink="false">http://jesperrasmussen.com/?p=4</guid>
		<description><![CDATA[I&#8217;ve been running OS X since the beginning back in 2001. During that time, the system have gone through a lot of changes, and while some has improved a lot of visual effects, and have a great impact on the way we perceive our tasks at hand, some are more invisible, but also have a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been running OS X since the beginning back in 2001. During that time, the system have gone through a lot of changes, and while some has improved a lot of visual effects, and have a great impact on the way we perceive our tasks at hand, some are more invisible, but also have a large effect on the way we work.</p>
<p>I usually spend 20-30% of my day in Terminal, doing administrative tasks, ssh&#8217;ing to the servers I use for development and for my work, watching logs, debugging etc. This might not be typical behaviour for an OS X user (Which is good, as I think Terminal should be an addition for those who wants the power of it, and not a necessity for &#8220;regular&#8221; users) , but I find working directly with Terminal to improve my workflow when it comes to the previously mentioned tasks.</p>
<p>As some Mac-users will know, OS X currently comes with bash as the standard shell. Even though bash is often perceived as one of the best shells available in the Unix-community, quite a lot of other shells exist, all with different features, and approaches to shell-work. A couple of years ago I decided to try out Z Shell, also known as zsh, and I&#8217;ve never regretted this.<span id="more-4"></span></p>
<h3>Why run zsh ?</h3>
<p>To begin with, it&#8217;s not even a big deal switching or trying zsh out. If you are currently using bash, you&#8217;ll feel right at home. Zsh uses a lot of the same shortcuts, has support for most of the features bash uses, and this means the only thing you&#8217;ll actually notice, is how the extra features just make things easier. Some of the key features for zsh are:</p>
<ul>
<li>Nice autocompletion for commands, aliases etc. Zsh allows you to tab through completions if there are multiple possibilities, showing possible completions in a nice grid, browsable even by arrow keys, to make it simple and fast to find exactly the completion you want.</li>
<li>Autocompletion for remote files. If you are using scp to transfer a file to a remote server, zsh will figure out what you are doing, so if you try to autocomplete while typing the remote part, it will try to connect via ssh and actually perform autocompletion on the remote side.</li>
<li>Functions in addition to aliases. It&#8217;s possible to create entire routines as zsh functions with arguments, allowing for complex functionality for running multiple commands in succession easily.</li>
<li>Share history across sessions. When running multiple instances of zsh at the same time, the instances are able to share a common history, rather than being limited to only each its own. One of the most frustrating things to a bash user is typing in a long command, then searching for it again the next day via Ctrl+r, only to find it nowhere in the history.</li>
</ul>
<h3>Ok, so how do I change my shell to zsh ?</h3>
<p>Enabling zsh in OS X Leopard is really easy. Previously, you had to install zsh from <a href="http://www.macports.org/">MacPorts</a>, but in Leopard it&#8217;s part of the base install, and as such is easily accessed. try writing &#8220;zsh&#8221; in your bash, and bang! You&#8217;re running zsh! To set zsh as your default shell in OS X, and make it run every time you start Terminal, load up Terminal&#8217;s settings, and set your default theme to run the command &#8220;zsh&#8221; on startup.</p>
<p><img class="alignnone" title="ZSH Setup on OS X" src="http://jesperrasmussen.com/uploads/zsh-setup.jpg" alt="" width="670" height="535" /></p>
<p>To change it in older OS X versions, you should be able to use the chsh command. But there are <a href="http://osxdaily.com/2007/02/27/how-to-change-from-bash-to-tcsh-shell/">other suggestions</a> as well.</p>
<h3>But, but, it&#8217;s not working like you promised ?</h3>
<p>You&#8217;ll need a .zshrc file to take full advantage of zsh. The .zshrc is zsh&#8217;s configuration file, and will setup most of the features I&#8217;ve mentioned earlier. There&#8217;s a couple of ways of getting hold of a .zshrc. You could google for it, and you&#8217;ll find a bunch of examples. Another way is to take a look at <a href="http://jesperrasmussen.com/uploads/dummy-.zshrc">my sample file</a> . This is not an exact copy of my running .zshrc, but it has a bunch of the most common setups.</p>
<p>To make it work, you have to save the file as .zshrc in your home directory.</p>
<p>Be aware that zsh holds a bunch of more features than I&#8217;ve talked about here, and there&#8217;s much to explore.  Feel free to use my sample file as a starting point, and do change it anyway you&#8217;d like. If you find any other useful features in zsh, please let me know, and I&#8217;ll make some notes about it here.</p>
<h3>Further reading</h3>
<p>If you want to know more about the glorious world of zsh, try checking out the <a href="http://zsh.sourceforge.net/">official zsh website</a>, containing documentation, the manual as well as some pointers to getting started with scripting in zsh.</p>
<p><a href="http://zsh.sourceforge.net/">Zsh homepage</a></p>
<p><a href="http://jesperrasmussen.com/uploads/dummy-.zshrc">My sample .zshrc</a></p>
<p><a href="http://zshwiki.org/">Zsh Wiki</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jesperrasmussen.com/switching-bash-with-zsh/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Welcome</title>
		<link>http://jesperrasmussen.com/welcome</link>
		<comments>http://jesperrasmussen.com/welcome#comments</comments>
		<pubDate>Sun, 22 Feb 2009 10:25:20 +0000</pubDate>
		<dc:creator>Jesper</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[welcome]]></category>

		<guid isPermaLink="false">http://jesperrasmussen.com/?p=3</guid>
		<description><![CDATA[Welcome to the very first post on jesperrasmussen.com. I&#8217;m very excited about this, and I hope in time you&#8217;ll be too. To start off, I&#8217;ll explain a bit about the sites purpose and history: Back in 1999, I purchased my very first domain. It was called highonpixels.dk , and acted as my personal playground at [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to the very first post on <a href="http://www.jesperrasmussen.com">jesperrasmussen.com</a>. I&#8217;m very excited about this, and I hope in time you&#8217;ll be too. To start off, I&#8217;ll explain a bit about the sites purpose and history:</p>
<p>Back in 1999, I purchased my very first domain. It was called highonpixels.dk , and acted as my personal playground at the time. During the first couple of years, I focused a lot on webdesign and usability, and the website was my first adventures into creating webpages. Alot has happened since then, I&#8217;ve matured, gotten a couple of different jobs, and over the years my website faded into the background.</p>
<p>I rarely had the time to update the site, my friends started poking me for more content and new layouts etc., but in the end I just didn&#8217;t have the drive for updating a website anymore. Working as a webdeveloper on a fulltime-basis for clients will do that to you, trust me ;)<span id="more-3"></span></p>
<p>So what changed ? Well, during the last year or so, I&#8217;ve regained a lot of the enthusiasm regarding the web, and the technologies surrounding it. Another thing that has happened, is that I just recently acquired this domain. For the last couple of years it&#8217;s been occupied by another danish guy with the same name, and I&#8217;ve tried to capture it a couple of times without success. However, in December 2008, magic happened. The domain was released, and I put a couple of hosting-companies on the case of capturing it for me, which happened around Christmas (yay, best christmaspresent for myself ever!).</p>
<p>One of the things I&#8217;ve had a lot of advantages from online, has been technical guides. Everything from setting up virtualhosts on a Mac, over learning BASH-scripting to hacking my Xbox to allow it to be a multimedia-player. All of these experiences has helped me a lot, but sometimes I see myself googling for the same themes over and over again. And everytime I need a guide I have to find it again, and hope the site I&#8217;m looking for is still available. Initially I thought about running my own Wiki for the guides that I need, but I figure someone else could probably benefit from my mistakes and experiences.</p>
<p>So I&#8217;ve decided to launch a blog-like site with those exact subjects. The site will contain guides for most of everything I come into contact with. Expect guides involving Linux/Unix/Mac maintenance, Javascript, MySQL, PHP architecture and development patterns, as well as my personal thoughts, ideas and tips.</p>
<p>Anyway, welcome once more, I will try to make your stay as pleasant as possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://jesperrasmussen.com/welcome/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

