<?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>Trent Richardson &#187; Linux</title>
	<atom:link href="http://trentrichardson.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://trentrichardson.com</link>
	<description>practical web design &#38; development</description>
	<lastBuildDate>Thu, 29 Jul 2010 12:02:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Ready or Not, Here Ubuntu Comes!</title>
		<link>http://trentrichardson.com/2010/04/26/ready-or-not-here-ubuntu-comes/</link>
		<comments>http://trentrichardson.com/2010/04/26/ready-or-not-here-ubuntu-comes/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 01:59:07 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=607</guid>
		<description><![CDATA[As many of you know I use Ubuntu on a daily basis. All of my web development is done with it, unless I&#8217;m forced to develop something on a Winders platform. It seems though Ubuntu 10.04 is already upon us and I&#8217;ve hardly noticed! Well.. it&#8217;s nearly here.. Ubuntu has upgraded Gnome, the kernel, new [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2008/01/05/ubuntu-804-a-smart-theme-could-propel/' rel='bookmark' title='Permanent Link: Ubuntu 8.04: A Smart Theme Could Propel'>Ubuntu 8.04: A Smart Theme Could Propel</a></li>
<li><a href='http://trentrichardson.com/2009/04/10/getting-excited-about-the-new-ubuntu/' rel='bookmark' title='Permanent Link: Getting Excited About the New Ubuntu'>Getting Excited About the New Ubuntu</a></li>
<li><a href='http://trentrichardson.com/2008/08/25/ubuntu-will-be-the-one/' rel='bookmark' title='Permanent Link: Ubuntu Will Be the One'>Ubuntu Will Be the One</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><span class="alignleft"><br />
<script type="text/javascript" src="http://www.ubuntu.com/files/countdown/display2.js"></script><br />
</span></p>
<p>As many of you know I use Ubuntu on a daily basis.  All of my web development is done with it, unless I&#8217;m forced to develop something on a Winders platform.  It seems though <a href="http://www.ubuntu.com/">Ubuntu</a> 10.04 is already upon us and I&#8217;ve hardly noticed!  Well.. it&#8217;s nearly here..</p>
<p>Ubuntu has upgraded Gnome, the kernel, new themes, adding Gwibber for social networking, and also a new online music store.  Seems to me like they&#8217;re trying to push their way in to the hip crowd.  All sounds good to me as long as I have gEdit!  I&#8217;ve not figured out why I just can&#8217;t be pleased with the themes.  Maybe they just take time to grow on me?  Anyway, its almost here, don&#8217;t forget to upgrade!  Do any of you readers use Ubuntu? Or am I the odd ball?</p>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2008/01/05/ubuntu-804-a-smart-theme-could-propel/' rel='bookmark' title='Permanent Link: Ubuntu 8.04: A Smart Theme Could Propel'>Ubuntu 8.04: A Smart Theme Could Propel</a></li>
<li><a href='http://trentrichardson.com/2009/04/10/getting-excited-about-the-new-ubuntu/' rel='bookmark' title='Permanent Link: Getting Excited About the New Ubuntu'>Getting Excited About the New Ubuntu</a></li>
<li><a href='http://trentrichardson.com/2008/08/25/ubuntu-will-be-the-one/' rel='bookmark' title='Permanent Link: Ubuntu Will Be the One'>Ubuntu Will Be the One</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2010/04/26/ready-or-not-here-ubuntu-comes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gedit PHP Completion and Collaboration</title>
		<link>http://trentrichardson.com/2010/02/19/gedit-php-completion-collaboratio/</link>
		<comments>http://trentrichardson.com/2010/02/19/gedit-php-completion-collaboratio/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 12:50:24 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=498</guid>
		<description><![CDATA[If you&#8217;re a gEdit fan like I am you will be excited to see these plugins by Jesse van den Kieboom. First off a php completion plugin. This is something I&#8217;ve been hoping to find for quite some time. You can find it over at GitHub. The second thing is Collaboration. While I haven&#8217;t played [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2009/11/02/handy-gedit-snippet-how-to-comment/' rel='bookmark' title='Permanent Link: Handy gEdit Snippet How To: Comment'>Handy gEdit Snippet How To: Comment</a></li>
<li><a href='http://trentrichardson.com/2009/04/01/possibly-the-best-svn-plugin-for-gedit/' rel='bookmark' title='Permanent Link: Possibly the Best SVN Plugin for gEdit'>Possibly the Best SVN Plugin for gEdit</a></li>
<li><a href='http://trentrichardson.com/2008/11/18/code-editor-fantasies/' rel='bookmark' title='Permanent Link: Code Editor Fantasies'>Code Editor Fantasies</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re a gEdit fan like I am you will be excited to see these plugins by <a href="http://blogs.gnome.org/jessevdk/">Jesse van den Kieboom</a>.  First off a php completion plugin.  This is something I&#8217;ve been hoping to find for quite some time.  You can find it over at <a href="http://github.com/jessevdk/gedit-php-completion">GitHub</a>.  The second thing is <a href="http://blogs.gnome.org/jessevdk/2010/02/15/gedit-gobby-collaboration/">Collaboration</a>.  While I haven&#8217;t played with this personally I watched the video and it looks pretty sweet:</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/rXzI2dInXKI&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/rXzI2dInXKI&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="425" height="344"></embed></object></p>
<p>I believe <a href="http://www.panic.com/coda/">Coda</a> already has this feature, so its nice to see it show up in gEdit, which has become my editor of choice lately.</p>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2009/11/02/handy-gedit-snippet-how-to-comment/' rel='bookmark' title='Permanent Link: Handy gEdit Snippet How To: Comment'>Handy gEdit Snippet How To: Comment</a></li>
<li><a href='http://trentrichardson.com/2009/04/01/possibly-the-best-svn-plugin-for-gedit/' rel='bookmark' title='Permanent Link: Possibly the Best SVN Plugin for gEdit'>Possibly the Best SVN Plugin for gEdit</a></li>
<li><a href='http://trentrichardson.com/2008/11/18/code-editor-fantasies/' rel='bookmark' title='Permanent Link: Code Editor Fantasies'>Code Editor Fantasies</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2010/02/19/gedit-php-completion-collaboratio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Set JAVA_HOME in Ubuntu</title>
		<link>http://trentrichardson.com/2010/02/10/how-to-set-java_home-in-ubuntu/</link>
		<comments>http://trentrichardson.com/2010/02/10/how-to-set-java_home-in-ubuntu/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 12:46:21 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=478</guid>
		<description><![CDATA[This post is more for my memory than anything. I always forget and need to dig around to figure out how (or more importantly &#8220;where&#8221;) to set JAVA_HOME in Ubuntu. It&#8217;s pretty simple. Find the location of your jvm. ex: /usr/lib/jvm/java-6-sun/ Add a line to your environment file: sudo pico /etc/environment Then just add the [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2010/02/08/installing-memcached-on-ubuntu-for-php/' rel='bookmark' title='Permanent Link: Installing Memcached on Ubuntu for PHP'>Installing Memcached on Ubuntu for PHP</a></li>
<li><a href='http://trentrichardson.com/2009/04/21/what-happens-with-mysql-virtualbox-java/' rel='bookmark' title='Permanent Link: What Happens with MySQL? VirtualBox? Java?'>What Happens with MySQL? VirtualBox? Java?</a></li>
<li><a href='http://trentrichardson.com/2008/04/21/localhost-subdomains-on-ubuntu/' rel='bookmark' title='Permanent Link: Localhost Subdomains on Ubuntu'>Localhost Subdomains on Ubuntu</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This post is more for my memory than anything.  I always forget and need to dig around to figure out how (or more importantly &#8220;where&#8221;) to set JAVA_HOME in Ubuntu.  It&#8217;s pretty simple.</p>
<ol>
<li>Find the location of your jvm.  ex: /usr/lib/jvm/java-6-sun/</li>
<li>Add a line to your environment file:
<pre><code class="bash">
sudo pico /etc/environment
</code></pre>
<p>Then just add the following to the end (or whatever the location of your jvm was):</p>
<pre><code class="bash">
JAVA_HOME=/usr/lib/jvm/java-6-sun/
</code></pre>
</li>
<li>Log out, and log back in.</li>
<li>Open a terminal and run &#8220;echo $JAVA_HOME&#8221;, which should give you /usr/lib/jvm/java-6-sun/</li>
</ol>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2010/02/08/installing-memcached-on-ubuntu-for-php/' rel='bookmark' title='Permanent Link: Installing Memcached on Ubuntu for PHP'>Installing Memcached on Ubuntu for PHP</a></li>
<li><a href='http://trentrichardson.com/2009/04/21/what-happens-with-mysql-virtualbox-java/' rel='bookmark' title='Permanent Link: What Happens with MySQL? VirtualBox? Java?'>What Happens with MySQL? VirtualBox? Java?</a></li>
<li><a href='http://trentrichardson.com/2008/04/21/localhost-subdomains-on-ubuntu/' rel='bookmark' title='Permanent Link: Localhost Subdomains on Ubuntu'>Localhost Subdomains on Ubuntu</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2010/02/10/how-to-set-java_home-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Memcached on Ubuntu for PHP</title>
		<link>http://trentrichardson.com/2010/02/08/installing-memcached-on-ubuntu-for-php/</link>
		<comments>http://trentrichardson.com/2010/02/08/installing-memcached-on-ubuntu-for-php/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 23:26:46 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=473</guid>
		<description><![CDATA[I&#8217;ve been playing around with caching and php, and thought I&#8217;d give a little insight on installing memcached on Ubuntu, and enable php-memcached. First start out by opening up your Synaptic Package Manager, search for &#8220;php memcached&#8221;. Select and install &#8220;memcached&#8221; and &#8220;php5-memcache&#8221; Now everything should be installed. Restart Apache for php to recognize the [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2008/04/21/localhost-subdomains-on-ubuntu/' rel='bookmark' title='Permanent Link: Localhost Subdomains on Ubuntu'>Localhost Subdomains on Ubuntu</a></li>
<li><a href='http://trentrichardson.com/2010/01/11/connect-to-sql-server-from-ubuntu-part-ii/' rel='bookmark' title='Permanent Link: Connect to SQL Server from Ubuntu: Part II'>Connect to SQL Server from Ubuntu: Part II</a></li>
<li><a href='http://trentrichardson.com/2008/11/12/intrepid-ibex-and-apache2-virtualhosts/' rel='bookmark' title='Permanent Link: Intrepid Ibex and Apache2 VirtualHost'>Intrepid Ibex and Apache2 VirtualHost</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing around with caching and php, and thought I&#8217;d give a little insight on installing memcached on Ubuntu, and enable php-memcached.  First start out by opening up your Synaptic Package Manager, search for &#8220;php memcached&#8221;.  Select and install &#8220;memcached&#8221; and &#8220;php5-memcache&#8221;</p>
<p><a href="http://trentrichardson.com/wp-content/uploads/2010/02/memcached_synaptic_screenshot.jpg"><img src="http://trentrichardson.com/wp-content/uploads/2010/02/memcached_synaptic_screenshot.jpg" alt="" title="synaptic" width="500" height="357" class="alignnone size-full wp-image-475" /></a></p>
<p>Now everything should be installed.  Restart Apache for php to recognize the new extension:</p>
<pre><code class="shell">
sudo apache2ctl restart
</code></pre>
<p>Now if you run a php script with phpinfo(); you should see a new section for memcached.</p>
<p>Next you will need to start memcache server, but before you attempt, I&#8217;ll let you know you&#8217;re going to get the following error: <strong>Starting memcached: memcached disabled in /etc/default/memcached.</strong>  By default memcache installs with it&#8217;s startup script disabled(why I don&#8217;t know). So we need to start her up.  All you have to do is open it&#8217;s config file and change one setting (there are comments in the file to indicate what to do):</p>
<pre><code class="shell">
sudo pico /etc/default/memcached
</code></pre>
<p>Now you will be able to edit the file.  Set ENABLE_MEMCACHED=yes</p>
<p><a href="http://trentrichardson.com/wp-content/uploads/2010/02/enable_memcached_screenshot.jpg"><img src="http://trentrichardson.com/wp-content/uploads/2010/02/enable_memcached_screenshot.jpg" alt="" title="enable memcached" width="400" height="225" class="alignnone size-full wp-image-474" /></a></p>
<p>Finally start memcached:</p>
<pre><code class="shell">
sudo /etc/init.d/memcached start
</code></pre>
<p>Now you should be able to cache!  Also one final note.  The default port should be 11211.</p>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2008/04/21/localhost-subdomains-on-ubuntu/' rel='bookmark' title='Permanent Link: Localhost Subdomains on Ubuntu'>Localhost Subdomains on Ubuntu</a></li>
<li><a href='http://trentrichardson.com/2010/01/11/connect-to-sql-server-from-ubuntu-part-ii/' rel='bookmark' title='Permanent Link: Connect to SQL Server from Ubuntu: Part II'>Connect to SQL Server from Ubuntu: Part II</a></li>
<li><a href='http://trentrichardson.com/2008/11/12/intrepid-ibex-and-apache2-virtualhosts/' rel='bookmark' title='Permanent Link: Intrepid Ibex and Apache2 VirtualHost'>Intrepid Ibex and Apache2 VirtualHost</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2010/02/08/installing-memcached-on-ubuntu-for-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connect to SQL Server from Ubuntu: Part II</title>
		<link>http://trentrichardson.com/2010/01/11/connect-to-sql-server-from-ubuntu-part-ii/</link>
		<comments>http://trentrichardson.com/2010/01/11/connect-to-sql-server-from-ubuntu-part-ii/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 12:34:20 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=446</guid>
		<description><![CDATA[A few posts ago I explained how you can connect Ubuntu to SQL Server for PHP. All worked well until you tried to execute stored procedures. (It worked fine if you wrote the query, but not so much with mssql_execute() function). It would result in an error like this: Warning: mssql_execute() [function.mssql-execute]: stored procedure execution [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2009/12/09/connect-to-sql-server-from-ubuntu/' rel='bookmark' title='Permanent Link: Connect to SQL Server from Ubuntu'>Connect to SQL Server from Ubuntu</a></li>
<li><a href='http://trentrichardson.com/2008/04/21/localhost-subdomains-on-ubuntu/' rel='bookmark' title='Permanent Link: Localhost Subdomains on Ubuntu'>Localhost Subdomains on Ubuntu</a></li>
<li><a href='http://trentrichardson.com/2008/11/12/intrepid-ibex-and-apache2-virtualhosts/' rel='bookmark' title='Permanent Link: Intrepid Ibex and Apache2 VirtualHost'>Intrepid Ibex and Apache2 VirtualHost</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A few posts ago I explained how you can <a href="http://trentrichardson.com/2009/12/09/connect-to-sql-server-from-ubuntu/">connect Ubuntu to SQL Server for PHP</a>.  All worked well until you tried to execute stored procedures.  (It worked fine if you wrote the query, but not so much with mssql_execute() function).  It would result in an error like this:</p>
<p>Warning: mssql_execute() [function.mssql-execute]: stored procedure execution failed</p>
<p>Well I did a little searching around and found out it <a href="http://docs.moodle.org/en/Installing_MSSQL_for_PHP">appears to be a freetds issue</a>, where you need to alter the freetds.conf file.  This article tells you the correct config (tds version = 8.0 is the secret I believe), however it tells you the wrong location of freetds.conf for Ubuntu.  Within Ubuntu you will find this file in /etc/freetds/freetds.conf.  You will need to add the following (with your host and port of course):</p>
<pre><code class="js">
host = xxx.xxx.xxx.xxx
port = 1433
tds version = 8.0
</code></pre>
<p>In my file I already had a [global] section and I just added it into there.  After saving these settings into that file I was then able to call my stored procedures with no problem!</p>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2009/12/09/connect-to-sql-server-from-ubuntu/' rel='bookmark' title='Permanent Link: Connect to SQL Server from Ubuntu'>Connect to SQL Server from Ubuntu</a></li>
<li><a href='http://trentrichardson.com/2008/04/21/localhost-subdomains-on-ubuntu/' rel='bookmark' title='Permanent Link: Localhost Subdomains on Ubuntu'>Localhost Subdomains on Ubuntu</a></li>
<li><a href='http://trentrichardson.com/2008/11/12/intrepid-ibex-and-apache2-virtualhosts/' rel='bookmark' title='Permanent Link: Intrepid Ibex and Apache2 VirtualHost'>Intrepid Ibex and Apache2 VirtualHost</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2010/01/11/connect-to-sql-server-from-ubuntu-part-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connect to SQL Server from Ubuntu</title>
		<link>http://trentrichardson.com/2009/12/09/connect-to-sql-server-from-ubuntu/</link>
		<comments>http://trentrichardson.com/2009/12/09/connect-to-sql-server-from-ubuntu/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 12:59:30 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=425</guid>
		<description><![CDATA[Installing the php5-mssql package in Ubuntu is not as obvious as it should be. I was unable to find it in Synaptic nor apt-get at first. From the install it appears that the package php5-mssql is a virtual package, which really points to php5-sybase. To install php5-mssql for Ubuntu note that there are two methods. [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2010/01/11/connect-to-sql-server-from-ubuntu-part-ii/' rel='bookmark' title='Permanent Link: Connect to SQL Server from Ubuntu: Part II'>Connect to SQL Server from Ubuntu: Part II</a></li>
<li><a href='http://trentrichardson.com/2010/02/08/installing-memcached-on-ubuntu-for-php/' rel='bookmark' title='Permanent Link: Installing Memcached on Ubuntu for PHP'>Installing Memcached on Ubuntu for PHP</a></li>
<li><a href='http://trentrichardson.com/2008/04/21/localhost-subdomains-on-ubuntu/' rel='bookmark' title='Permanent Link: Localhost Subdomains on Ubuntu'>Localhost Subdomains on Ubuntu</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Installing the php5-mssql package in Ubuntu is not as obvious as it should be.  I was unable to find it in Synaptic nor apt-get at first.  From the install it appears that the package php5-mssql is a virtual package, which really points to php5-sybase.  To install php5-mssql for Ubuntu note that there are two methods.</p>
<p><strong>Method 1</strong>: Open up Synaptic Package Manager, search for and install &#8220;php5-sybase&#8221;</p>
<p><strong>Method 2</strong>: Open up a terminal and run: </p>
<pre><code class="shell">
aptitude install php5-mssql
</code></pre>
<p>If you read the progress in the terminal you will see it refer to the php5-sybase package and indicates that php5-mssql is simply a virtual package.  You might notice too that the freetds package is also installed.  After my install I also had to restart apache.  Simple as that!</p>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2010/01/11/connect-to-sql-server-from-ubuntu-part-ii/' rel='bookmark' title='Permanent Link: Connect to SQL Server from Ubuntu: Part II'>Connect to SQL Server from Ubuntu: Part II</a></li>
<li><a href='http://trentrichardson.com/2010/02/08/installing-memcached-on-ubuntu-for-php/' rel='bookmark' title='Permanent Link: Installing Memcached on Ubuntu for PHP'>Installing Memcached on Ubuntu for PHP</a></li>
<li><a href='http://trentrichardson.com/2008/04/21/localhost-subdomains-on-ubuntu/' rel='bookmark' title='Permanent Link: Localhost Subdomains on Ubuntu'>Localhost Subdomains on Ubuntu</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2009/12/09/connect-to-sql-server-from-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Handy gEdit Snippet How To: Comment</title>
		<link>http://trentrichardson.com/2009/11/02/handy-gedit-snippet-how-to-comment/</link>
		<comments>http://trentrichardson.com/2009/11/02/handy-gedit-snippet-how-to-comment/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 23:07:45 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=402</guid>
		<description><![CDATA[I regularly use gEdit but up until recently I have never messed with Snippets. Many editors support Snippets in some fashion or another. So I thought I would share a quick Snippet with you and how to create it. Much of my time is spent with ColdFusion and CFEclipse. There you may know about the [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2009/04/01/possibly-the-best-svn-plugin-for-gedit/' rel='bookmark' title='Permanent Link: Possibly the Best SVN Plugin for gEdit'>Possibly the Best SVN Plugin for gEdit</a></li>
<li><a href='http://trentrichardson.com/2010/02/19/gedit-php-completion-collaboratio/' rel='bookmark' title='Permanent Link: Gedit PHP Completion and Collaboration'>Gedit PHP Completion and Collaboration</a></li>
<li><a href='http://trentrichardson.com/2008/11/18/code-editor-fantasies/' rel='bookmark' title='Permanent Link: Code Editor Fantasies'>Code Editor Fantasies</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I regularly use gEdit but up until recently I have never messed with Snippets.  Many editors support Snippets in some fashion or another.  So I thought I would share a quick Snippet with you and how to create it.  Much of my time is spent with ColdFusion and CFEclipse.  There you may know about the Ctrl+Shift+M comment snippet, but it would be nice if gEdit had this functionality for php, javascript, and css.  Well here is how to implement it with gEdit.  First off open gEdit.  If you don&#8217;t have the Snippets plugin installed just go to Edit->Preferences->Plugins and check the Snippets plugin.</p>
<p><img src="http://trentrichardson.com/wp-content/uploads/2009/11/gedit_Preferences.png" alt="gedit_Preferences" title="gedit_Preferences" width="364" height="466" class="alignnone size-full wp-image-403" /><br />
<span id="more-402"></span></p>
<p>Now we can open our Snippet Manager by going to Tools->Manage Snippets.  A large window opens.  Our languages are listed down the left hand side, click to expand PHP.  Now click the button to add a new Snippet.  I named mine &#8220;/* comment */&#8221;.  On the right column you will have a large text area to type your snippet code.  Enter the following:</p>
<pre><code class="php">
/* $GEDIT_SELECTED_TEXT$0 */
</code></pre>
<p>And click into the Shortcut Key Field and press the key combination &#8220;Ctrl+Shift+M&#8221;.  It should resemble the following: </p>
<p><img src="http://trentrichardson.com/wp-content/uploads/2009/11/gedit_Snippets_Manager.png" alt="gedit_Snippets_Manager" title="gedit_Snippets_Manager" width="580" height="400" class="alignnone size-full wp-image-404" /></p>
<p>Thats it!  Now in your code you can highlight a selection and press the Ctrl+Shift+M keys and comment out that section of code.  I&#8217;ll briefly explain the syntax of the snippet.  $GEDIT_SELECTED_TEXT is a variable gEdit supplies to you.  If you have nothing selected it will be an empty string.  $0 is the end place holder.  When the snippet is finished executing you cursor will wind up here.  You can also use Python , but the easiest way to learn the snippets is to dig right into the ones provided by default, or to read up on them at <a href="http://live.gnome.org/Gedit/Plugins/Snippets">GNOME Live</a>.  Enjoy!</p>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2009/04/01/possibly-the-best-svn-plugin-for-gedit/' rel='bookmark' title='Permanent Link: Possibly the Best SVN Plugin for gEdit'>Possibly the Best SVN Plugin for gEdit</a></li>
<li><a href='http://trentrichardson.com/2010/02/19/gedit-php-completion-collaboratio/' rel='bookmark' title='Permanent Link: Gedit PHP Completion and Collaboration'>Gedit PHP Completion and Collaboration</a></li>
<li><a href='http://trentrichardson.com/2008/11/18/code-editor-fantasies/' rel='bookmark' title='Permanent Link: Code Editor Fantasies'>Code Editor Fantasies</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2009/11/02/handy-gedit-snippet-how-to-comment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10 is Almost Here!</title>
		<link>http://trentrichardson.com/2009/10/14/ubuntu-9-10-is-almost-here/</link>
		<comments>http://trentrichardson.com/2009/10/14/ubuntu-9-10-is-almost-here/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 23:47:35 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=394</guid>
		<description><![CDATA[The title says it all! Ubuntu 9.10 (Karmic Koala) is on the way in a couple weeks and I can&#8217;t wait to get my hands on the final version. A couple notable features will be Empathy replacing Pigeon and ext4 file system by default among many other advancements! Related posts:Getting Excited About the New Ubuntu [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2009/04/10/getting-excited-about-the-new-ubuntu/' rel='bookmark' title='Permanent Link: Getting Excited About the New Ubuntu'>Getting Excited About the New Ubuntu</a></li>
<li><a href='http://trentrichardson.com/2008/10/15/ubuntu-approaching/' rel='bookmark' title='Permanent Link: Ubuntu Approaching'>Ubuntu Approaching</a></li>
<li><a href='http://trentrichardson.com/2008/03/18/getting-ubuntu-to-the-next-step/' rel='bookmark' title='Permanent Link: Getting Ubuntu to the Next Step'>Getting Ubuntu to the Next Step</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ubuntu.com/" style="float: left;"><img src="http://www.ubuntu.com/files/countdown/static.png" width="180" height="150" alt="Ubuntu: For Desktops, Servers, Netbooks and in the cloud" border="0" /></a></p>
<p>The title says it all! <a href="http://www.ubuntu.com/">Ubuntu 9.10</a> (Karmic Koala) is on the way in a couple weeks and I can&#8217;t wait to get my hands on the final version.  A couple notable features will be Empathy replacing Pigeon and ext4 file system by default among <a href="http://www.ubuntu.com/testing/karmic/beta">many other advancements</a>!</p>
<div class="clear"></div>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2009/04/10/getting-excited-about-the-new-ubuntu/' rel='bookmark' title='Permanent Link: Getting Excited About the New Ubuntu'>Getting Excited About the New Ubuntu</a></li>
<li><a href='http://trentrichardson.com/2008/10/15/ubuntu-approaching/' rel='bookmark' title='Permanent Link: Ubuntu Approaching'>Ubuntu Approaching</a></li>
<li><a href='http://trentrichardson.com/2008/03/18/getting-ubuntu-to-the-next-step/' rel='bookmark' title='Permanent Link: Getting Ubuntu to the Next Step'>Getting Ubuntu to the Next Step</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2009/10/14/ubuntu-9-10-is-almost-here/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Fancy New Opera 10 in Ubuntu</title>
		<link>http://trentrichardson.com/2009/09/01/fancy-new-opera-10-in-ubuntu/</link>
		<comments>http://trentrichardson.com/2009/09/01/fancy-new-opera-10-in-ubuntu/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 00:01:03 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=387</guid>
		<description><![CDATA[I fired up Opera this evening and was presented with an alert of a new version. I was eager to see what was new so I downloaded the new version and WOW! The linux version got a nice new make over! I&#8217;ve always been an opera fan, though some of the tools for Firefox keep [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2007/05/29/opera-not-so-bad/' rel='bookmark' title='Permanent Link: Opera Not so Bad'>Opera Not so Bad</a></li>
<li><a href='http://trentrichardson.com/2008/06/12/opera-95-is-here-woohoo/' rel='bookmark' title='Permanent Link: Opera 9.5 is Here! Woohoo!'>Opera 9.5 is Here! Woohoo!</a></li>
<li><a href='http://trentrichardson.com/2009/06/18/7-lucky-tips-for-mobile-development/' rel='bookmark' title='Permanent Link: 7 Lucky Tips for Mobile Development'>7 Lucky Tips for Mobile Development</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I fired up <a href="http://www.opera.com/">Opera</a> this evening and was presented with an alert of a new version.  I was eager to see what was new so I downloaded the new version and WOW!  The linux version got a nice new make over!  I&#8217;ve always been an opera fan, though some of the tools for Firefox keep pulling me back.  I&#8217;m torn between the two!  Here is the screenshot of what she looks like:</p>
<p><img src="http://trentrichardson.com/wp-content/uploads/2009/09/opera_10_ubuntu.png" alt="opera 10 ubuntu" title="opera 10 ubuntu" width="580" height="441" class="alignnone size-full wp-image-388" /></p>
<p>The tab bar now can be resized to show mini screenshots which is pretty awesome.  And as always I love opera for its &#8220;small screen&#8221; view for mobile testing!</p>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2007/05/29/opera-not-so-bad/' rel='bookmark' title='Permanent Link: Opera Not so Bad'>Opera Not so Bad</a></li>
<li><a href='http://trentrichardson.com/2008/06/12/opera-95-is-here-woohoo/' rel='bookmark' title='Permanent Link: Opera 9.5 is Here! Woohoo!'>Opera 9.5 is Here! Woohoo!</a></li>
<li><a href='http://trentrichardson.com/2009/06/18/7-lucky-tips-for-mobile-development/' rel='bookmark' title='Permanent Link: 7 Lucky Tips for Mobile Development'>7 Lucky Tips for Mobile Development</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2009/09/01/fancy-new-opera-10-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mozilla Fennec in Jaunty 9.04</title>
		<link>http://trentrichardson.com/2009/05/06/mozilla-fennec-in-jaunty-904/</link>
		<comments>http://trentrichardson.com/2009/05/06/mozilla-fennec-in-jaunty-904/#comments</comments>
		<pubDate>Wed, 06 May 2009 16:15:27 +0000</pubDate>
		<dc:creator>trent</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://trentrichardson.com/?p=335</guid>
		<description><![CDATA[While messing around with some mobile web development I decided to check Synaptic for &#8220;mobile browsers&#8221;. Sure enough the results were pleasing. Topping the list was Mozilla Fennec, the new mobile version of Firefox. Right away I installed and I now have a mobile emulator for Fennec right on my desktop. It does seem a [...]


Related posts:<ol><li><a href='http://trentrichardson.com/2008/10/20/firefox-going-mobile-fennec/' rel='bookmark' title='Permanent Link: Firefox Going Mobile: Fennec'>Firefox Going Mobile: Fennec</a></li>
<li><a href='http://trentrichardson.com/2009/05/05/getting-ie6-working-in-jaunty-with-ies4linux/' rel='bookmark' title='Permanent Link: Getting IE6 Working in Jaunty with IEs4Linux'>Getting IE6 Working in Jaunty with IEs4Linux</a></li>
<li><a href='http://trentrichardson.com/2008/10/03/linux-evolution-before-our-eyes/' rel='bookmark' title='Permanent Link: Linux Evolution Before Our Eyes'>Linux Evolution Before Our Eyes</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>While messing around with some mobile web development I decided to check Synaptic for &#8220;mobile browsers&#8221;.  Sure enough the results were pleasing.  Topping the list was <a href="https://wiki.mozilla.org/Fennec">Mozilla Fennec</a>, the new mobile version of Firefox.  Right away I installed and I now have a mobile emulator for Fennec right on my desktop.  It does seem a bit buggy, but that is expected until its final release.  None the less Fennec will help with your mobile development on Ubuntu.</p>
<p><img src="http://trentrichardson.com/wp-content/uploads/2009/05/fennec-300x187.png" alt="Fennec" title="Fennec" width="300" height="187" class="alignnone size-medium wp-image-336" /></p>
<p>Tip of the day: When in need of applications always check Synaptic before downloading.</p>


<p>Related posts:<ol><li><a href='http://trentrichardson.com/2008/10/20/firefox-going-mobile-fennec/' rel='bookmark' title='Permanent Link: Firefox Going Mobile: Fennec'>Firefox Going Mobile: Fennec</a></li>
<li><a href='http://trentrichardson.com/2009/05/05/getting-ie6-working-in-jaunty-with-ies4linux/' rel='bookmark' title='Permanent Link: Getting IE6 Working in Jaunty with IEs4Linux'>Getting IE6 Working in Jaunty with IEs4Linux</a></li>
<li><a href='http://trentrichardson.com/2008/10/03/linux-evolution-before-our-eyes/' rel='bookmark' title='Permanent Link: Linux Evolution Before Our Eyes'>Linux Evolution Before Our Eyes</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://trentrichardson.com/2009/05/06/mozilla-fennec-in-jaunty-904/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.002 seconds -->
