<?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>Conor's Blog &#187; Linux</title>
	<atom:link href="http://blog.macaoidh.name/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.macaoidh.name</link>
	<description>PHP, Music, Linux</description>
	<lastBuildDate>Mon, 05 Jul 2010 13:25:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>OS X VIM Syntax Highlighting</title>
		<link>http://blog.macaoidh.name/2010/06/12/os-x-vim-syntax-highlighting/</link>
		<comments>http://blog.macaoidh.name/2010/06/12/os-x-vim-syntax-highlighting/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 09:21:43 +0000</pubDate>
		<dc:creator>Conor</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[preferences]]></category>
		<category><![CDATA[settings]]></category>
		<category><![CDATA[Syntax Highlighting]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[vim highlighting]]></category>

		<guid isPermaLink="false">http://blog.macaoidh.name/?p=303</guid>
		<description><![CDATA[Syntax highlighting isn&#8217;t enabled by default on OS X, though it&#8217;s easy enough to set it up, and a few other small enhancments at the same it. Start by executing this command: cd /usr/share/vim &#38;&#38; sudo vim vimrc After entering your password press i to enter insertion mode and add the following lines after the [...]]]></description>
			<content:encoded><![CDATA[<p>Syntax highlighting isn&#8217;t enabled by default on OS X, though it&#8217;s easy enough to set it up, and a few other small enhancments at the same it.</p>
<p>Start by executing this command:</p>
<pre class="brush:bash">cd /usr/share/vim &amp;&amp; sudo vim vimrc</pre>
<p>After entering your password press <strong>i</strong> to enter insertion mode and add the following lines after the line set backspace=2:</p>
<pre class="brush:bash">
set showmatch           " automatically show matching brackets
set binary noeol        " do NOT put a carriage return at the end of the last line
set backspace=indent,eol,start  " make that backspace key work the way it should
set history=100         " keep 100 lines of history
set ruler               " show the cursor position
syntax on               " syntax highlighting
set hlsearch            " highlight the last searched term
filetype plugin on      " use the file type plugins

" When editing a file, always jump to the last cursor position
autocmd BufReadPost *
\ if ! exists("g:leave_my_cursor_position_alone") |
\ if line("'\"") > 0 &#038;&#038; line ("'\"") < = line("$") |
\ exe "normal g'\"" |
\ endif |
\ endif</pre>
<p>The lines above add syntax highlighting and a few other useful things. The line <code>set binary noeol</code> is very important for web developers. For example if you are programming in PHP and you leave a space outside the closing <code>?></code> it will cause http headers to be needlessly sent. That line prevents that from happening.</p>
<p>Well that's it if you press <strong>ESC</strong> then type <strong>:wq</strong> you will return to the terminal. Try editing some files again and the highlighting should be enabled.</p>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.macaoidh.name/2010/06/12/os-x-vim-syntax-highlighting/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Mac OS X &#8211; VIM Templates</title>
		<link>http://blog.macaoidh.name/2009/12/24/mac-os-x-vim-templates/</link>
		<comments>http://blog.macaoidh.name/2009/12/24/mac-os-x-vim-templates/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 22:18:41 +0000</pubDate>
		<dc:creator>Conor</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[templating system]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[with vim]]></category>

		<guid isPermaLink="false">http://blog.macaoidh.name/?p=288</guid>
		<description><![CDATA[I have always wondered if it was possible to use a template system with VIM. Whenever I used large editors it was usually because of the default template schemes they allow. I have always preferred using VIM because it&#8217;s so practical, and it&#8217;s useful to be able to execute commands in-between editing files. Well anyway [...]]]></description>
			<content:encoded><![CDATA[<p>I have always wondered if it was possible to use a template system with VIM. Whenever I used large editors it was usually because of the default template schemes they allow. I have always preferred using VIM because it&#8217;s so practical, and it&#8217;s useful to be able to execute commands in-between editing files.</p>
<p>Well anyway here are a few commands to configure a vim template system on UNIX (It should work on both OSX and Linux):</p>
<ul>
<li>Download the template system:
<pre class="brush: bash">curl -C - -O http://www.vim.org/scripts/download_script.php?src_id=3747</pre>
</li>
<li>Open VIM:
<pre class="brush: bash">sudo vim</pre>
</li>
<li>Source the file you have downloaded from within VIM by typing:
<pre class="brush: bash">:source ./download_script.php\?src_id=3747</pre>
</li>
<li>Now the VIM template system has been configured. The previous command should output the template directory so that you can create new templates, it differs depending on your OS.</li>
</ul>
<p>That&#8217;s it if you need more info on how the system works you can visit the project homepage <a href="http://www.vim.org/scripts/script.php?script_id=1172">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.macaoidh.name/2009/12/24/mac-os-x-vim-templates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Kember Identity</title>
		<link>http://blog.macaoidh.name/2009/05/02/the-kember-identity/</link>
		<comments>http://blog.macaoidh.name/2009/05/02/the-kember-identity/#comments</comments>
		<pubDate>Sat, 02 May 2009 22:17:11 +0000</pubDate>
		<dc:creator>Conor</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Languages]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[32]]></category>
		<category><![CDATA[characters]]></category>
		<category><![CDATA[equal hash]]></category>
		<category><![CDATA[hash]]></category>
		<category><![CDATA[itself]]></category>
		<category><![CDATA[kid]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[return]]></category>
		<category><![CDATA[the kember identity]]></category>

		<guid isPermaLink="false">http://blog.macaoidh.name/?p=205</guid>
		<description><![CDATA[This morning on twitter I came across something called The Kember Identity. Elliott Kember seems to have thought of something that simply hasn&#8217;t occured to the rest of the world. That thing has been aptly named &#8220;The Kember Identity&#8221;. It&#8217;s homepage is located here. Anyway the Kember Identity is an md5 hash. Each md5 hash [...]]]></description>
			<content:encoded><![CDATA[<p>This morning on twitter I came across something called The Kember Identity.<a href="http://www.elliottkember.com"> Elliott Kember </a>seems to have thought of something that simply hasn&#8217;t occured to the rest of the world. That thing has been aptly named &#8220;The Kember Identity&#8221;. It&#8217;s homepage is located <a href="http://www.elliottkember.com/kember_identity.html">here</a>.</p>
<p>Anyway the Kember Identity is an md5 hash. Each md5 hash contains 32 characters so the KID is the theoretical hash that when it is encrypted it returns itself. At the moment this is a theory as it has not been proven. So Elliott has started a competition to see if anyone can figure out if the KID actually exists and if so what it is.</p>
<p>I have chosen to enter this competition with a PHP script that I wrote just a few minutes ago. It&#8217;s fairly simple and I have added a html table in there to clean it up a bit. Instead of computing endlessly this script displays all failed equations as it goes. When it finds the KID it will stop and show it in bright green. I ran the script for a few minutes and got to 200,000 hashes with no luck. Also FireFox froze a few times while running it. The best thing to do is just leave it to do it&#8217;s job and don&#8217;t do anything else while it is working!</p>
<p>You can view it here: <a href="http://files.macaoidh.name/php/the-kember-identity/md5.php">http://files.macaoidh.name/php/the-kember-identity/md5.php</a></p>
<p><code><br />
&lt;?php</p>
<p>function encript($str){ return md5($str); }</p>
<p>function generateSum(){ return md5(mt_rand()); }</p>
<p>function loKIDe(){<br />
&nbsp;&nbsp;$s=generateSum();<br />
&nbsp;&nbsp;$md5=encript($s);</p>
<p>&nbsp;&nbsp;echo '&lt;tr&gt;&lt;td&gt;'.$s.'&lt;/td&gt;&lt;td&gt;'.$md5.'&lt;/td&gt;';</p>
<p>&nbsp;&nbsp;if($s!=$md5) return false;<br />
&nbsp;&nbsp;else{<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo '&lt;tr style="color:green"&gt;&lt;td&gt;'.$s.'&lt;/td&gt;&lt;td&gt;'.$md5.'&lt;/td&gt;&lt;/tr&gt;';<br />
&nbsp;&nbsp;&nbsp;&nbsp;return true;<br />
&nbsp;&nbsp;}<br />
}</p>
<p>echo '<br />
&lt;h1&gt;Finding the Kember Identity...&lt;/h1&gt;<br />
&lt;table&gt;<br />
&nbsp;&nbsp;&lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;th&gt;32 Digit Number&lt;/th&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;th&gt;Md5 Of Num&lt;/th&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;th&gt;Count&lt;/th&gt;<br />
&nbsp;&nbsp;&lt;/tr&gt;<br />
';</p>
<p>$num='';</p>
<p>while(loKIDe()==false){<br />
&nbsp;&nbsp;$num++;<br />
&nbsp;&nbsp;echo '&lt;td&gt;'.$num.'&lt;/td&gt;&lt;/tr&gt;';<br />
}</p>
<p>echo '&lt;/table&gt;&lt;br/&gt;&lt;br/&gt;  If you are seeing this then the line above is equal';</p>
<p>?&gt;</code></p>
<p>This script should, in theory, find the KID. But it is really a matter of time. I am going to keep it running all night tonight and see if I have any luck. <a href="http://verens.com">Kae</a> is thinking of writing a JavaScript version that will spread the load between multiple computers thus reducing calculation time. So the race is on! I hope that I am the first to find this magical, mysterious number!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.macaoidh.name/2009/05/02/the-kember-identity/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Hello World &#8211; Java</title>
		<link>http://blog.macaoidh.name/2009/04/26/hello-world-java/</link>
		<comments>http://blog.macaoidh.name/2009/04/26/hello-world-java/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 11:56:07 +0000</pubDate>
		<dc:creator>Conor</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Languages]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[first application]]></category>
		<category><![CDATA[hello world]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://blog.macaoidh.name/?p=195</guid>
		<description><![CDATA[I wrote my first Java application today. Ir is traditional to start out with something simple and boy this is simple and it works! First you need to download and install the Java Development Kit (JDK) from Sun here. Then change directory to your workspace &#8211; where ever you want! In my case it was: [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote my first Java application today. Ir is traditional to start out with something simple and boy this is simple and it works!</p>
<p>First you need to download and install the Java Development Kit (JDK) from Sun <a href="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewFilteredProducts-SingleVariationTypeFilter">here</a>. Then change directory to your workspace &#8211; where ever you want! In my case it was:</p>
<pre>cd /home/conor/java</pre>
<p>Then open up a new file named HelloWorld.java in your favourite text editor. In my case it was:</p>
<pre>vim HelloWorld.java</pre>
<p>Now we start the coding:</p>
<pre>class HelloWorld{
  public static void main(String[] args){
    System.out.println("Hello World!");
  }
}</pre>
<p>This is basically just a class that tells Java to output the words &#8216;Hello World! Now the code must be turned into machine code so that it is faster to run. To do that simply type:</p>
<pre>javac HelloWorld.java</pre>
<p>This creates a new file named HelloWorld.class which is written in machine code. If you open this file in your text editor all you will see is a load of gobledeegook. Now the application is ready to run. Type the following command to run it:</p>
<pre>java HelloWorld</pre>
<p>You should then see Hello World! written on your screen like this:</p>
<pre>[conor@host java]$ java HelloWorld
Hello World!</pre>
<p>Another one in the bag!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.macaoidh.name/2009/04/26/hello-world-java/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>yum install mplayer</title>
		<link>http://blog.macaoidh.name/2009/04/06/yum-install-mplayer/</link>
		<comments>http://blog.macaoidh.name/2009/04/06/yum-install-mplayer/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 20:14:21 +0000</pubDate>
		<dc:creator>Conor</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[install mplayer]]></category>
		<category><![CDATA[livna]]></category>
		<category><![CDATA[merging]]></category>
		<category><![CDATA[mplayer]]></category>
		<category><![CDATA[mplayer-gui]]></category>
		<category><![CDATA[repository]]></category>
		<category><![CDATA[rpmfusion]]></category>
		<category><![CDATA[yum]]></category>
		<category><![CDATA[yum install mplayer]]></category>

		<guid isPermaLink="false">http://blog.macaoidh.name/?p=174</guid>
		<description><![CDATA[Who would have thought that it would be so much bother just to install mplayer? yum install mplayer Oh my god. It doesn&#8217;t work. I just re-installed Fedora 10 last week and didn&#8217;t get around to installing mplayer until now. I can distinctly remember that when I did it on my older installation it installed [...]]]></description>
			<content:encoded><![CDATA[<p>Who would have thought that it would be so much bother just to install mplayer?</p>
<pre>yum install mplayer</pre>
<p>Oh my god. It doesn&#8217;t work.</p>
<p>I just re-installed Fedora 10 last week and didn&#8217;t get around to installing mplayer until now. I can distinctly remember that when I did it on my older installation it installed without a glitch.</p>
<p>Anyhow this time I just sat there and scratched my head for a while. I never really made a decent attempt to do anything about it until now &#8211; enough became enough! I want my music back!</p>
<p>Ok lets start with why this is happening in the first place. You see recently livna (an rpm repository) merged with two other repositories and formed rpmfusion. But linva still exists. It still has some packages that rpmfusion doesn&#8217;t, don&#8217;t ask me why! So there is an easy way around the problem; install both of the damn things!</p>
<pre>yum install livna</pre>
<p><a title="Download RPMFusion" href="http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm">Click here to download rpmfusion F 8,9,10.</a></p>
<p>Then simple as:</p>
<pre>yum install mplayer</pre>
<p>and hey presto!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.macaoidh.name/2009/04/06/yum-install-mplayer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fedora and KDE</title>
		<link>http://blog.macaoidh.name/2009/03/18/fedora-and-kde/</link>
		<comments>http://blog.macaoidh.name/2009/03/18/fedora-and-kde/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 23:07:05 +0000</pubDate>
		<dc:creator>Conor</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[4.2]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[fedora 10]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[install kde]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[kooldock]]></category>
		<category><![CDATA[run program on boot]]></category>
		<category><![CDATA[Silicon Integrated Systems]]></category>
		<category><![CDATA[SIS]]></category>

		<guid isPermaLink="false">http://macaoidh.name/?p=153</guid>
		<description><![CDATA[I installed KDE on my Fedora 10 installation yesterday. yum install @kde-desktop God damn it&#8217;s refreshing! I got really bored of the dullness of Gnome and just decided to get rid of it! I had forgotten how great KDE 4.1 really is. It just looks so different and simply better! I managed to completely screw [...]]]></description>
			<content:encoded><![CDATA[<p>I installed KDE on my Fedora 10 installation yesterday.</p>
<pre>yum install @kde-desktop</pre>
<p>God damn it&#8217;s refreshing! I got really bored of the dullness of Gnome and just decided to get rid of it! I had forgotten how great KDE 4.1 really is. It just looks so different and simply better!</p>
<p>I managed to completely screw up my computer in the process though! After I changed I decided to mess about with my graphics settings and try and get out of bloody Vesa. But unfortunately there are no Fedora drivers for my Silicon Integrated Systems [SiS] card and I will inevitably have to use Vesa mode&#8230; Ah well I&#8217;ll just have to put up with my you tube videos skipping &#8217;till Fedora 11! Anyway I screwed up the graphics and had to boot to init 3 and do a display reconfig;</p>
<pre>system-config-display --reconfig</pre>
<p>Once I was up and running again I got to work doing what KDErs do best; customisation. I found this cool desktop app called KDE Twitter. It allows me to tweet from my desktop! Pretty cool. Oh and the pride and joy of my new desktop; kooldock! It really is cool. It&#8217;s basically the same thing as the Mac OSX dock except as with KDE, better and more customisable. Installation is simple:</p>
<pre>yum install kooldock</pre>
<p>You can also set it to start the program as soon as you start the computer. Although it is a joy watching those icons bounce up and down this saves you having to run it manually every time! Go to System &gt; System Settings &gt; Autostart and add kooldock to the programs list.</p>
<p>Fedora and KDE both go very well together and it was well worth the change from dull Gnome. Here&#8217;s a screenshot:</p>
<div id="attachment_158" class="wp-caption aligncenter" style="width: 435px"><img class="size-full wp-image-158" title="fedora_kde" src="http://macaoidh.name/wp-content/uploads/2009/03/fedora_kde.png" alt="Fedora KDE" width="425" height="238" /><p class="wp-caption-text">Fedora KDE</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.macaoidh.name/2009/03/18/fedora-and-kde/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fedora 10 &#8211; Forgot User Password</title>
		<link>http://blog.macaoidh.name/2009/02/20/fedora-10-forgot-user-password/</link>
		<comments>http://blog.macaoidh.name/2009/02/20/fedora-10-forgot-user-password/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 01:45:51 +0000</pubDate>
		<dc:creator>Conor</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[can't login]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[fedora 10]]></category>
		<category><![CDATA[forgot password]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[recover user password]]></category>
		<category><![CDATA[reset user password]]></category>
		<category><![CDATA[root password]]></category>
		<category><![CDATA[user password]]></category>

		<guid isPermaLink="false">http://macaoidh.name/?p=124</guid>
		<description><![CDATA[Today I did one of the stupidest things that I have done in a long time &#8211; I forgot my user password for my Fedora 10 installation. I don&#8217;t know how it happened&#8230; I just decided to change my password because I thought that it was to weak. It used to be &#8220;conor&#8221; which is [...]]]></description>
			<content:encoded><![CDATA[<p>Today I did one of the stupidest things that I have done in a long time &#8211; I forgot my user password for my Fedora 10 installation. I don&#8217;t know how it happened&#8230; I just decided to change my password because I thought that it was to weak. It used to be &#8220;conor&#8221; which is about anyone&#8217;s first possible guess given that my username is Conor! Anyway I changed the password and continued working away. Later on when I went to log in again I thought &#8220;Oh Shit!&#8221;.</p>
<p>I sat there for like two hours trying to remember the password and eventually realised that it wasn&#8217;t going to happen. Then I began to think of alternative methods of getting in. I had one advantage over people who are actually trying to hack into the computer &#8211; I knew the root/super user password. This proved to be the thing that saved me in the end! But unfortunately Fedora, with good reason, does not allow root login through GUI so the task is made harder again.</p>
<p>After looking online for solutions to no avail I began to recall my Fedora installation. You see when I installed the OS initially it rejected my graphics card and would not boot into GUI. Then it dawned on me &#8211; If I could get into that state again (init 3) I could log in as root from there, start the GUI and eventually reset my password. But how the heck to do that!</p>
<p>It&#8217;s easy really once you make it clear in your head what your about to do. We&#8217;ll start from the beginning:</p>
<ul>
<li>Turn on your computer.</li>
<li>Keep pressing the &#8220;p&#8221; key until something happens.</li>
<li>If you have a grub password enter it at this point.</li>
<li>You should see a list of kernels. Select which one you want to boot with (usually the first one) and press the &#8220;e&#8221; key.</li>
<li>Go to the line that begins with &#8220;kernel /vmlinuz**&#8221; and press the &#8220;e&#8221; key again.</li>
<li>At the end of that line add this text (without the quotes): &#8220;init 3&#8243;</li>
<li>Press enter.</li>
<li>Press the &#8220;b&#8221; key.</li>
<li>You should now be in a command line interface. Login in as root (su -) and then type &#8220;startx&#8221;.</li>
<li>You will now boot into the GUI logged in as root. Go to System &gt; Administration &gt; Users and Groups</li>
<li>Edit your user details.</li>
<li>Restart and login as normal!</li>
</ul>
<p>It took me a while to figure out how to do this but it worked out alright in the end. Hope that this posts helps other people in the same situation &#8211; I wish someone had spelled this out for me! <img src='http://blog.macaoidh.name/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.macaoidh.name/2009/02/20/fedora-10-forgot-user-password/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Computer on a Stick</title>
		<link>http://blog.macaoidh.name/2009/01/24/computer-on-a-stick/</link>
		<comments>http://blog.macaoidh.name/2009/01/24/computer-on-a-stick/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 19:34:39 +0000</pubDate>
		<dc:creator>Conor</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[corair flash voyager gt]]></category>
		<category><![CDATA[dream linux]]></category>
		<category><![CDATA[fedora 10]]></category>
		<category><![CDATA[liveusb-creator]]></category>
		<category><![CDATA[pen installer]]></category>
		<category><![CDATA[usb distro]]></category>

		<guid isPermaLink="false">http://macaoidh.name/?p=105</guid>
		<description><![CDATA[Gone are the days in which I am forced to use Windows. From now on I carry a Linux distro around my neck where ever I go. I have access to all my files and my favourite programs where ever I am. I carry everything I need on a 16GB Corsair Flash Voyager GT memory [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-100 alignright" title="Corsair Flash Voyager GT" src="http://macaoidh.name/wp-content/uploads/2009/01/corsair_flash_voyager_4gb_flash_drive-300x225.jpg" alt="Corsair Flash Voyager GT" width="240" height="180" />Gone are the days in which I am forced to use Windows. From now on I carry a Linux distro around my neck where ever I go. I have access to all my files and my favourite programs where ever I am. I carry everything I need on a 16GB Corsair Flash Voyager GT memory stick (on the right &#8211;&gt;). Many distros support USB installations these days and I have tried two.</p>
<p>Firstly I went for Fedora 10. It&#8217;s really not as difficult as I thought it would be! Just <code>yum install liveusb-creator</code> then go to Applications &gt; System Tools &gt; liveusb-creator. This will bring up a nice program to make the proccess easy. And yes it is cross browser compatible! Well at least it works on XP, i&#8217;m not sure about Vista or Mac. There is one major disadvantage to the installer &#8211; it only lets your distro take up 2GB. I&#8217;m not sure why though. Anyway it&#8217;s as simple as select your device, your iso, your size and then just press the Create button! One bonus is that there is no need to change the file system, ie. you can still see the files through Windows. When your finished just reboot &gt; go to multi boot menu &gt; select USB &gt; bang and you will see the friendly Fedora splash screen!</p>
<p>I was a little deterred by the small size of the Fedora installation so I decided to try something different. Dream Linux seemed like a good direction to go in. It is really all a Dream, and I like the Mac-like dock, that&#8217;s what really sold it for me. Initially I went for an on-the-edge version &#8211; DL 3.5 Candidate 5. After a long night of trying to figure out why it wouldn&#8217;t work I googled the error and found out that there is a bug in this candidate that prevents any Pen DL installations from being successful! One day and one long download later I started from scratch on DL 3.2 (a very safe and stable version I must say!). It&#8217;s relatively easy to create a USB distro with DL as well. Just select the Pen DL installer (should be on the desktop) and choose the relevant options. One disadvantage here is that you must use a Linux file system, I chose ext3, which means that you cannot look at the stick contents on Windows. I tried partitioning after the install but it would not let me! Anyway why would you want to look at your stick from Windows if you can just look at you whole computer! <img src='http://blog.macaoidh.name/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>In the end I stuck with Dream linux for a few small reasons, it gives you a choice on each boot between xfce and Gnome, it lets you &#8220;add modules&#8221; or programs to your USB which will remain forever, and it lets you use as much space on the disk as you want! One thing I don&#8217;t get about either of the installations is that while you are using your pen distro you cannot access the files that are actually on the computer that your using &#8211; at least I don&#8217;t know how to do it anyway. This does seem a bit stupid because whats the point in bringing a stick to use on another computer if you can&#8217;t look at files from that computer! It is possible on live DVDs, why not live USBs? I can&#8217;t stress enough, if you are going to do this yourself get a decent memory stick! The one I went for works seamlessly, there is no apparent difference between booting from it and booting from a hard disk. I should also mention that your stick will only work on computers that support booting from USB, but most modern computers do anyway.</p>
<p>Conclusion: Break out of the system, use a portable distro and shock innocent Windows users!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.macaoidh.name/2009/01/24/computer-on-a-stick/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tagged!</title>
		<link>http://blog.macaoidh.name/2009/01/16/tagged/</link>
		<comments>http://blog.macaoidh.name/2009/01/16/tagged/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 00:23:17 +0000</pubDate>
		<dc:creator>Conor</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Languages]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[Me]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[My Blog]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[School]]></category>
		<category><![CDATA[The Dominican Affair]]></category>
		<category><![CDATA[Web Projects]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[bodhran]]></category>
		<category><![CDATA[conor mac aoidh]]></category>
		<category><![CDATA[drums]]></category>
		<category><![CDATA[furasta cms]]></category>
		<category><![CDATA[mac aoidh]]></category>
		<category><![CDATA[ogra sinn fein]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[sword fighting]]></category>
		<category><![CDATA[tagged]]></category>
		<category><![CDATA[the pot smoking pirates]]></category>
		<category><![CDATA[warhammer]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://macaoidh.name/?p=90</guid>
		<description><![CDATA[I got tagged by Kae today. I had actually never herd of the thing before, I just don&#8217;t do enough blog reading I guess! Anyway it&#8217;s tough to list seven things that people don&#8217;t already know. I don&#8217;t have much to talk about so don&#8217;t be surprised if you know half of these things already!:-) [...]]]></description>
			<content:encoded><![CDATA[<p>I got tagged by <a href="http://verens.com">Kae</a> today. I had actually never herd of the thing before, I just don&#8217;t do enough blog reading I guess! Anyway it&#8217;s tough to list seven things that people don&#8217;t already know. I don&#8217;t have much to talk about so don&#8217;t be surprised if you know half of these things already!:-)</p>
<p>1. I was sixteen on 19th September &gt; Virgo (What a sign &#8211; a fucking  mermaid!). I am still in fifth year at school which i absolutely detest. In fact the only thing that is keeping me in there is the promise of College. From my perspective that is heaven! Parties all the time &#8211; and when there are no parties I will be studying for tests by Programming! What more could you want? I should probably mention that I have been in an all Irish school for my whole life and that I talk Irish at home. Native language gotta be done. Oh and just for the record my name, Conor Mac Aoidh is pronounced &#8220;Mac í&#8221; or &#8220;Mac e&#8221;.</p>
<p>2. I play the Drums in two bands &gt; The Pot Smokin&#8217; Pirates and The Dominican Affair. Guess which one I enjoy more? I started the drums when I was 13. Before that I played the bodhran (What a load of shite). I went to drum lessons for about a year then I tought myself. When I finished teaching myself I moved on to teaching other people. At the moment I am practicing for the local Panto. I have done it three times before, it is good crac on the night. Gotta hate the music though! The Pot Smokin&#8217; Pirates where the first band I joined, or should I say formed! They were a school band but soon enough I discovered that school and rock music don&#8217;t go so well together! We used to practice in the lead singers garage. One day his older brother asked me to join his band &#8216;The Kamikaze Potato Men&#8217;. Thats when I really got to grips with the drums &#8211; I was playing with a band three years older than me! Eventually &#8216;The Kamikaze Potato Men&#8217; got rid of the lead singer, found a new one and formed <a href="http://thedominicanaffair.com">The Dominican Affair</a>!</p>
<p>3. I am Oifigeach na hAirgeadais for Ógra Shinn Féin Muineacháin. I don&#8217;t want to delve to deeply into this because once you start me I can&#8217;t stop! Basically I support and am a member of Sinn Féin. I am in favor of a democratic-socialist, anti-neo-libiralist, egalitarian 32 county united Ireland. Make Partition History! 26 + 6 = 1.</p>
<p>4. Oh what else&#8230; I am half Scotish, half Irish and was born in England. I used to collect Warhammer! God I have to include that because it was not a minor thing in my life. For those of you who are familiar with the way it works, I had a 3,000 point Empire Army! That is pretty massive for a ten year old in fairness. The strange thing is that I used them for display. I only ever played a couple of times and found the games to complicated. My main concentration was actually painting the things. I used to paint them like a machine. I also had millions of nobles and all that I couldn&#8217;t use because I didn&#8217;t have enough points to incorporate them! Come to think of it my first army was High Elves. By the end of my Empire collection I had gotten pretty good at painting the models. Then I started with Bretonians. I had just enough of them to play &#8211; two core units and a general. I recently got rid of almost everything in my collection. I kept only a few things. My two best painted pieces &#8211; &#8216;The Green Night&#8217; and a Celtos model which I made a cool base for. Also I have an old White Dwarf from the 80&#8242;s signed by the Eavy Metal Team. I might Ebay it! I think that I have enough to make a core unit and general army at the moment!</p>
<p>5. PHP. This tagged thing is directed towards the language users so I had better talk about it. I started learning HTML at the end of 2007 as part of a school transition year course. I didn&#8217;t pay much attention to it at first. Then by chance I got work expierence with the local web design company, <a href="http://webworks.ie">webworks</a> last summer. That is were i learned CSS and began on PHP. Not to soon after that I got hooked on the language and I love it! I am currently writing Furasta CMS, which will be in beta of it&#8217;s first &#8220;stable&#8221; version by the end of next week, hopefully! I am a linux user and have been since November! I started out with Mandriva One 2009 and then recently moved on to Fedora 10. I think that Linux bears a big role in the future of computers in general.</p>
<p>6. I can fight. With a sword I mean! I trained for Medieval Historical Re-enacting for too many years. I did all the shows where you dress up and people stare at you and ask you if they can look at your sword. It&#8217;s not all it&#8217;s cracked up to be really. It&#8217;s like any other physical sport. You do the same thing over and over and over untill you can do it in your sleep! Then finally once you have done it for a few years you dump the wooden swords and go on to metal! I have to say the proper equipment is pretty cool. It&#8217;s quite tough to fight with armour actually because it weighs a ton. I learned how to fight with a sword. shield, staff, pike, bow and arrow and claymore. I haven&#8217;t really done anything with it in the last year but there is talk of it starting again so you never know!</p>
<p>7. This is tough&#8230; Em&#8230; I am an atheist. I believe that believing in God is a completely personal thing and that it should have nothing what-so-ever to do with the state and especially the schools! I don&#8217;t have a problem with anyone else that believes in god I just hate the fact that so much trouble has been caused in this world because of religion. I was not baptised and brought up to make my own decision &#8211; and I have! <img src='http://blog.macaoidh.name/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  It annoys me that my school gets massive &#8220;grants&#8221; from Catholic Associations and therefore it is a Catholic School. Not only that but the fact that I have to take time out of classes to go to mass four times a year. Basically I think that religion in schools should be eradicated, but the religion class should be kept. I think it is a good idea to discuss religions and to make people aware that there are much more religions out there than Catholicism and that they should make their own decision rather than blindly following the crowd.</p>
<p>Now onto the tagging. I am bound by the rules to tag seven other people. The problem is that I only know one PHP developer and that is the person who tagged me! So for now I will leave this part. <strong>But I will update it once I meet other enthusiasts, </strong>so I&#8217;m not breaking the rules!</p>
<p><strong></strong><strong>Rules</strong></p>
<ul>
<li>Link your original tagger(s), and list these rules on your blog.</li>
<li>Share seven facts about yourself in the post &#8211; some random, some weird.</li>
<li>Tag seven people at the end of your post by leaving their names and the links to their blogs.</li>
<li>Let them know they’ve been tagged by leaving a comment on their blogs and/or Twitter</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.macaoidh.name/2009/01/16/tagged/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fedora 10</title>
		<link>http://blog.macaoidh.name/2009/01/13/fedora-10/</link>
		<comments>http://blog.macaoidh.name/2009/01/13/fedora-10/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 21:09:56 +0000</pubDate>
		<dc:creator>Conor</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[distro]]></category>
		<category><![CDATA[fedora 10]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://macaoidh.name/?p=80</guid>
		<description><![CDATA[I recently made the change from Mandriva One 2009 to Fedora 10. Oh what a difference! Mandriva was the first Linux OS that I ever used and I suppose it appealed to me because of it being a very user friendly distro. Actually when I first stumbled upon it I was extatic. I was stuned [...]]]></description>
			<content:encoded><![CDATA[<p>I recently made the change from Mandriva One 2009 to Fedora 10. Oh what a difference!</p>
<p>Mandriva was the first Linux OS that I ever used and I suppose it appealed to me because of it being a very user</p>
<p>friendly distro. Actually <a href="http://macaoidh.name/index.php/archives/2008/11/mandriva/">when I first stumbled upon it</a> I was extatic. I was stuned with KDE 4.1 and its amazing ability to allow you to customise everything. But eventually I realised that I didn&#8217;t want to customise everything and that some things are better left to the distro designers! Mandriva, for me, was kind of a bridge into the Linux world. I learned a hell of a lot while using it and I am now quite familiar with the Konsole and all it&#8217;s various</p>
<p>commands. But after a while I did feel like I wanted more, more Linux that is &#8211; and less Windows. Because at the end of the day Mandriva is designed for Windows users and in my opinion it is a bit Windows like.</p>
<p>Anyway I better start talking about Fedora. I went of to a faulty start with this distro. I had previously tried Fedora 9 on my laptop but it rejected my graphics card and I decided to wait for the release of Fedora 10. I know it has been released for a couple of months at this stage but I was waiting for a packaged release. I got this last week in the Linux Format magazine. Unfortunately Fedora 10 also rejected my graphics card. But not to worry the local <a href="http://verens.com">Linux guru</a> was happy to help! Once I got the graphics sorted I had free reign!</p>
<p>The CD I got with the Linux Format magazine had everything! I distinctly remember in Mandriva having to download ever</p>
<p>ything that you would expect to have with a distro, packages that a hell of a lot of programs depend on, such as glibc. Not the case this time though thank god because my internet connection would probably get stressed and stop working or something&#8230;. The CD gave me a pre-installed web server! Brilliant because frankly I could not have been arsed learning how to set up Apache vhosts again! It also came with a wide range of extra programs such as GIMP 2.6 (I tried to get this for Mandriva but urpmi was still stuck on 2.4!), Transmission Bit Torrent (usefull for downloading music) and rythmbox music player. I was surprised at the fact that it didn&#8217;t include Konqueror &#8211; I thought that all distros did. It could be a KDE program.</p>
<p>Another choice that I had to face was KDE or GNOME? As I earlier emphasised Mandriva One 2009 came with KDE 4.1, which was the first stable release of KDE 4, and Mandriva was the first distro to be released with it. It certainly had a lot to live up to after KDE 3, not that I would know &#8211; it&#8217;s a bit before my time! I had enjoyed KDE and I wanted to take it with me when I made the switch to Fedora. But i still haven&#8217;t actually got round to setting it up and for the moment I am stuck with GNOME 2.24. That is not a bad thing though because it is ever so slowly growing on me. I am at the point now where I think that I might just not bother setting up KDE&#8230;</p>
<p>So Fedora 10. All round it&#8217;s impressive. The last release I toyed with was Fedora 8 and it has certainly changed for the better since then! The new graphically animated boot proccess is much better than the old jumpy thing and the desktop photo of a blue star is very interesting. For those of you that reject it&#8217;s animated state <strong>you are wrong!</strong> I spent ten minutes yesterday staring at that screen and I am certain that it moves! However slightly and smoothly, it does move!. Thats about it. Fedora 10 gets top marks by me, great distro! Hopefully the team can keep up with their twice a year releases because I for one can&#8217;t wait &#8217;till Fedora 11.</p>
<p>Oh and be expecting some Fedora Magik in the form of USB!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.macaoidh.name/2009/01/13/fedora-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
