<?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>TheCodeHouse</title>
	<atom:link href="http://www.thecodehouse.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thecodehouse.com</link>
	<description>&#34;What you said?&#34;</description>
	<lastBuildDate>Sun, 14 Apr 2013 17:10:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>PHP: Format a number to a certain # of decimal places without rounding</title>
		<link>http://www.thecodehouse.com/2012/07/18/php-format-a-number-to-a-certain-of-decimal-places-without-rounding/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=php-format-a-number-to-a-certain-of-decimal-places-without-rounding</link>
		<comments>http://www.thecodehouse.com/2012/07/18/php-format-a-number-to-a-certain-of-decimal-places-without-rounding/#comments</comments>
		<pubDate>Wed, 18 Jul 2012 22:41:43 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.thecodehouse.com/?p=394</guid>
		<description><![CDATA[One way to doit: $val = 7.5678; echo bcdiv($val, '1', 1); //Will produce 7.5 echo bcdiv($val, '1', 2); //Will produce 7.56 echo bcdiv($val, '1', 3); //Will produce 7.567 @see http://php.net/manual/en/function.bcdiv.php]]></description>
				<content:encoded><![CDATA[<p>One way to doit:<br />
<code><br />
$val = 7.5678;<br />
echo bcdiv($val, '1', 1); //Will produce 7.5<br />
echo bcdiv($val, '1', 2); //Will produce 7.56<br />
echo bcdiv($val, '1', 3); //Will produce 7.567<br />
</code></p>
<p>@see <a href="http://php.net/manual/en/function.bcdiv.php" title="http://php.net/manual/en/function.bcdiv.php">http://php.net/manual/en/function.bcdiv.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thecodehouse.com/2012/07/18/php-format-a-number-to-a-certain-of-decimal-places-without-rounding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove password from ssl key file</title>
		<link>http://www.thecodehouse.com/2011/05/16/remove-password-from-ssl-key-file/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=remove-password-from-ssl-key-file</link>
		<comments>http://www.thecodehouse.com/2011/05/16/remove-password-from-ssl-key-file/#comments</comments>
		<pubDate>Tue, 17 May 2011 01:22:24 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[The Garage]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[passphrase]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.thecodehouse.com/?p=352</guid>
		<description><![CDATA[openssl rsa -in keywithpassphrase.key -out keywithoutpassphrase.key]]></description>
				<content:encoded><![CDATA[
<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">openssl rsa <span style="color: #660033;">-in</span> keywithpassphrase.key <span style="color: #660033;">-out</span> keywithoutpassphrase.key</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.thecodehouse.com/2011/05/16/remove-password-from-ssl-key-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH Options</title>
		<link>http://www.thecodehouse.com/2011/04/25/ssh-options/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ssh-options</link>
		<comments>http://www.thecodehouse.com/2011/04/25/ssh-options/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 05:27:08 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[SSH]]></category>
		<category><![CDATA[The Garage]]></category>
		<category><![CDATA[keep alive]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.thecodehouse.com/?p=339</guid>
		<description><![CDATA[Keep the connection alive]]></description>
				<content:encoded><![CDATA[<p><strong>Keep the connection alive</strong></p>
<pre class="brush: bash; light: true; title: ; notranslate">ssh  -o ServerAliveInterval=30</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.thecodehouse.com/2011/04/25/ssh-options/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checking response headers using the command line (console)</title>
		<link>http://www.thecodehouse.com/2011/03/29/checking-response-headers-using-the-command-line-console/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=checking-response-headers-using-the-command-line-console</link>
		<comments>http://www.thecodehouse.com/2011/03/29/checking-response-headers-using-the-command-line-console/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 16:34:09 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[The Garage]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[response headers]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://www.thecodehouse.com/?p=328</guid>
		<description><![CDATA[Use the command below to view the response headers for a given URL. The &#8220;&#8211;spider&#8221; option in the call prevents wget from actually downloading the page/file; it just checks that it exists and returns the headers. &#160; References http://www.gnu.org/software/wget/manual/html_node/Download-Options.html &#160;]]></description>
				<content:encoded><![CDATA[<p>Use the command below to view the response headers for a given URL. The &#8220;&#8211;spider&#8221; option in the call prevents wget from actually downloading the page/file; it just checks that it exists and returns the headers.</p>
<pre class="brush: bash; light: true; title: ; notranslate">wget --server-response --spider http://www.example.com</pre>
<p>&nbsp;</p>
<p><strong>References</strong><br />
<hr />
<a href="http://www.gnu.org/software/wget/manual/html_node/Download-Options.html">http://www.gnu.org/software/wget/manual/html_node/Download-Options.html</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thecodehouse.com/2011/03/29/checking-response-headers-using-the-command-line-console/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Doctrine ORM in a Zend Framework Application</title>
		<link>http://www.thecodehouse.com/2011/03/25/installing-doctrine-orm-in-a-zend-framework-application/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-doctrine-orm-in-a-zend-framework-application</link>
		<comments>http://www.thecodehouse.com/2011/03/25/installing-doctrine-orm-in-a-zend-framework-application/#comments</comments>
		<pubDate>Sat, 26 Mar 2011 05:19:51 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[doctrine]]></category>
		<category><![CDATA[zend framework]]></category>

		<guid isPermaLink="false">http://www.thecodehouse.com/?p=259</guid>
		<description><![CDATA[UPDATE: 2012-04-30 The instructions below have been updated for compatibility with Zend Framework 1.11.11 and Doctrine 2.2.2 . There are a number of methods for integrating Doctrine into a Zend Framework application. Many of the examples on the web detail &#8230; <a href="http://www.thecodehouse.com/2011/03/25/installing-doctrine-orm-in-a-zend-framework-application/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><span style="color: #000000;"><strong>UPDATE: 2012-04-30<br />
</strong><em>The instructions below have been updated for compatibility with Zend Framework 1.11.11 and Doctrine 2.2.2 .</em></span></p>
<p>There are a number of methods for integrating Doctrine into a Zend Framework application. Many of the examples on the web detail how to configure and initialise Doctrine using your applications bootstrap however I prefer using resource plugins. The following describes how I get Doctrine up and running for a Zend Framework application using a resource plugin.</p>
<p>For this tutorial I&#8217;m going to assume you&#8217;ve already got a Zend Framework application up and running; if not <a href="http://www.thecodehouse.com/2011/03/19/zend-framework-application-setup/">see my previous write-up</a> on creating one.</p>
<p>For this tutorial my project&#8217;s root directory is <code>/srv/www/acme</code>. Any time you see that directory please replace it with the path to your project&#8217;s root directory.</p>
<p><em><span id="more-259"></span></em></p>
<p><strong>Step1: Download and Copy</strong></p>
<pre class="brush: bash; title: ; notranslate">
cd ~/Downloads
wget http://www.doctrine-project.org/downloads/DoctrineORM-2.2.2-full.tar.gz
tar -zxvf DoctrineORM-2.2.2-full.tar.gz
cd /srv/www/acme/library
cp -R ~/Downloads/DoctrineORM-2.2.2/Doctrine ./

</pre>
<p><strong>Step 2: Edit the application.ini configuration file</strong><br />
<em>(application/configs/application.ini)</em></p>
<p>1) Add the following to the end of the [production] section:<em> </em></p>
<p><em>Make sure to change the driver/user/pass/dbname options below to reflect your environment. Visit Doctrine&#8217;s site to learn more about which database drivers are available.<br />
</em></p>
<pre class="brush: php; title: ; notranslate">
;doctrine's autoloader namespace
    autoloadernamespaces[] = &quot;Doctrine&quot;

;doctrine resource plugin configuration
    resources.doctrine.db.driver = &quot;pdo_pgsql&quot;
    resources.doctrine.db.host = &quot;localhost&quot;
    resources.doctrine.db.user = &quot;postgres&quot;
    resources.doctrine.db.password = &quot;postgres&quot;
    resources.doctrine.db.dbname = &quot;acme_live&quot;
    resources.doctrine.query.cache = &quot;Doctrine\Common\Cache\ApcCache&quot;
    resources.doctrine.metadata.cache = &quot;Doctrine\Common\Cache\ApcCache&quot;
    resources.doctrine.metadata.driver = &quot;Doctrine\ORM\Mapping\Driver\AnnotationDriver&quot;
    resources.doctrine.metadata.proxyDir = APPLICATION_PATH &quot;/../data/proxies&quot;
    resources.doctrine.metadata.entityDir[] = APPLICATION_PATH &quot;/../library/App/Model/Entity&quot;

;plugin prefixes/paths
    pluginPaths.App_Resource = &quot;App/Resource&quot;</pre>
<p>2) Add the following to the end of the [development : production] section:<em> </em></p>
<p><em>Note: This step is not required but is recommended. If you do not have (or aren&#8217;t going to create) a separate development database then skip this step</em></p>
<pre class="brush: php; title: ; notranslate">
;doctrine resource plugin configuration
    resources.doctrine.db.dbname = &quot;acme_devel&quot;
</pre>
<p><strong>Step 3:Create the plugin</strong><br />
<em>(library/App/Resource/Doctrine.php)</em></p>
<pre class="brush: php; title: ; notranslate">
class App_Resource_Doctrine extends Zend_Application_Resource_ResourceAbstract
{
    /**
     * @var DoctrineORMEntityManager
     */
    protected $em;

    public function init()
    {
        return $this-&gt;getEntityManager();
    }

    public function getEntityManager()
    {
        if (null === $this-&gt;em) {
            $options = $this-&gt;getOptions();
            $config = new \Doctrine\ORM\Configuration();
            $config-&gt;setProxyDir($options['metadata']['proxyDir']);
            $config-&gt;setProxyNamespace('Proxy');
            $config-&gt;setAutoGenerateProxyClasses((APPLICATION_ENV == 'development'));
            $driverImpl = $config-&gt;newDefaultAnnotationDriver($options['metadata']['entityDir']);
            $config-&gt;setMetadataDriverImpl($driverImpl);
            $cache = new \Doctrine\Common\Cache\ArrayCache();
            $config-&gt;setMetadataCacheImpl($cache);
            $config-&gt;setQueryCacheImpl($cache);

            $evm = new \Doctrine\Common\EventManager();
            $this-&gt;em = \Doctrine\ORM\EntityManager::create($options['db'],$config,$evm);
            Zend_Registry::set('doctrine', $this-&gt;em);
        }

        return $this-&gt;em;
    }
}
</pre>
<p><strong>Step 4: Final steps<br />
</strong>We&#8217;re almost done but there&#8217;s a few things our new plugin is going to expect that we haven&#8217;t taken care of yet.</p>
<p>1) Make sure APC is installed (<a href="http://php.net/manual/en/book.apc.php">click here for more information on installing APC</a>)<br />
<em>Also <a href="http://www.doctrine-project.org/docs/orm/2.0/en/reference/introduction.html?highlight=apc#requirements">look here</a> for more information about Doctrine&#8217;s use of APC </em></p>
<p>2) Make sure that our proxy directory (see the resources.doctrine.metadata.proxyDir setting above) exists and it&#8217;s writeable by the webserver.</p>
<pre class="brush: bash; title: ; notranslate">
cd /srv/www/acme
mkdir -p data/proxies
chown www-data:www-data data/proxies

# The user/group my webserver (Apache) runs as is
# www-data, adjust as needed for your setup.
</pre>
<p>3) Create the directory where we&#8217;ll put our entites</p>
<pre class="brush: bash; title: ; notranslate">
cd /srv/www/acme
mkdir -p library/App/Model/Entity
</pre>
<p>&#8230; why the Model/Entity &#8230;. seems redundant? It&#8217;s a personal thing. I like to house all my &#8220;model&#8221; code in <code>library/App/Model</code>. As an example I&#8217;d eventually start dropping services into <code>library/App/Model/Service</code> and I&#8217;d put my repositories in <code>library/App/Model/Repository</code>. The structure has worked well for me on large projects so I&#8217;ve stuck with it.</p>
<p><img alt="check mark" src="http://50.57.147.29/wp-content/uploads/2011/03/check-mark-icon.png" /><strong>Finished!</strong><br />
<em>At this point you should now have a fully functional Doctrine Entity Manager that you can use anywhere</em></p>
<pre class="brush: php; title: ; notranslate">
...
$em = Zend_Registry::get('doctrine');
...
</pre>
<p><em>Now all you have to do is figure out how to use it <img src='http://www.thecodehouse.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  (I&#8217;ll post some examples in the near future). Until then I encourage you to <a href="http://www.doctrine-project.org/docs/orm/2.0/en/reference/basic-mapping.html">start reading here</a>.</em></p>
<p><strong>References</strong></p>
<hr />
<p><a href="http://www.doctrine-project.org/docs/orm/2.0/en/">Doctrine ORM Documentation</a></p>
<p><a href="http://framework.zend.com/manual/en/zend.application.theory-of-operation.html#zend.application.theory-of-operation.resources">Zend Framework Resource Plugins</a></p>
<p><a href="http://www.thecodehouse.com/2011/03/19/zend-framework-application-setup/">Zend Framework Application Setup</a></p>
<p><strong>Environment</strong></p>
<hr />
<p>Ubuntu 10.10</p>
<p>PHP 5.3.3</p>
<p>Zend Framework 1.11.4</p>
<p>Doctrine ORM 2.0.3</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thecodehouse.com/2011/03/25/installing-doctrine-orm-in-a-zend-framework-application/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Zend Framework Application Setup</title>
		<link>http://www.thecodehouse.com/2011/03/19/zend-framework-application-setup/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=zend-framework-application-setup</link>
		<comments>http://www.thecodehouse.com/2011/03/19/zend-framework-application-setup/#comments</comments>
		<pubDate>Sat, 19 Mar 2011 14:55:35 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[modular]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[zend framework]]></category>

		<guid isPermaLink="false">http://www.thecodehouse.com/?p=66</guid>
		<description><![CDATA[Over the past several years I&#8217;ve created a number of Zend Framework applications. For my projects I&#8217;ve found that a &#8220;module&#8221; based directory structure works best. The following describes how I setup my applications using a modular based directory structure. &#8230; <a href="http://www.thecodehouse.com/2011/03/19/zend-framework-application-setup/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><em>Over the past several years I&#8217;ve created a number of Zend Framework applications. For my projects I&#8217;ve found that a &#8220;module&#8221; based directory structure works best. The following describes how I setup my applications using a modular based directory structure.</em></p>
<p><em><span id="more-66"></span></em></p>
<p><strong><br />
Step 1: Download<br />
</strong><a href="http://framework.zend.com/download/latest">http://framework.zend.com/download/latest</a><strong> </strong></p>
<p><strong><br />
Step 2: Install<br />
</strong>Follow the instructions in the &#8220;Create Your Project&#8221; section of Zend Framework&#8217;s Quick Start guide. Only follow the instructions to the &#8220;Checkpoint&#8221; (do not move on to the next step in the guide).<br />
<em><a href="http://framework.zend.com/manual/en/learning.quickstart.create-project.html">http://framework.zend.com/manual/en/learning.quickstart.create-project.html</a></em></p>
<p><strong><br />
Step 3: Create default module</strong></p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">zf create module default</pre></td></tr></table></div>

<p><em><strong>Note:</strong> The exact command I used is:<br />
<code>~/Downloads/ZendFramework-1.11.4-minimal/bin/zf.sh create module default</code></em><br />
<strong> </strong></p>
<p>&nbsp;</p>
<p><strong>Step 4: Edit the application.ini configuration file</strong><br />
<em>(application/configs/application.ini)</em></p>
<p>1) Remove the following line:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="ini" style="font-family:monospace;">resources.frontController.controllerDirectory <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> APPLICATION_PATH </span><span style="color: #933;">&quot;/controllers&quot;</span></pre></td></tr></table></div>

<p>2) Change the following line:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="ini" style="font-family:monospace;">resources.frontController.params.prefixDefaultModule <span style="color: #000066; font-weight:bold;">=</span> <span style="color: #933;">&quot;1&quot;</span></pre></td></tr></table></div>

<p>-to-</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="ini" style="font-family:monospace;">resources.frontController.params.prefixDefaultModule <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> false</span></pre></td></tr></table></div>

<p>3) Add the following to the bottom of the <code>[production]</code> section:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="ini" style="font-family:monospace;">resources.frontController.defaultmodule <span style="color: #000066; font-weight:bold;">=</span> <span style="color: #933;">&quot;default&quot;</span>
resources.modules<span style="">&#91;</span><span style="">&#93;</span> <span style="color: #000066; font-weight:bold;">=</span></pre></td></tr></table></div>

<p>4) Under this line:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000099;">appnamespace</span> <span style="color: #000066; font-weight:bold;">=</span> <span style="color: #933;">&quot;Application&quot;</span></pre></td></tr></table></div>

<p>&#8230;add these lines:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="ini" style="font-family:monospace;">autoloadernamespaces<span style="">&#91;</span><span style="">&#93;</span> <span style="color: #000066; font-weight:bold;">=</span> <span style="color: #933;">&quot;Zend&quot;</span>
autoloadernamespaces<span style="">&#91;</span><span style="">&#93;</span> <span style="color: #000066; font-weight:bold;">=</span> <span style="color: #933;">&quot;App&quot;</span></pre></td></tr></table></div>

<p>&nbsp;</p>
<p><strong>Step 5: Create our &#8220;App&#8221; directory</strong><br />
This is where I like to put all of my application&#8217;s library code/classes. If your going to use a different name for your application&#8217;s library code make sure to adjust the &#8216;autoloadernamespaces[] = &#8220;App&#8221;&#8216; line from the previous step.<em><br />
</em></p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> library<span style="color: #000000; font-weight: bold;">/</span>App</pre></td></tr></table></div>

<p><strong><br />
Step 6: Copy Files and Clean up</strong></p>
<p>Copy all the files in (application/views) to (application/modules/default/views) and clean up</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-R</span> application<span style="color: #000000; font-weight: bold;">/</span>views<span style="color: #000000; font-weight: bold;">/*</span> application<span style="color: #000000; font-weight: bold;">/</span>modules<span style="color: #000000; font-weight: bold;">/</span>default<span style="color: #000000; font-weight: bold;">/</span>views
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-fr</span> application<span style="color: #000000; font-weight: bold;">/</span>views</pre></td></tr></table></div>

<p>Copy all the files in (application/controllers) to (application/modules/default/controllers) and clean up</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-R</span> application<span style="color: #000000; font-weight: bold;">/</span>controllers<span style="color: #000000; font-weight: bold;">/*</span> application<span style="color: #000000; font-weight: bold;">/</span>modules<span style="color: #000000; font-weight: bold;">/</span>default<span style="color: #000000; font-weight: bold;">/</span>controllers
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-fr</span> application<span style="color: #000000; font-weight: bold;">/</span>controllers</pre></td></tr></table></div>

<p>Remove the leftover &#8220;models&#8221; folder</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-fr</span> application<span style="color: #000000; font-weight: bold;">/</span>models</pre></td></tr></table></div>

<p>&nbsp;</p>
<p><img src="http://50.57.147.29/wp-content/uploads/2011/03/check-mark-icon.png" alt="check mark" /><strong>Finished!</strong><br />
<em>At this point you should be able to browse to your project and see the &#8220;Welcome to the Zend Framework!&#8221; welcome page.</em><strong><br />
</strong></p>
<p>&nbsp;</p>
<p><strong>Environment</strong></p>
<hr />
<p>Ubuntu 10.10<br />
PHP 5.3.3<br />
Zend Framework 1.11.4</p>
<p>&nbsp;</p>
<p><strong>References</strong></p>
<hr />
<p><a href="http://framework.zend.com/manual/en/learning.quickstart.intro.html">Zend Framework Quick Start</a><br />
<a href="http://framework.zend.com/manual/en/zend.controller.modular.html">Using a Conventional Modular Directory Structure</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thecodehouse.com/2011/03/19/zend-framework-application-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.10 and my iPhone</title>
		<link>http://www.thecodehouse.com/2011/03/10/ubuntu-10-10-and-my-iphone/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ubuntu-10-10-and-my-iphone</link>
		<comments>http://www.thecodehouse.com/2011/03/10/ubuntu-10-10-and-my-iphone/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 04:36:36 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[The Garage]]></category>

		<guid isPermaLink="false">http://www.thecodehouse.com/?p=60</guid>
		<description><![CDATA[I was getting errors whenever I connected my iPhone to a USB port while running Ubuntu 10.10 &#8230; the following fixed me up: &#8230; I found this @ https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/652617/comments/14]]></description>
				<content:encoded><![CDATA[<p>I was getting errors whenever I connected my iPhone to a USB port while running Ubuntu 10.10 &#8230; the following fixed me up:</p>
<pre class="brush: bash; light: true; title: ; notranslate">
sudo add-apt-repository ppa:pmcenery/ppa
sudo apt-get update
sudo apt-get dist-upgrade
</pre>
<p>&#8230; I found this @ https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/652617/comments/14</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thecodehouse.com/2011/03/10/ubuntu-10-10-and-my-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First Seattle PHP Meetup</title>
		<link>http://www.thecodehouse.com/2011/03/04/first-seattle-php-meetup/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=first-seattle-php-meetup</link>
		<comments>http://www.thecodehouse.com/2011/03/04/first-seattle-php-meetup/#comments</comments>
		<pubDate>Fri, 04 Mar 2011 08:02:37 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[The Garage]]></category>
		<category><![CDATA[php-49]]></category>

		<guid isPermaLink="false">http://www.thecodehouse.com/?p=57</guid>
		<description><![CDATA[Just attended my first meetup/seattle-php-meetup. Looking forward to the next one.]]></description>
				<content:encoded><![CDATA[<p>Just attended my first meetup/seattle-php-meetup. Looking forward to the next one. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.thecodehouse.com/2011/03/04/first-seattle-php-meetup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Logitech Marble Mouse: Ubuntu 10.10</title>
		<link>http://www.thecodehouse.com/2011/02/27/my-logitech-marble-mouse-ubuntu-10-10/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=my-logitech-marble-mouse-ubuntu-10-10</link>
		<comments>http://www.thecodehouse.com/2011/02/27/my-logitech-marble-mouse-ubuntu-10-10/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 03:58:32 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[The Garage]]></category>

		<guid isPermaLink="false">http://www.thecodehouse.com/?p=52</guid>
		<description><![CDATA[1. Create the following file /usr/share/X11/xorg.conf.d/50-marblemouse.conf 2. Paste into the file: Section "InputClass" Identifier "Marble Mouse" MatchProduct "Logitech USB Trackball" MatchIsPointer "on" MatchDevicePath "/dev/input/event*" Driver "evdev" Option "SendCoreEvents" "true" # Physical buttons come from the mouse as: # Big: 1 &#8230; <a href="http://www.thecodehouse.com/2011/02/27/my-logitech-marble-mouse-ubuntu-10-10/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>1. <strong>Create the following file</strong><br />
<code>/usr/share/X11/xorg.conf.d/50-marblemouse.conf</code></p>
<p><strong>2. Paste into the file:</strong><code><br />
Section "InputClass"<br />
    Identifier      "Marble Mouse"<br />
    MatchProduct    "Logitech USB Trackball"<br />
    MatchIsPointer  "on"<br />
    MatchDevicePath "/dev/input/event*"<br />
    Driver          "evdev"<br />
    Option          "SendCoreEvents" "true"</p>
<p>    #  Physical buttons come from the mouse as:<br />
    #     Big:   1 3<br />
    #     Small: 8 9<br />
    #<br />
    # This makes left small button (8) into the middle, and puts<br />
    #  scrolling on the right small button (9).<br />
    #<br />
    Option "Buttons"            "9"<br />
    Option "ButtonMapping"      "1 8 3 4 5 6 7 2 9"<br />
    Option "EmulateWheel"       "true"<br />
    Option "EmulateWheelButton" "8"<br />
    Option "YAxisMapping"       "4 5"<br />
    Option "XAxisMapping"       "6 7"</p>
<p>EndSection<br />
</code><br />
<strong>3. Reboot</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thecodehouse.com/2011/02/27/my-logitech-marble-mouse-ubuntu-10-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Memory: Clearing the cache</title>
		<link>http://www.thecodehouse.com/2010/07/30/memory-clearing-the-cache/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=memory-clearing-the-cache</link>
		<comments>http://www.thecodehouse.com/2010/07/30/memory-clearing-the-cache/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 15:58:12 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[The Garage]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[memory]]></category>

		<guid isPermaLink="false">http://www.thecodehouse.com/2010/07/30/memory-clearing-the-cache/</guid>
		<description><![CDATA[> sync > echo 3 > /proc/sys/vm/drop_caches]]></description>
				<content:encoded><![CDATA[<p>> sync<br />
> echo 3 > /proc/sys/vm/drop_caches</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thecodehouse.com/2010/07/30/memory-clearing-the-cache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
