<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Optimus Pete</title>
	<atom:link href="http://tech.petegraham.co.uk/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.petegraham.co.uk</link>
	<description>yes i love technology</description>
	<lastBuildDate>Thu, 19 Aug 2010 08:26:20 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on OS X: Terminal launch finder for current directory by Pete</title>
		<link>http://tech.petegraham.co.uk/2010/07/16/os-x-terminal-launch-finder-for-current-directory/comment-page-1/#comment-110316</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Thu, 19 Aug 2010 08:26:20 +0000</pubDate>
		<guid isPermaLink="false">http://tech.petegraham.co.uk/?p=156#comment-110316</guid>
		<description>Just typing &#039;open&#039; for me displays the options available for the open command.</description>
		<content:encoded><![CDATA[<p>Just typing &#8216;open&#8217; for me displays the options available for the open command.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OS X: Terminal launch finder for current directory by John Plein</title>
		<link>http://tech.petegraham.co.uk/2010/07/16/os-x-terminal-launch-finder-for-current-directory/comment-page-1/#comment-110304</link>
		<dc:creator>John Plein</dc:creator>
		<pubDate>Thu, 19 Aug 2010 07:09:40 +0000</pubDate>
		<guid isPermaLink="false">http://tech.petegraham.co.uk/?p=156#comment-110304</guid>
		<description>Instead of &#039;open `pwd`&#039; you can also type &#039;open .&#039;</description>
		<content:encoded><![CDATA[<p>Instead of &#8216;open `pwd`&#8217; you can also type &#8216;open .&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP: Remove Values from Array by Carl</title>
		<link>http://tech.petegraham.co.uk/2007/03/22/php-remove-values-from-array/comment-page-1/#comment-109789</link>
		<dc:creator>Carl</dc:creator>
		<pubDate>Sun, 15 Aug 2010 20:13:45 +0000</pubDate>
		<guid isPermaLink="false">http://tech.petegraham.co.uk/2007/03/22/php-remove-values-from-array/#comment-109789</guid>
		<description>Thank you for this succinct bit of code. It was exactly what I was looking for.</description>
		<content:encoded><![CDATA[<p>Thank you for this succinct bit of code. It was exactly what I was looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Vim: Search and Replace, Insert new line by chris</title>
		<link>http://tech.petegraham.co.uk/2007/05/03/vim-search-and-replace-insert-new-line/comment-page-1/#comment-103652</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Thu, 08 Jul 2010 02:24:10 +0000</pubDate>
		<guid isPermaLink="false">http://tech.petegraham.co.uk/2007/05/03/vim-search-and-replace-insert-new-line/#comment-103652</guid>
		<description>worked a treat, thanks!</description>
		<content:encoded><![CDATA[<p>worked a treat, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Vim: Search and Replace, Insert new line by Casey Wise</title>
		<link>http://tech.petegraham.co.uk/2007/05/03/vim-search-and-replace-insert-new-line/comment-page-1/#comment-103571</link>
		<dc:creator>Casey Wise</dc:creator>
		<pubDate>Wed, 07 Jul 2010 13:39:04 +0000</pubDate>
		<guid isPermaLink="false">http://tech.petegraham.co.uk/2007/05/03/vim-search-and-replace-insert-new-line/#comment-103571</guid>
		<description>Thank you so much for the easily googleable content and helpful post.  Saved me a ton of time!</description>
		<content:encoded><![CDATA[<p>Thank you so much for the easily googleable content and helpful post.  Saved me a ton of time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Vim: Search and Replace, Insert new line by Hemo</title>
		<link>http://tech.petegraham.co.uk/2007/05/03/vim-search-and-replace-insert-new-line/comment-page-1/#comment-101351</link>
		<dc:creator>Hemo</dc:creator>
		<pubDate>Fri, 11 Jun 2010 21:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://tech.petegraham.co.uk/2007/05/03/vim-search-and-replace-insert-new-line/#comment-101351</guid>
		<description>Thank you for this. I work in vi under *nix and was fuddled the Ctrl-VCtrl-M approach wasn&#039;t working on a DOS format file.</description>
		<content:encoded><![CDATA[<p>Thank you for this. I work in vi under *nix and was fuddled the Ctrl-VCtrl-M approach wasn&#8217;t working on a DOS format file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP: Get First Index in Associative Array by Tom</title>
		<link>http://tech.petegraham.co.uk/2007/05/15/php-get-first-index-in-associative-array/comment-page-1/#comment-85240</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Thu, 03 Dec 2009 20:38:43 +0000</pubDate>
		<guid isPermaLink="false">http://tech.petegraham.co.uk/2007/05/15/php-get-first-index-in-associative-array/#comment-85240</guid>
		<description>reset is much better, please update your (dirty) post ;-)

But you could make a more usefull function:

		public static function getItemAt($collection,$index)
		{			
			if ($index &gt;= 0 &amp;&amp; $index &lt; count($collection))
			{
				$i = 0;
				
				foreach ($collection AS $item)
				{
					if ($i++ == $index)
					{
						return $item;
					}
				}
			}
			
			return null;
		}</description>
		<content:encoded><![CDATA[<p>reset is much better, please update your (dirty) post <img src='http://tech.petegraham.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>But you could make a more usefull function:</p>
<p>		public static function getItemAt($collection,$index)<br />
		{<br />
			if ($index &gt;= 0 &amp;&amp; $index &lt; count($collection))<br />
			{<br />
				$i = 0;</p>
<p>				foreach ($collection AS $item)<br />
				{<br />
					if ($i++ == $index)<br />
					{<br />
						return $item;<br />
					}<br />
				}<br />
			}</p>
<p>			return null;<br />
		}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP: Remove Values from Array by DEVTRENCH</title>
		<link>http://tech.petegraham.co.uk/2007/03/22/php-remove-values-from-array/comment-page-1/#comment-78819</link>
		<dc:creator>DEVTRENCH</dc:creator>
		<pubDate>Fri, 31 Jul 2009 20:14:16 +0000</pubDate>
		<guid isPermaLink="false">http://tech.petegraham.co.uk/2007/03/22/php-remove-values-from-array/#comment-78819</guid>
		<description>Many thanks for posting this code snippet.  It helped me out and it works well.</description>
		<content:encoded><![CDATA[<p>Many thanks for posting this code snippet.  It helped me out and it works well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on My Favourite Electrical Connections by CHARLIE</title>
		<link>http://tech.petegraham.co.uk/2007/03/19/my-favourite-electrical-connections/comment-page-1/#comment-76068</link>
		<dc:creator>CHARLIE</dc:creator>
		<pubDate>Thu, 25 Jun 2009 02:02:15 +0000</pubDate>
		<guid isPermaLink="false">http://tech.petegraham.co.uk/2007/03/19/my-favourite-electrical-connections/#comment-76068</guid>
		<description>YOUR PICTURE RANKS #3 IN gOOGLE IMAGE SEARCH FOR &quot;SCART PINS&quot; AND THE DIAGRAM IS WRONG!!!  PLEASE CORRECT IT ASAP!</description>
		<content:encoded><![CDATA[<p>YOUR PICTURE RANKS #3 IN gOOGLE IMAGE SEARCH FOR &#8220;SCART PINS&#8221; AND THE DIAGRAM IS WRONG!!!  PLEASE CORRECT IT ASAP!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Keep scummers out of your .svn directories by Andrew</title>
		<link>http://tech.petegraham.co.uk/2007/01/26/keep-scummers-out-of-your-svn-directories/comment-page-1/#comment-75332</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Tue, 16 Jun 2009 20:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://tech.petegraham.co.uk/2007/01/26/keep-scummers-out-of-your-svn-directories/#comment-75332</guid>
		<description>Perfect example!!! I was looking for something straight forward for this and this is great.

One thing to add, if you run an SSL site, it appears this needs to be in the apache ssl conf if you have one.</description>
		<content:encoded><![CDATA[<p>Perfect example!!! I was looking for something straight forward for this and this is great.</p>
<p>One thing to add, if you run an SSL site, it appears this needs to be in the apache ssl conf if you have one.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

