<?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>dragffy.com &#187; Books</title>
	<atom:link href="http://dragffy.com/blog/posts/category/information/books/feed" rel="self" type="application/rss+xml" />
	<link>http://dragffy.com/blog</link>
	<description>The development, documentation, and blogging domain of Gabriel Dragffy.</description>
	<lastBuildDate>Sun, 29 Apr 2012 11:55:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Beware of the Trailing Comma in JavaScript Prototypes</title>
		<link>http://dragffy.com/blog/posts/beware-of-the-trailing-comma-in-javascript-prototypes</link>
		<comments>http://dragffy.com/blog/posts/beware-of-the-trailing-comma-in-javascript-prototypes#comments</comments>
		<pubDate>Wed, 03 Dec 2008 11:29:12 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=66</guid>
		<description><![CDATA[Came accross the following post at: http://www.pluralsight.com/community/blogs/fritz/archive/2007/06/19/47771.aspx &#8220;I spent more time than I care to admit tracking down this one, perhaps this post will save someone else the trouble&#8230; When defining a number of functions in a prototype in JavaScript, do not include a trailing comma after the last function: MyType.prototype = { foo : [...]]]></description>
			<content:encoded><![CDATA[<p>Came accross the following post at:<br />
<a href="http://www.pluralsight.com/community/blogs/fritz/archive/2007/06/19/47771.aspx">http://www.pluralsight.com/community/blogs/fritz/archive/2007/06/19/47771.aspx</a></p>
<p>&#8220;I spent more time than I care to admit tracking down this one, perhaps this post will save someone else the trouble&#8230;</p>
<p>When defining a number of functions in a prototype in JavaScript, do not include a trailing comma after the last function:</p>
<pre>
MyType.prototype = {
    foo : function() {
          // ...
    },

    bar : function() {
        //...
    }, //< - fails in IE!
 }
</pre>
<p>What was especially tricky about tracking this problem down was that FireFox works with or without the trailing comma, so it only fails in IE!"</pre>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/beware-of-the-trailing-comma-in-javascript-prototypes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup a fileserver using RAID 1 &amp; 5 on Ubuntu Hardy Heron 8.04 LTS Server</title>
		<link>http://dragffy.com/blog/posts/setup-a-fileserver-using-raid-1-5-on-ubuntu-hardy-heron-804-lts-server</link>
		<comments>http://dragffy.com/blog/posts/setup-a-fileserver-using-raid-1-5-on-ubuntu-hardy-heron-804-lts-server#comments</comments>
		<pubDate>Tue, 13 May 2008 11:00:13 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[Information]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=52</guid>
		<description><![CDATA[I recently set up a new file server. It contains three 1 terabyte drives configured in a RAID 5 array but with RAID 1 for the boot partitions so in the event of drive failure the system could still boot. Essentially you need to go through a normal installation process and make sure you choose [...]]]></description>
			<content:encoded><![CDATA[<p>I recently set up a new file server. It contains three 1 terabyte drives configured in a RAID 5 array but with RAID 1 for the boot partitions so in the event of drive failure the system could still boot.</p>
<p>Essentially you need to go through a normal installation process and make sure you choose a couple of things during parition setup. I split each of the 3 drives in to two partitions, one 200MB, and the other partition the remaining disc space. This is what I had:<br />
sda1 = 200MB<br />
sda2 = 9800MB<br />
and the same for the other drives.</p>
<p>Set all sda1 partition to be ext3 and bootable and mounted as /boot, set sdb1 and sdc1 partitions to be Linux Software Raid, bootable, but not mounted. Configure the RAID and create a new RAID device, tell it to use three devices and add to it sda2, sdb2, and sdc2.</p>
<p>When I returned to the partition menu I configured md0 as a partition for a logical volume group. I then configured LVM and created logical volumes for /root, swap, and /home. Returning to the partitioning menu I formatted these and selected their mount points and installed the system.</p>
<p>Following system installation I went about creating a RAID 1 array for sda1, sdb1, and sdc1. First thing was to create a new array using mdadm and the two paritions we haven&#8217;t yet assigned:<br />
<code># mdadm --create /dev/md1 --level=1 --raid-disks=3 missing /dev/sdb1 /dev/sdc1</code></p>
<p>Make a filesystem on our new RAID device:<br />
<code># mkfs.ext3 -m 0 /dev/md1</code></p>
<p>Save the new configuration in to mdadm&#8217;s config file:<br />
<code># mdadm --examine --scan >> /etc/mdadm/mdadm.conf</code></p>
<p>Edit mdadm.conf and remove the duplicate entry at the bottom:<br />
<code># vim /etc/mdadm.conf</code></p>
<p>Mount the new RAID device so we can copy data to it:<br />
<code># mkdir /media/md1</code><br />
<code># mount /dev/md1 /media/md1</code></p>
<p>Copy over the boot partition to the RAID device:<br />
<code># cd /boot</code><br />
<code># cp -dpRx . /media/md1</code></p>
<p>Edit fstab and replace /dev/sda1 with /dev/md1:<br />
<code># vim /etc/fstab</code></p>
<p>Edit mtab and do the same:<br />
<code># vim /etc/mtab</code></p>
<p>Unmount /boot, change it&#8217;s system type and add it to the RAID array:<br />
<code># umount /boot</code><br />
<code># fdisk /dev/sda</code><br />
<code><strong>Command (m for help):</strong> t</code><br />
<code><strong>Partition number (1-4):</strong> 1</code><br />
<code><strong>Hex code (type L to list codes):</strong> f</code><br />
<code><strong>Changed system type of partition 1 to fd (Linux raid autodetect)</strong></code><br />
<code><strong>Command (m for help):</strong> w</code></p>
<p><code># mdadm --add /dev/md1 /dev/sda1</code></p>
<p>Configure GRUB so that it can boot from any hard drive:<br />
<code># grub</code><br />
<strong>grub></strong> device (hd0) /dev/sda<br />
<strong>grub></strong> root (hd0,0)<br />
<strong>grub></strong> setup (hd0)<br />
<strong>grub></strong> device (hd0) /dev/sdb<br />
<strong>grub></strong> root (hd0,0)<br />
<strong>grub></strong> setup (hd0)<br />
<strong>grub></strong> device (hd0) /dev/sdc<br />
<strong>grub></strong> root (hd0,0)<br />
<strong>grub></strong> setup (hd0)<br />
<strong>grub></strong> quit</p>
<p><code># update-initramfs -u</code></p>
<p>Change all occurance of (hd*) to (hd0) in the file <code>/boot/grub/devices.map</code>.</p>
<p>That should be all &#8211; good luck with the reboot!<br />
<code># reboot</code></p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/setup-a-fileserver-using-raid-1-5-on-ubuntu-hardy-heron-804-lts-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protected: Practical Common Lisp &#8211; Apress 2005</title>
		<link>http://dragffy.com/blog/posts/practical-common-lisp-apress-2005</link>
		<comments>http://dragffy.com/blog/posts/practical-common-lisp-apress-2005#comments</comments>
		<pubDate>Mon, 10 Mar 2008 13:52:35 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Information]]></category>
		<category><![CDATA[LISP]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/posts/practical-common-lisp-apress-2005</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
			<content:encoded><![CDATA[<form action="http://dragffy.com/blog/wp-pass.php" method="post">
<p>This post is password protected. To view it please enter your password below:</p>
<p><label for="pwbox-29">Password:<br />
<input name="post_password" id="pwbox-29" type="password" size="20" /></label><br />
<input type="submit" name="Submit" value="Submit" /></p></form>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/practical-common-lisp-apress-2005/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protected: Learning PHP 5 &#8211; O&#8217;Reilly</title>
		<link>http://dragffy.com/blog/posts/learning-php-5-oreilly</link>
		<comments>http://dragffy.com/blog/posts/learning-php-5-oreilly#comments</comments>
		<pubDate>Mon, 10 Mar 2008 10:49:30 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Information]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/posts/learning-php-5-oreilly</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
			<content:encoded><![CDATA[<form action="http://dragffy.com/blog/wp-pass.php" method="post">
<p>This post is password protected. To view it please enter your password below:</p>
<p><label for="pwbox-27">Password:<br />
<input name="post_password" id="pwbox-27" type="password" size="20" /></label><br />
<input type="submit" name="Submit" value="Submit" /></p></form>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/learning-php-5-oreilly/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protected: Ruby on Rails for PHP and Java Developers</title>
		<link>http://dragffy.com/blog/posts/ruby-on-rails-for-php-and-java-developers</link>
		<comments>http://dragffy.com/blog/posts/ruby-on-rails-for-php-and-java-developers#comments</comments>
		<pubDate>Thu, 06 Mar 2008 16:08:33 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[Information]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/posts/ruby-on-rails-for-php-and-java-developers</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
			<content:encoded><![CDATA[<form action="http://dragffy.com/blog/wp-pass.php" method="post">
<p>This post is password protected. To view it please enter your password below:</p>
<p><label for="pwbox-25">Password:<br />
<input name="post_password" id="pwbox-25" type="password" size="20" /></label><br />
<input type="submit" name="Submit" value="Submit" /></p></form>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/ruby-on-rails-for-php-and-java-developers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protected: Pro PHP Security</title>
		<link>http://dragffy.com/blog/posts/pro-php-security</link>
		<comments>http://dragffy.com/blog/posts/pro-php-security#comments</comments>
		<pubDate>Thu, 06 Mar 2008 15:48:50 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Information]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/posts/pro-php-security</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
			<content:encoded><![CDATA[<form action="http://dragffy.com/blog/wp-pass.php" method="post">
<p>This post is password protected. To view it please enter your password below:</p>
<p><label for="pwbox-21">Password:<br />
<input name="post_password" id="pwbox-21" type="password" size="20" /></label><br />
<input type="submit" name="Submit" value="Submit" /></p></form>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/pro-php-security/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protected: CodeIgniter for Rapid PHP Application development</title>
		<link>http://dragffy.com/blog/posts/codeigniter-for-rapid-php-application-development</link>
		<comments>http://dragffy.com/blog/posts/codeigniter-for-rapid-php-application-development#comments</comments>
		<pubDate>Thu, 06 Mar 2008 15:43:14 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[Information]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/posts/codeigniter-for-rapid-php-application-development</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
			<content:encoded><![CDATA[<form action="http://dragffy.com/blog/wp-pass.php" method="post">
<p>This post is password protected. To view it please enter your password below:</p>
<p><label for="pwbox-23">Password:<br />
<input name="post_password" id="pwbox-23" type="password" size="20" /></label><br />
<input type="submit" name="Submit" value="Submit" /></p></form>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/codeigniter-for-rapid-php-application-development/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

