<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"> <channel><title>Geoffrey Garbers</title> <link>http://garbers.co.za</link> <description>Thoughts on everything from PHP to photography</description> <lastBuildDate>Thu, 26 Apr 2012 08:25:17 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/geoffgarbers" /><feedburner:info uri="geoffgarbers" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><title>Limiting download speeds with Ubuntu’s apt-get</title><link>http://feedproxy.google.com/~r/geoffgarbers/~3/FeAIjScnJv8/</link> <comments>http://garbers.co.za/2012/02/10/limiting-download-speeds-with-ubuntus-apt-get/#comments</comments> <pubDate>Fri, 10 Feb 2012 17:32:09 +0000</pubDate> <dc:creator>Geoff Garbers</dc:creator> <category><![CDATA[Operating Systems]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[OS]]></category> <guid isPermaLink="false">http://garbers.co.za/?p=666</guid> <description>So, you&amp;#8217;re on Ubuntu, and you&amp;#8217;re needing to download and apply updates. The problem is; you&amp;#8217;re on a shared connection, or you&amp;#8217;re still wanting to continue browsing at a decent speed. Nobody likes a bandwidth hog, right? Well, thankfully, there is a way to limit bandwidth usage, even though there isn&amp;#8217;t an easy-to-use option. The example [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=FeAIjScnJv8:8VNdUs-bqJQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=FeAIjScnJv8:8VNdUs-bqJQ:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=FeAIjScnJv8:8VNdUs-bqJQ:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=FeAIjScnJv8:8VNdUs-bqJQ:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=FeAIjScnJv8:8VNdUs-bqJQ:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=FeAIjScnJv8:8VNdUs-bqJQ:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/geoffgarbers/~4/FeAIjScnJv8" height="1" width="1"/&gt;</description> <wfw:commentRss>http://garbers.co.za/2012/02/10/limiting-download-speeds-with-ubuntus-apt-get/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://garbers.co.za/2012/02/10/limiting-download-speeds-with-ubuntus-apt-get/</feedburner:origLink></item> <item><title>SSH into a Linux machine without entering a password</title><link>http://feedproxy.google.com/~r/geoffgarbers/~3/9d8GuN1EDc8/</link> <comments>http://garbers.co.za/2012/02/10/ssh-into-a-linux-machine-without-entering-a-password/#comments</comments> <pubDate>Fri, 10 Feb 2012 04:15:21 +0000</pubDate> <dc:creator>Geoff Garbers</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Operating Systems]]></category> <category><![CDATA[Command line]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[useful]]></category> <guid isPermaLink="false">http://garbers.co.za/?p=636</guid> <description>Tired of typing in your password everytime you SSH into your Linux box? Learn how to quickly and easily generate an SSH key, and share it between your server and yourself, thereby removing the necessity to enter a password in every time.&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=9d8GuN1EDc8:c049kH2lR8k:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=9d8GuN1EDc8:c049kH2lR8k:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=9d8GuN1EDc8:c049kH2lR8k:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=9d8GuN1EDc8:c049kH2lR8k:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=9d8GuN1EDc8:c049kH2lR8k:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=9d8GuN1EDc8:c049kH2lR8k:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/geoffgarbers/~4/9d8GuN1EDc8" height="1" width="1"/&gt;</description> <wfw:commentRss>http://garbers.co.za/2012/02/10/ssh-into-a-linux-machine-without-entering-a-password/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://garbers.co.za/2012/02/10/ssh-into-a-linux-machine-without-entering-a-password/</feedburner:origLink></item> <item><title>Bootstrapping plugin configuration in CakePHP 2</title><link>http://feedproxy.google.com/~r/geoffgarbers/~3/UC63PyaGu88/</link> <comments>http://garbers.co.za/2012/02/08/bootstrapping-plugin-configuration-in-cakephp-2/#comments</comments> <pubDate>Wed, 08 Feb 2012 15:30:00 +0000</pubDate> <dc:creator>Geoff Garbers</dc:creator> <category><![CDATA[Development]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[CakePHP]]></category> <guid isPermaLink="false">http://garbers.co.za/?p=629</guid> <description>A new feature in CakePHP 2 is the ability to selectively enable and disable plugins in your APP/Config/bootstrap.php file. Plugins are no longer enabled by default in CakePHP 2 &amp;#8211; you have to specifically enable them. However, with this functionality comes the ability to load up plugin bootstrap and routing configuration files. However, something to [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=UC63PyaGu88:Z5_hUcoYRFc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=UC63PyaGu88:Z5_hUcoYRFc:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=UC63PyaGu88:Z5_hUcoYRFc:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=UC63PyaGu88:Z5_hUcoYRFc:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=UC63PyaGu88:Z5_hUcoYRFc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=UC63PyaGu88:Z5_hUcoYRFc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/geoffgarbers/~4/UC63PyaGu88" height="1" width="1"/&gt;</description> <wfw:commentRss>http://garbers.co.za/2012/02/08/bootstrapping-plugin-configuration-in-cakephp-2/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://garbers.co.za/2012/02/08/bootstrapping-plugin-configuration-in-cakephp-2/</feedburner:origLink></item> <item><title>Umount: mount disagrees with the fstab</title><link>http://feedproxy.google.com/~r/geoffgarbers/~3/_PIr3GskUtM/</link> <comments>http://garbers.co.za/2012/02/07/umount-mount-disagrees-with-the-fstab/#comments</comments> <pubDate>Tue, 07 Feb 2012 09:15:46 +0000</pubDate> <dc:creator>Geoff Garbers</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Operating Systems]]></category> <guid isPermaLink="false">http://garbers.co.za/?p=649</guid> <description>When setting up a network or SSHFS mountpoint in your fstab for normal user use, you may have come across an issue where issuing a umount command (after mounting the share, of course) produces an error: mount disagrees with the fstab. Well, I have a solution below that helps to resolve this. If you&amp;#8217;re not 100% sure [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=_PIr3GskUtM:CNmXrJ-FCzc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=_PIr3GskUtM:CNmXrJ-FCzc:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=_PIr3GskUtM:CNmXrJ-FCzc:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=_PIr3GskUtM:CNmXrJ-FCzc:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=_PIr3GskUtM:CNmXrJ-FCzc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=_PIr3GskUtM:CNmXrJ-FCzc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/geoffgarbers/~4/_PIr3GskUtM" height="1" width="1"/&gt;</description> <wfw:commentRss>http://garbers.co.za/2012/02/07/umount-mount-disagrees-with-the-fstab/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://garbers.co.za/2012/02/07/umount-mount-disagrees-with-the-fstab/</feedburner:origLink></item> <item><title>Installing the debug version of Adobe Flash in Linux</title><link>http://feedproxy.google.com/~r/geoffgarbers/~3/BZM6KEh202g/</link> <comments>http://garbers.co.za/2012/01/12/installing-the-debug-version-of-adobe-flash-in-linux/#comments</comments> <pubDate>Thu, 12 Jan 2012 11:00:57 +0000</pubDate> <dc:creator>Geoff Garbers</dc:creator> <category><![CDATA[Development]]></category> <guid isPermaLink="false">http://garbers.co.za/?p=617</guid> <description>Debugging and viewing trace outputs from Adobe Flash can be tricky. I look at it installing the Adobe Flash debugger in this post, and provide some ways of monitoring the output generated by this debugger.&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=BZM6KEh202g:YQLyLds0T1I:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=BZM6KEh202g:YQLyLds0T1I:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=BZM6KEh202g:YQLyLds0T1I:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=BZM6KEh202g:YQLyLds0T1I:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=BZM6KEh202g:YQLyLds0T1I:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=BZM6KEh202g:YQLyLds0T1I:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/geoffgarbers/~4/BZM6KEh202g" height="1" width="1"/&gt;</description> <wfw:commentRss>http://garbers.co.za/2012/01/12/installing-the-debug-version-of-adobe-flash-in-linux/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://garbers.co.za/2012/01/12/installing-the-debug-version-of-adobe-flash-in-linux/</feedburner:origLink></item> <item><title>Using a non-breaking space in UTF-8 documents</title><link>http://feedproxy.google.com/~r/geoffgarbers/~3/s_-0RTMIkqk/</link> <comments>http://garbers.co.za/2011/09/22/using-a-non-breaking-space-in-utf-8-documents/#comments</comments> <pubDate>Thu, 22 Sep 2011 09:04:04 +0000</pubDate> <dc:creator>Geoff Garbers</dc:creator> <category><![CDATA[Uncategorized]]></category> <guid isPermaLink="false">http://garbers.co.za/?p=597</guid> <description>I&amp;#8217;m pedantic when it comes to displaying nested items in a dropdown. I like to ensure that sub-items are suitably indented. My preference is to do this using spaces only. However, the problem in HTML is that multiple spaces are considered as one. Which blows this out of the water. Why not just use a [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=s_-0RTMIkqk:ltvkgiv3QIg:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=s_-0RTMIkqk:ltvkgiv3QIg:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=s_-0RTMIkqk:ltvkgiv3QIg:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=s_-0RTMIkqk:ltvkgiv3QIg:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=s_-0RTMIkqk:ltvkgiv3QIg:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=s_-0RTMIkqk:ltvkgiv3QIg:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/geoffgarbers/~4/s_-0RTMIkqk" height="1" width="1"/&gt;</description> <wfw:commentRss>http://garbers.co.za/2011/09/22/using-a-non-breaking-space-in-utf-8-documents/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://garbers.co.za/2011/09/22/using-a-non-breaking-space-in-utf-8-documents/</feedburner:origLink></item> <item><title>Why I *still* won’t host in South Africa</title><link>http://feedproxy.google.com/~r/geoffgarbers/~3/4l7mv6QlRDk/</link> <comments>http://garbers.co.za/2011/09/21/why-i-still-wont-host-in-south-africa/#comments</comments> <pubDate>Wed, 21 Sep 2011 08:23:41 +0000</pubDate> <dc:creator>Geoff Garbers</dc:creator> <category><![CDATA[Hardware]]></category> <guid isPermaLink="false">http://garbers.co.za/?p=574</guid> <description>I would much rather host with a hosting company in South Africa.
Recently, I did some research with a view to move away from my current US-based hosting provider (A Small Orange) in favour of a South African-based provider.
The comparisons only made me realise how little I pay for what I get, and what great value for money I’m getting!&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=4l7mv6QlRDk:NtfJWw8dSPg:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=4l7mv6QlRDk:NtfJWw8dSPg:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=4l7mv6QlRDk:NtfJWw8dSPg:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=4l7mv6QlRDk:NtfJWw8dSPg:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=4l7mv6QlRDk:NtfJWw8dSPg:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=4l7mv6QlRDk:NtfJWw8dSPg:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/geoffgarbers/~4/4l7mv6QlRDk" height="1" width="1"/&gt;</description> <wfw:commentRss>http://garbers.co.za/2011/09/21/why-i-still-wont-host-in-south-africa/feed/</wfw:commentRss> <slash:comments>6</slash:comments> <feedburner:origLink>http://garbers.co.za/2011/09/21/why-i-still-wont-host-in-south-africa/</feedburner:origLink></item> <item><title>Static pages in CakePHP</title><link>http://feedproxy.google.com/~r/geoffgarbers/~3/diXoIrmcsBc/</link> <comments>http://garbers.co.za/2011/06/01/static-pages-in-cakephp/#comments</comments> <pubDate>Wed, 01 Jun 2011 06:20:36 +0000</pubDate> <dc:creator>Geoff Garbers</dc:creator> <category><![CDATA[Development]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[CakePHP]]></category> <guid isPermaLink="false">http://garbers.co.za/?p=548</guid> <description>Generating static pages in CakePHP, without having "/pages/pagename" in your URL has always been a tediously manual affair. However, there is a way to automagically generate the routes for these pages. I'll show you how in this post.&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=diXoIrmcsBc:RICzRVqVsdU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=diXoIrmcsBc:RICzRVqVsdU:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=diXoIrmcsBc:RICzRVqVsdU:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=diXoIrmcsBc:RICzRVqVsdU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=diXoIrmcsBc:RICzRVqVsdU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=diXoIrmcsBc:RICzRVqVsdU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/geoffgarbers/~4/diXoIrmcsBc" height="1" width="1"/&gt;</description> <wfw:commentRss>http://garbers.co.za/2011/06/01/static-pages-in-cakephp/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://garbers.co.za/2011/06/01/static-pages-in-cakephp/</feedburner:origLink></item> <item><title>Retrieving the current script’s directory in bash</title><link>http://feedproxy.google.com/~r/geoffgarbers/~3/pPDeEGErqBM/</link> <comments>http://garbers.co.za/2011/05/30/retrieving-the-current-scripts-directory-in-bash/#comments</comments> <pubDate>Mon, 30 May 2011 05:30:15 +0000</pubDate> <dc:creator>Geoff Garbers</dc:creator> <category><![CDATA[Bash]]></category> <category><![CDATA[Development]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[useful]]></category> <guid isPermaLink="false">http://garbers.co.za/?p=541</guid> <description>When writing bash scripts to run on Linux, it's often useful to perform operations relative to the executing script's current directory. But how do you get the absolute path to this directory? I have a useful little script that will get the current working path for you.&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=pPDeEGErqBM:PJP93tq5TW4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=pPDeEGErqBM:PJP93tq5TW4:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=pPDeEGErqBM:PJP93tq5TW4:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=pPDeEGErqBM:PJP93tq5TW4:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=pPDeEGErqBM:PJP93tq5TW4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=pPDeEGErqBM:PJP93tq5TW4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/geoffgarbers/~4/pPDeEGErqBM" height="1" width="1"/&gt;</description> <wfw:commentRss>http://garbers.co.za/2011/05/30/retrieving-the-current-scripts-directory-in-bash/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://garbers.co.za/2011/05/30/retrieving-the-current-scripts-directory-in-bash/</feedburner:origLink></item> <item><title>PHP memory management for variables</title><link>http://feedproxy.google.com/~r/geoffgarbers/~3/Jfj8mnx1dTw/</link> <comments>http://garbers.co.za/2011/05/26/php-memory-management-for-variables/#comments</comments> <pubDate>Thu, 26 May 2011 09:52:19 +0000</pubDate> <dc:creator>Geoff Garbers</dc:creator> <category><![CDATA[Development]]></category> <category><![CDATA[PHP]]></category> <guid isPermaLink="false">http://garbers.co.za/?p=533</guid> <description>I just stumbled across a super useful blog post on the internals for PHP&amp;#8217;s memory management; and explains the management process quite well. It&amp;#8217;s an old article (from 2008), and I&amp;#8217;m not too sure how much the memory management has changed, but it still provides some good principles. Think twice before passing that variable by [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=Jfj8mnx1dTw:nEyieq0Bz-4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=Jfj8mnx1dTw:nEyieq0Bz-4:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=Jfj8mnx1dTw:nEyieq0Bz-4:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=Jfj8mnx1dTw:nEyieq0Bz-4:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/geoffgarbers?a=Jfj8mnx1dTw:nEyieq0Bz-4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/geoffgarbers?i=Jfj8mnx1dTw:nEyieq0Bz-4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/geoffgarbers/~4/Jfj8mnx1dTw" height="1" width="1"/&gt;</description> <wfw:commentRss>http://garbers.co.za/2011/05/26/php-memory-management-for-variables/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://garbers.co.za/2011/05/26/php-memory-management-for-variables/</feedburner:origLink></item> </channel> </rss><!-- Dynamic page generated in 0.259 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-04-26 10:40:19 --><!-- Compression = gzip -->

