<?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>Brian Kenny</title>
	<atom:link href="http://www.bkenny.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bkenny.com</link>
	<description>Designer, Web Application Developer in Dublin, Ireland</description>
	<lastBuildDate>Tue, 04 Oct 2011 21:29:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>CCNA Books Giveaway</title>
		<link>http://www.bkenny.com/2011/10/04/ccna-books-giveaway/</link>
		<comments>http://www.bkenny.com/2011/10/04/ccna-books-giveaway/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 21:29:36 +0000</pubDate>
		<dc:creator>Brian Kenny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.bkenny.com/?p=680</guid>
		<description><![CDATA[Hey, so as I peer up at my books from my office desk I find myself going, &#8220;Dude, those Cisco books take up far to much space&#8221;. So, I&#8217;m giving them away. It&#8217;s the CCNA ICND2 &#38; CCENT/CCNA ICND1. If your interested and find you&#8217;ll get use from them, just drop a comment below and I&#8217;ll pick [...]]]></description>
			<content:encoded><![CDATA[<p>Hey, so as I peer up at my books from my office desk I find myself going, &#8220;Dude, those Cisco books take up far to much space&#8221;. So, I&#8217;m giving them away. It&#8217;s the CCNA ICND2 &amp; CCENT/CCNA ICND1. If your interested and find you&#8217;ll get use from them, just drop a comment below and I&#8217;ll pick a random person. If your not interested in doing the CCNA, don&#8217;t ruin it for those that are.</p>
<p>There should be two CD&#8217;s included with the books but I can&#8217;t find them, sorry.</p>
<p>I&#8217;ll post them for free within Ireland.</p>
<p><a href="http://www.bkenny.com/wp-content/uploads/2011/10/photo.jpg"><img class="aligncenter size-large wp-image-681" title="photo" src="http://www.bkenny.com/wp-content/uploads/2011/10/photo-1024x764.jpg" alt="" width="670" height="499" /></a><a href="http://www.bkenny.com/wp-content/uploads/2011/10/photo1.jpg"><img class="aligncenter size-large wp-image-682" title="photo" src="http://www.bkenny.com/wp-content/uploads/2011/10/photo1-e1317763701259-1024x764.jpg" alt="" width="670" height="499" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bkenny.com/2011/10/04/ccna-books-giveaway/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Calling all nerds, diagnose this!</title>
		<link>http://www.bkenny.com/2011/09/24/calling-all-nerds-diagnose-this/</link>
		<comments>http://www.bkenny.com/2011/09/24/calling-all-nerds-diagnose-this/#comments</comments>
		<pubDate>Sat, 24 Sep 2011 17:38:39 +0000</pubDate>
		<dc:creator>Brian Kenny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.bkenny.com/?p=676</guid>
		<description><![CDATA[Ok, I&#8217;m pretty damn networking savvy but this is totally stumping me. It only happens in my house and it&#8217;s like some packets are not being delivered yet, pings never drop and their response times are perfectly acceptable. Yet videos will play for about 10 seconds, the video will pause yet the audio will continue. [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, I&#8217;m pretty damn networking savvy but this is totally stumping me.</p>
<p>It only happens in my house and it&#8217;s like some packets are not being delivered yet, pings never drop and their response times are perfectly acceptable.</p>
<p><a href="http://www.bkenny.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-24-at-18.35.27.png"><img class="aligncenter size-full wp-image-677" title="Screen Shot 2011-09-24 at 18.35.27" src="http://www.bkenny.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-24-at-18.35.27.png" alt="" width="844" height="713" /></a>Yet videos will play for about 10 seconds, the video will pause yet the audio will continue. I more easy to show issue would be images, images load but very very strangely. Example:</p>
<p><a href="http://www.bkenny.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-19-at-19.04.28.png"><img class="aligncenter size-full wp-image-678" title="Screen Shot 2011-09-19 at 19.04.28" src="http://www.bkenny.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-19-at-19.04.28.png" alt="" width="702" height="524" /></a></p>
<p>Other strange things I&#8217;ve noticed would be google maps not loading and for that matter sometimes google will come back with some very strange javascript.</p>
<p>The only solution I can thing of is someone has a proxy server between me and the outside interwebs and it&#8217;s not doing it&#8217;s job correctly. What to you thing?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bkenny.com/2011/09/24/calling-all-nerds-diagnose-this/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Datacenter KVM</title>
		<link>http://www.bkenny.com/2011/08/22/datacenter-kvm/</link>
		<comments>http://www.bkenny.com/2011/08/22/datacenter-kvm/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 10:10:15 +0000</pubDate>
		<dc:creator>Brian Kenny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.bkenny.com/?p=670</guid>
		<description><![CDATA[KVM trolleys in Datacenters have always bugged me. You wheel, you plug in, you can fix yourself and the trolley comfortably in an aisle. I&#8217;m going to build this as a replacement. Hook it onto whatever cabinet your working on. Boom!]]></description>
			<content:encoded><![CDATA[<p>KVM trolleys in Datacenters have always bugged me. You wheel, you plug in, you can fix yourself and the trolley comfortably in an aisle.</p>
<p>I&#8217;m going to build this as a replacement. Hook it onto whatever cabinet your working on. Boom!</p>
<p><a href="http://www.bkenny.com/wp-content/uploads/2011/08/photo2.jpg"><img class="aligncenter size-full wp-image-674" title="photo" src="http://www.bkenny.com/wp-content/uploads/2011/08/photo2.jpg" alt="" width="800" height="1071" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bkenny.com/2011/08/22/datacenter-kvm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Arduino Ethernet Shield &#8211; MacBook Air Cunundrum</title>
		<link>http://www.bkenny.com/2011/08/22/arduino-ethernet-shield-macbook-air-cunundrum/</link>
		<comments>http://www.bkenny.com/2011/08/22/arduino-ethernet-shield-macbook-air-cunundrum/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 07:12:20 +0000</pubDate>
		<dc:creator>Brian Kenny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.bkenny.com/?p=667</guid>
		<description><![CDATA[So I bought an Ethernet Shield and a MacBook Air&#8230; with no ethernet port&#8230;. sheeeeeeit.]]></description>
			<content:encoded><![CDATA[<p>So I bought an Ethernet Shield and a MacBook Air&#8230; with no ethernet port&#8230;. sheeeeeeit.</p>
<p><a href="http://www.bkenny.com/wp-content/uploads/2011/08/pain.png"><img class="aligncenter size-full wp-image-668" title="pain" src="http://www.bkenny.com/wp-content/uploads/2011/08/pain.png" alt="" width="800" height="600" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bkenny.com/2011/08/22/arduino-ethernet-shield-macbook-air-cunundrum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Totally psyched to see these in November</title>
		<link>http://www.bkenny.com/2011/08/18/totally-psyched-to-see-these-in-november/</link>
		<comments>http://www.bkenny.com/2011/08/18/totally-psyched-to-see-these-in-november/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 12:16:48 +0000</pubDate>
		<dc:creator>Brian Kenny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.bkenny.com/?p=665</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><center><iframe src="http://player.vimeo.com/video/20376468" width="800" height="450" frameborder="0"></iframe></center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bkenny.com/2011/08/18/totally-psyched-to-see-these-in-november/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show your git branch in terminal</title>
		<link>http://www.bkenny.com/2011/08/10/show-your-git-branch-in-terminal/</link>
		<comments>http://www.bkenny.com/2011/08/10/show-your-git-branch-in-terminal/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 13:27:34 +0000</pubDate>
		<dc:creator>Brian Kenny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.bkenny.com/?p=658</guid>
		<description><![CDATA[Kick ass way to show your git branch in your terminal window: To do this, simply edit your bash profile with vim ~/.bash_profile Then add these lines to it: function parse_git_branch { ref=$(git symbolic-ref HEAD 2&#62; /dev/null) &#124;&#124; return echo &#8220;(&#8220;${ref#refs/heads/}&#8221;)&#8221; } RED=&#8221;\[\033[0;31m\]&#8221; YELLOW=&#8221;\[\033[0;33m\]&#8221; GREEN=&#8221;\[\033[0;32m\]&#8221; PS1=&#8221;$RED\$(date +%H:%M) \w$YELLOW \$(parse_git_branch)$GREEN\$ &#8220;]]></description>
			<content:encoded><![CDATA[<p>Kick ass way to show your git branch in your terminal window:</p>
<p><a href="http://www.bkenny.com/wp-content/uploads/2011/08/Screen-Shot-2011-08-10-at-2.25.13-PM.png"><img class="aligncenter size-full wp-image-660" title="Screen Shot 2011-08-10 at 2.25.13 PM" src="http://www.bkenny.com/wp-content/uploads/2011/08/Screen-Shot-2011-08-10-at-2.25.13-PM.png" alt="" width="700" height="314" /></a>To do this, simply edit your bash profile with</p>
<blockquote><p>vim ~/.bash_profile</p></blockquote>
<p>Then add these lines to it:</p>
<blockquote><p>function parse_git_branch {<br />
ref=$(git symbolic-ref HEAD 2&gt; /dev/null) || return<br />
echo &#8220;(&#8220;${ref#refs/heads/}&#8221;)&#8221;<br />
}</p>
<p>RED=&#8221;\[\033[0;31m\]&#8221;<br />
YELLOW=&#8221;\[\033[0;33m\]&#8221;<br />
GREEN=&#8221;\[\033[0;32m\]&#8221;</p>
<p>PS1=&#8221;$RED\$(date +%H:%M) \w$YELLOW \$(parse_git_branch)$GREEN\$ &#8220;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.bkenny.com/2011/08/10/show-your-git-branch-in-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>29 Ways to Stay Creative</title>
		<link>http://www.bkenny.com/2011/08/08/29-ways-to-stay-creative/</link>
		<comments>http://www.bkenny.com/2011/08/08/29-ways-to-stay-creative/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 07:46:12 +0000</pubDate>
		<dc:creator>Brian Kenny</dc:creator>
				<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://www.bkenny.com/?p=655</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><center><iframe src="http://player.vimeo.com/video/24302498" width="800" height="450" frameborder="0"></iframe></center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bkenny.com/2011/08/08/29-ways-to-stay-creative/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bad Choice</title>
		<link>http://www.bkenny.com/2011/08/07/bad-choice/</link>
		<comments>http://www.bkenny.com/2011/08/07/bad-choice/#comments</comments>
		<pubDate>Sun, 07 Aug 2011 12:16:48 +0000</pubDate>
		<dc:creator>Brian Kenny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.bkenny.com/?p=652</guid>
		<description><![CDATA[I originally started a website to point the finger at poorly parked cars. It was one of those 10 minute ideas that I just decided to go ahead with. I decided on a name quickly without really thinking about it at all. After some tweets pouring in, I decided to dig deeper into the definition of the [...]]]></description>
			<content:encoded><![CDATA[<p>I originally started a website to point the finger at poorly parked cars. It was one of those 10 minute ideas that I just decided to go ahead with. I decided on a name quickly without really thinking about it at all.</p>
<p>After some tweets pouring in, I decided to dig deeper into the definition of the word mong.</p>
<blockquote><p><strong>Web Definition: </strong>a mixture, a crowd (e.g. mongcorn means maslin)^[1]; A mongrel dog^[2]; Shortened version of Mongoloid, a person with Down&#8217;s syndrome; &#8216;mong is an aphetic for among^[1]</p></blockquote>
<p>After reading the definition, I&#8217;m not going to lie, my heart sank a little bit. It&#8217;s extremely disrespectful and against all my morals to use such a crass word for the website. I should have done my homework better.</p>
<p>I&#8217;ve removed the site now and hopefully to anyone this has effected, I&#8217;m truly sorry. It was never intended this way.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bkenny.com/2011/08/07/bad-choice/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>[POST] Homebrew having an micky fit</title>
		<link>http://www.bkenny.com/2011/07/26/post-homebrew-having-an-micky-fit/</link>
		<comments>http://www.bkenny.com/2011/07/26/post-homebrew-having-an-micky-fit/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 13:51:10 +0000</pubDate>
		<dc:creator>Brian Kenny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Homebrew]]></category>
		<category><![CDATA[Lion]]></category>

		<guid isPermaLink="false">http://www.bkenny.com/?p=650</guid>
		<description><![CDATA[After I upgraded to Lion, something weird happened. It stole or removed git on me. I had to reinstall the bitch. Now when I try to update homebrew I get: Aborting Error: Failure while executing: git checkout -q master Annoying but here&#8217;s a simple fix: cd /usr/local &#38;&#38; git reset &#8211;hard HEAD]]></description>
			<content:encoded><![CDATA[<p>After I upgraded to Lion, something weird happened. It stole or removed git on me. I had to reinstall the bitch. Now when I try to update homebrew I get:</p>
<blockquote><p>Aborting<br />
Error: Failure while executing: git checkout -q master</p></blockquote>
<p>Annoying but here&#8217;s a simple fix:</p>
<blockquote><p>cd /usr/local &amp;&amp; git reset &#8211;hard HEAD</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.bkenny.com/2011/07/26/post-homebrew-having-an-micky-fit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[HARDWARE] Replacing a disk in a linux software raid</title>
		<link>http://www.bkenny.com/2011/07/22/hardware-replacing-a-disk-in-a-linux-software-raid/</link>
		<comments>http://www.bkenny.com/2011/07/22/hardware-replacing-a-disk-in-a-linux-software-raid/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 10:10:58 +0000</pubDate>
		<dc:creator>Brian Kenny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Replace disk]]></category>
		<category><![CDATA[Software RAID]]></category>

		<guid isPermaLink="false">http://www.bkenny.com/?p=644</guid>
		<description><![CDATA[You have a dead disk and it needs replacing. This is going to be done on a CentOS box but it&#8217;s pretty distribution none specific. First, lets have a look at whats dead: [server ~]# cat /proc/mdstat Personalities : [raid1] md0 : active raid1 sdb1[1] sda1[0] 104320 blocks [2/2] [UU] md2 : active raid1 sdb5[1] [...]]]></description>
			<content:encoded><![CDATA[<p>You have a dead disk and it needs replacing. This is going to be done on a CentOS box but it&#8217;s pretty distribution none specific.</p>
<p>First, lets have a look at whats dead:</p>
<blockquote><p>[server ~]# cat /proc/mdstat</p>
<p>Personalities : [raid1]<br />
md0 : active raid1 sdb1[1] sda1[0]<br />
104320 blocks [2/2] [UU]</p>
<p>md2 : active raid1 sdb5[1] sda5[2](F)<br />
226291456 blocks [2/1] [_U]</p>
<p>md1 : active raid1 sdb2[1] sda2[2](F)<br />
10482304 blocks [2/1] [_U]</p>
<p>unused devices: &lt;none&gt;</p></blockquote>
<p>OK so we can see that sda has failed for both md1 and md2. Lets replace it.</p>
<p>First we need to take sda out of the RAID completely which we do by the following commands:</p>
<blockquote><p># First we fail the drive<br />
[server ~]# mdadm &#8211;manage /dev/md1 &#8211;fail /dev/sda2</p>
<p># Then we delete it from the RAID<br />
[server ~]# mdadm &#8211;manage /dev/md1 &#8211;remove /dev/sda2</p>
<p># And the second and third partitions<br />
[server ~]# mdadm &#8211;manage /dev/md0 &#8211;fail /dev/sda1<br />
[server ~]# mdadm &#8211;manage /dev/md0 &#8211;remove /dev/sda1<br />
[server ~]# mdadm &#8211;manage /dev/md2 &#8211;fail /dev/sda5<br />
[server ~]# mdadm &#8211;manage /dev/md2 &#8211;remove /dev/sda5</p></blockquote>
<p>OK so the drive has been removed from the RAID, next we need to setup GRUB on sdb so that it can boot without issue.</p>
<blockquote><p># We will set it up on the second HD, sdb.<br />
[server ~]# grub<br />
grub&gt; root (hd1,0)<br />
grub&gt; setup (hd1)<br />
grub&gt; exit</p></blockquote>
<p>OK, now we&#8217;ve grub installed. Shutdown the server and replace sda.<br />
<em>You may need to set the boot sequence in the BIOS to boot the second HD instead of the first.</em></p>
<p><em></em>Once the server comes back online &#8211; we need to partition the second HD the same as the first and then reintroduce it back into the array. We do this as follows:</p>
<blockquote><p># Copy the partition table from sdb and apply it to sda<br />
[server ~]# sfdisk -d /dev/sdb | sfdisk /dev/sda</p>
<p># Reintroduce to the array.<br />
[server ~]# mdadm &#8211;manage /dev/md0 &#8211;add /dev/sda1<br />
[server ~]# mdadm &#8211;manage  /dev/md1 &#8211;add /dev/sda2<br />
[server ~]# mdadm &#8211;manage /dev/md2 &#8211;add /dev/sda5</p></blockquote>
<p>Your done!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bkenny.com/2011/07/22/hardware-replacing-a-disk-in-a-linux-software-raid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

