<?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"
	>

<channel>
	<title>blogZero</title>
	<atom:link href="http://loadaveragezero.com/app/wp/feed" rel="self" type="application/rss+xml" />
	<link>http://loadaveragezero.com/app/wp</link>
	<description>Web Development Community News, Culture and Commentary, Tools and Techniques</description>
	<pubDate>Wed, 28 Jan 2009 07:45:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>The Gods Must be Crazy</title>
		<link>http://loadaveragezero.com/app/wp/?p=298</link>
		<comments>http://loadaveragezero.com/app/wp/?p=298#comments</comments>
		<pubDate>Mon, 01 Dec 2008 03:29:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[daemon]]></category>

		<category><![CDATA[gnome]]></category>

		<category><![CDATA[i18n]]></category>

		<category><![CDATA[localhost]]></category>

		<category><![CDATA[loopback]]></category>

		<category><![CDATA[networking]]></category>

		<category><![CDATA[ping]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[x11]]></category>

		<guid isPermaLink="false">http://loadaveragezero.com/app/wp/?p=298</guid>
		<description><![CDATA[
Okay, I know the Maori are from New Zealand and The Gods Must be Crazy was set in Africa, but I could not resist this fantastic oil of Hinepare.
 I don&#8217;t speak Maori, do you? I understand, and appreciate, that one of Ubuntu&#8217;s strengths is its embracement of and support for the international community. Hell, [...]]]></description>
			<content:encoded><![CDATA[<p><a class="highslide-image" onclick="return hs.expand(this, {captionId:'caption_1228035417816'});" href="http://loadaveragezero.com/app/wp/img/Hinepare-lg.jpg"><img class="right" title="Click to enlarge" src="http://loadaveragezero.com/app/wp/img/Hinepare-sm.jpg" alt="hinepare" /></a>
<div id="caption_1228035417816" class="highslide-caption">Okay, I know the Maori are from New Zealand and <a href="http://www.imdb.com/title/tt0080801/"><em>The Gods Must be Crazy</em></a> was set in Africa, but I could not resist this fantastic oil of <a href="http://www.matapihi.org.nz/logicrouter/servlet/LogicRouter?PAGE=object&amp;OUTPUTXSL=object.xsl&amp;pm_RC=REPO02DB&amp;pm_OI=42750&amp;api_1=GET_OBJECT_XML&amp;lang=en">Hinepare</a>.</div>
<img class="icon" title="Ubuntu Linux" src="http://loadaveragezero.com/img/fav/drx/ubuntu.gif" alt="ubuntu" /> I don&#8217;t speak <a href="http://wikipedia.org/wiki/M%C4%81ori_language">Maori</a>, do you? I understand, and appreciate, that one of <span title="Humanity to others">Ubuntu</span>&#8217;s strengths is its embracement of and support for the international community. Hell, Linux as we know it today wouldn&#8217;t exist if it wasn&#8217;t for developers, maintainers and support people from all over the planet.<br /><br /></p>

<h3>Language Packs</h3>

<p><img class="icon" title="Google Earth" src="http://loadaveragezero.com/img/fav/drx/earth.gif" alt="earth" /> With that said, I have a a bit of an ax to grind with <a href="http://www.canonical.com/">Canonical</a>. After first booting up my brand new Ubuntu 8.04 LTS (Hardy Heron) desktop/development server and logging in and starting the Gnome desktop, the <a href="https://help.ubuntu.com/8.04/keeping-safe/C/updates.html">Update Manager</a> indicated I should upgrade some software. I was of course expecting this. What I wasn&#8217;t expecting was 500+ pairs of <a href="https://translations.launchpad.net/ubuntu/hardy/+language-packs" title="Language packs for Ubuntu 8.04">language packs</a>&mdash;some I&#8217;d never even heard of. There are a number of reasons this annoyed me. For one, other than my native English and perhaps some languages I&#8217;m at least familiar with (Spanish, French, German, etc.) there was no need to waste CPU or my time, god only knows how much disk space, and, worst of all, I knew that in certain applications if you selected a menu (the Firefox spell checker came to mind) you&#8217;d end up with and option list from here to <a href="http://loadaveragezero.com/xml/auckland.kml" title="Fly to Auckland (requires Google Earth)">Auckland</a>. So I spent the better part of half an hour unchecking all these language pack updates and ran the updater on the rest. That seemed reasonable, if a tad bit tedious.</p>

<p>But oh no, the next day Update Manager was back with a vengeance, once again suggesting I install all these language packs. This time I relented, but waited until just before bed to run the damn thing. I know what you&#8217;re thinking, I&#8217;ll get to that in a moment.</p>

<p><a href="http://loadaveragezero.com/app/wp/img/Language_Support-lg.gif" onclick="return hs.expand(this, {captionId:'caption_1228095215713'});" class="highslide-image"><img src="http://loadaveragezero.com/app/wp/img/Language_Support-sm.gif" class="right" style="margin-top: 4px;" alt="screenshot" title="Click to enlarge" /></a><div class="highslide-caption" id="caption_1228095215713">System -&gt; Administration -&gt; Language Support: My saving grace, or was it?</div></p>

<h3>Language Support</h3>

<p><img class="icon" title="Language Support" src="http://loadaveragezero.com/img/fav/drx/flag.gif" alt="flag" /> Call me a <a href="http://www.urbandictionary.com/define.php?term=n00b">n00b</a>, but it wasn&#8217;t until after all of this and doing some research that I realized I could use the Language Support tool to disable all of these obscure (at least to me) languages. If you&#8217;re wondering why Maori is checked in the screenshot, well, a weak attempt at humor I suppose.</p>

<h3>The Agony of the Desktop</h3>

<p><img class="icon" title="Gnome Desktop" src="http://loadaveragezero.com/img/fav/drx/gnome.gif" alt="foot" /> Okay, now comes the really strange, and by far the most frustrating part. After all of this was said and done, at least in my mind, I wanted to move the new machine from its temporary digs to my office and add it to the network. This of course entailed shutting the server down, which I am loathe to do with any Unix-like machine. I would prefer the sucker to hum along nicely for a good long while barring any catastrophies like a power outage that lasts longer than a UPS. But it needed to be done, so move it I did. With everything ready to go, I booted it back up, got my Gnome login screen, and then nothing. Just a blank screen, save for the default butternut squash colored background. No menu panel, no Hardy Heron desktop background image, nothing. I sat there and stared at it, dumbfounded.</p>

<h3>It Gets Stranger</h3>

<p>Finally, after a bit a gray rectangle, that was obviously the beginnings of a window of some kind, appeared in the upper left corner of the screen. Only no window, just the metrics of one. I assumed this was X11 trying to tell me something, but what it was at first remained a mystery. So I tried C+A+B to restart the display manager&mdash;same thing. Then I tried C+A+F1, waited for a bit, then C+A+F7, and waited at the squash screen a little longer staring at the gray box. <strong><em>Finally</em></strong>, an error window appeared:</p>

<h3>There was an error starting the GNOME Settings Daemon</h3>

<p><img class="icon" title="Don't shoot yourself in the foot, or anywhere else." src="http://loadaveragezero.com/img/fav/drx/toetag.gif" alt="toetag" /> WTF? Even stranger, after I dismissed this error dialog my panel icons mysteriously had changed, but after a few minutes, poof! They changed back. So, naturally, it was time to fire-up Firefox and visit good old Uncle Google. After searching and reading I found the page I was looking for and it made perfect sense in hindsight. I, of course, had shot myself in the foot when I was configuring my network interfaces.</p>

<h3>Solution</h3>

<p>Always, <em>always</em>, make sure you have the loopback (lo) configured properly and you can ping yourself. In /etc/network/interfaces:</p>

<pre class="half">
# loopback interface

auto lo
iface lo inet loopback
</pre>

<p>In /etc/hosts/:</p>

<pre class="half">127.0.0.1 localhost lo [hostname]</pre>

<p>Where [hostname] makes you happy. Restart networking:</p>

<pre class="half">$ sudo /etc/init.d/networking restart</pre>

<p>Ping yourself:</p>

<pre>
$ ping -c4 lo
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.030 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.027 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.027 ms
64 bytes from localhost (127.0.0.1): icmp_seq=4 ttl=64 time=0.028 ms

--- localhost ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2997ms
rtt min/avg/max/mdev = 0.027/0.028/0.030/0.001 ms
</pre>

<p>Finally, restart the display manager aka Gnome desktop to make sure&#8230;problem solved. Phew!</p>

<p>Thanks Arun.</p>

<h3>See Also</h3>

<ul>
<li><a href="http://arunpc.com/2008/06/01/ubuntu-there-was-an-error-starting-the-gnome-settings-daemon/">Ubuntu: There was an error starting the GNOME Settings Daemon</a></li>
<li><a href="http://earth.google.com/">Google Earth</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://loadaveragezero.com/app/wp/?feed=rss2&amp;p=298</wfw:commentRss>
		</item>
		<item>
		<title>Hardy Heron is Here</title>
		<link>http://loadaveragezero.com/app/wp/?p=183</link>
		<comments>http://loadaveragezero.com/app/wp/?p=183#comments</comments>
		<pubDate>Thu, 27 Nov 2008 06:15:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[debian]]></category>

		<category><![CDATA[firebug]]></category>

		<category><![CDATA[git]]></category>

		<category><![CDATA[hardy-heron]]></category>

		<category><![CDATA[lamp]]></category>

		<category><![CDATA[maatkit]]></category>

		<category><![CDATA[subversion]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://loadaveragezero.com/app/wp/?p=183</guid>
		<description><![CDATA[Finally, a default Ubuntu desktop background that doesn&#8217;t suck.
 The new Ubuntu desktop/development server just arrived (a week early I might add). I&#8217;ll be running Ubuntu 8.04 LTS (Hardy Heron) with a whole bunch of packages installed for local Web development. It&#8217;s about time I had a decent server.

LAMP

 After the prerequisite setting of the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://loadaveragezero.com/app/wp/img/hardy-heron-lg.jpg" onclick="return hs.expand(this, {captionId:'caption_1227705986567'});" class="highslide-image"><img src="http://loadaveragezero.com/app/wp/img/hardy-heron-sm.jpg" class="right" style="padding: 2px; border: 1px solid #bbb;" alt="heron" title="Click to enlarge" /></a><div class="highslide-caption" id="caption_1227705986567">Finally, a default Ubuntu desktop background that doesn&#8217;t suck.</div>
<img src="http://loadaveragezero.com/img/fav/drx/ubuntu.gif" class="icon" alt="ubuntu" title="Ubuntu Linux" /> The new Ubuntu desktop/development server just arrived (a week early I might add). I&#8217;ll be running Ubuntu 8.04 LTS (Hardy Heron) with a whole bunch of packages installed for local Web development. It&#8217;s about time I had a decent server.<br /><br /></p>

<h3>LAMP</h3>

<p><img src="http://loadaveragezero.com/img/fav/drx/debian.gif" class="icon" alt="debian" title="Debian Linux" /> After the prerequisite setting of the root password, creating a group and login for myself, and installing a few dot files to get comfortable, it&#8217;s time to install the ubiquitous stack&mdash;with a number of goodies thrown in:</p>

<pre class="half">
$ sudo apt-get install\
  <a href="http://packages.debian.org/sid/apache2">apache2</a>\
  <a href="http://packages.debian.org/sid/apache2-dev">apache2-dev</a>\
  <a href="http://packages.debian.org/sid/php5">php5</a>\
  <a href="http://packages.debian.org/sid/php5-dev">php5-dev</a>\
  <a href="http://packages.debian.org/sid/mysql-server">mysql-server</a>\
  <a href="http://packages.debian.org/sid/mysql-client">mysql-client</a>\   # for C/Perl client interfaces
  <a href="http://packages.debian.org/sid/php5-mysql">php5-mysql</a>\
  <a href="http://packages.debian.org/sid/php5-xdebug">php5-xdebug</a>\
  <a href="http://packages.debian.org/sid/php5-apc">php5-apc</a>\
  <a href="http://packages.debian.org/sid/php5-gd">php5-gd</a>\
  <a href="http://packages.debian.org/sid/php5-imagick">php5-imagick</a>
</pre>

<p>At this point, you might want to get yourself a coffee or something&mdash;that&#8217;s a lot of software to download, build and install. When complete, you will most likely need to make some changes to your config files: apache.conf, php.ini, my.cnf, etc.</p>

<p><img src="http://loadaveragezero.com/img/fav/drx/package.png" class="icon" alt="package" title="Packages" /> If any of these packages complain about missing dependencies, try:</p>

<pre class="half">
$ sudo apt-get build-dep [package]
$ sudo apt-get install [package]
</pre>

<p>You should probably consider changing the Apache/MySQL user/group daemons, and set the MySQL root password. Once you&#8217;re good to go, start the server:</p>

<pre class="half">$ sudo /usr/local/apache2/bin/apachectl start</pre>

<p>And visit http://localhost/</p>

<p>If everything went well, you&#8217;ll get a welcome screen. I usually drop a little PHP script into docroot (normally /var/www/) to review settings and such:</p>

<pre class="half">&lt;?php phpinfo(); ?&gt;</pre>

<p><img src="http://loadaveragezero.com/img/fav/drx/xdebug.gif" class="icon" alt="xdebug" title="Xdebug" /> If you&#8217;re planning on using the Xdebug <a href="http://loadaveragezero.com/app/drx/Programming/Languages/PHP/Performance#xdebug:profiler" title="Xdebug Profiler">profiler</a>, you might want to check into <a href="http://loadaveragezero.com/app/s9y/index.php?/archives/156-Cachegrind-your-Web-apps.html" title="Cachegrind you Web apps">Cachegrind</a> and the various alternatives for viewing the output.</p>

<h3>MySQL Toolkit</h3>

<p><img src="http://loadaveragezero.com/img/fav/drx/maatkit.gif" class="icon" alt="maatkit" title="MySQL Toolkit" /> Speaking of goodies, <a href="http://loadaveragezero.com/app/drx/Programming/Development_Tools#maatkit:mysql">Maatkit</a> (formally MySQL Toolkit) includes:</p>

<ul>
<li><a href="http://dev.mysql.com/doc/query-browser/">Query Browser</a></li>
<li><a href="http://www.maatkit.org/doc/mk-visual-explain.html">Visual Explain</a></li>
<li><a href="http://www.maatkit.org/doc/mk-table-checksum.html">Table Checksum and Sync</a></li>
<li><a href="http://www.maatkit.org/doc/mk-parallel-dump.html">Parallel Dump and Restore</a></li>
<li><a href="http://www.maatkit.org/doc/mk-find.html">Find</a></li>
</ul>

<p>And a whole lot <a href="http://www.maatkit.org/tools.html" title="Maatkit: Tools for MySQL">more</a>.</p>

<pre class="half">$ sudo apt-get install <a href="http://packages.debian.org/sid/maatkit">maatkit</a></pre>

<h3>Editors</h3>

<p><img src="http://loadaveragezero.com/img/fav/drx/vim.gif" class="icon" alt="vim" title="Vi Improved" /> You can&#8217;t write code without an editor. My personal favorite:</p>

<pre class="half">$ sudo apt-get install <a href="http://packages.debian.org/sid/vim-gnome">vim-gnome</a></pre>

<p>Tweak it any way you like. Some good places for tips:</p>

<ul>
<li><a href="http://loadaveragezero.com/app/drx/Programming/Development_Tools#gravitonic:vim">Vim for (PHP) Programmers</a></li>
<li><a href="http://loadaveragezero.com/app/drx/Programming/Languages/PHP/Debugging#apaddedcell:vim-xdebug">PHP Debugging in Ubuntu using Xdebug and Vim</a></li>
</ul>

<p><img src="http://loadaveragezero.com/img/fav/drx/zendcom.gif" class="icon" alt="zend" title="Zend" /> If you prefer an <acronym title="Integrated Development Environment">IDE</acronym> over the command-line, then I recommend <a href="http://loadaveragezero.com/app/drx/Programming/Development_Tools#eclipse:ide">Eclipse</a>. NetBeans is another choice, however Eclipse shines with <a href="http://loadaveragezero.com/app/drx/Programming/Languages/PHP/Debugging#zendcom:pdt" title="PHP Development Tools">PDT</a> installed. Eclipse requires a <acronym title="Java Runtime Environment">JRE</acronym>, as does OpenOffice (OOo) for some features. If you are having problems with the one already on the box, try installing the Sun JRE:</p>

<pre class="half">$ sudo apt-get install <a href="http://packages.debian.org/sid/sun-java6-bin">sun-java6-bin</a></pre>

<p><a href="http://loadaveragezero.com/app/wp/img/qgit-lg.jpg" onclick="return hs.expand(this, {captionId:'caption_1227811364016'});" class="highslide-image"><img src="http://loadaveragezero.com/app/wp/img/qgit-sm.jpg" class="right" style="margin-top: 4px;" alt="image" title="Click to enlarge" /></a><div class="highslide-caption" id="caption_1227811364016">QGit screenshot, how sweet is that?</div></p>

<h3>Version Control</h3>

<p><img src="http://loadaveragezero.com/img/fav/drx/github.gif" class="icon" alt="git" title="Git" /> Only fools still write software without maintaining their code in version control repositories.</p>

<pre class="half">
$ sudo apt-get install <a href="http://packages.debian.org/sid/subversion">subversion</a> <a href="http://packages.debian.org/sid/libapache2-svn">libapache2-svn</a>
$ sudo apt-get install <a href="http://packages.debian.org/sid/git-core">git-core</a> <a href="http://packages.debian.org/sid/git-svn">git-svn</a>
</pre>

<p>Git fans should be interested in <a href="http://loadaveragezero.com/app/drx/Programming/Development_Tools#libero:qgit">QGit</a>.</p>

<h3>Other Development Tools</h3>

<p><img src="http://loadaveragezero.com/img/fav/drx/bugzilla.gif" class="icon" alt="bugzilla" title="Bugzilla" /> Depending on the complexity of your project(s), whether this server is being built for a single developer working on a brand new application, or perhaps it will be used for multiple projects, some already off the ground, with multiple developers, and so on, there are some other tools that are worth considering. Trac combines issue/bug tracking, a wiki, and an interface to Subversion. Bugzilla is another very popular alternative, and there are other <a href="http://loadaveragezero.com/drx/tag/T#tracking">choices</a>.</p>

<p><img src="http://loadaveragezero.com/img/fav/drx/mediawiki.gif" class="icon" alt="mediawiki" title="MediaWiki" /> If you decide a bug tracker isn&#8217;t required at this juncture, don&#8217;t overlook the importance of documenting your work. There are all sorts of <a href="http://loadaveragezero.com/drx/tag/D#documentation">methods</a> for doing this, but I&#8217;ve found that <a href="http://loadaveragezero.com/app/drx/Programming/Languages/PHP/Wikis">wikis</a> are great tools, no matter what the size of the team.</p>

<p><img src="http://loadaveragezero.com/img/fav/drx/python.gif" class="icon" alt="python" title="Python" /> Like Perl, Python is another great tool that excels at all sorts of things besides Web development, and many of the other tools listed here rely on it. Hardy Heron comes preloaded with Python 2.5. If you want to upgrade to <a href="http://python.org/download/releases/2.6/">2.6</a>, it&#8217;s a little tricky since, as of this writing, no Debian package exists for it. Why, I&#8217;m not sure. But you can build it from source. <a href="http://www.lysium.de/blog/index.php?/archives/229-Installing-Python-2.6-on-Ubuntu-8.04.html" title="Installing Python 2.6 on Ubuntu 8.04">This article</a> will help.</p>

<h3>Productivity Applications</h3>

<ul>
<li><a href="http://why.openoffice.org/">OpenOffice</a> &mdash; word processing, spreadsheets, presentations, draw&#8230;</li>
<li><a href="http://www.gimp.org/">Gimp</a> &mdash; who needs Photoshop? Or the price tag.</li>
<li><a href="http://inkscape.org/">Inscape</a> &mdash; who needs Illustrator? Ditto.</li>
<li><a href="http://pidgin.im/about/">Pidgin</a> (formerly Gaim) or <a href="http://live.gnome.org/Empathy">Empathy</a> &mdash; IM/chat clients.</li>
<li><a href="http://www.mozilla.com/thunderbird/">Thunderbird</a> &mdash; email client.</li>
</ul>

<p><img src="http://loadaveragezero.com/img/fav/drx/firebug.gif" class="icon" alt="firebug" title="FireBug" /> There should be no need to mention Firefox. Or the wealth of <a href="https://addons.mozilla.org/firefox/recommended/cat:4">addons</a> that make Web development so much more rewarding than in years past.</p>

<h3>The Price is Right</h3>

<p>The price of hardware has steadily fallen over the past few decades, while throughput and the quality of software have been inversely meteoric.</p>

<h3>Server Hardware</h3>

<ul>
<li>Pentium dual-core processor E2200 (1MB L2, 2.2GHz, 800FSB).</li>
<li>2GB dual channel DDR2 SDRAM at 800MHz.</li>
<li>Intel Graphics Media Accelerator 3100 (this isn&#8217;t for gaming).</li>
<li>250GB Serial ATA hard drive (7200RPM) with DataBurst cache.</li>
<li>16x DVD/RW drive.</li>
<li>10/100 Ethernet.</li>
<li>7.1 Channel audio.</li>
<li>USB Keyboard/Optical mouse.</li>
</ul>

<p>Price: $250. You heard me, but that&#8217;s without a monitor. I have a 22&rdquo; FS that will do just nicely, thank you.</p>

<h3>Software</h3>

<p>A downright embarrassment of riches. Which also contributes to the low cost of the hardware itself, since you aren&#8217;t paying all those commercial vendor licensing fees. I won&#8217;t name names. No I didn&#8217;t build the server myself&mdash;my hardware days are over.</p>

<p>Price: $free.</p>

<p>A special thanks and kudos goes out to the thousands of open-source developers, maintainers and supporters who work countless hours to bring us all this fantastic software. The Web, and our lives, wouldn&#8217;t be the same without them.</p>

<p>Life is good.</p>

<h3>See Also</h3>

<ul>
<li><a href="http://www.cricava.com/blogs/index.php?blog=6&amp;c=1&amp;more=1&amp;pb=1&amp;tb=1&amp;title=apache2-php5-mysql-xdebug-ssl-svn-python">Apache2+PHP5+MySQL+Xdebug+SSL+SVN+Python+Trac on Ubuntu Hardy Heron (8.04) 64-bits</a></li>
<li><a href="http://www.lysium.de/blog/index.php?/archives/229-Installing-Python-2.6-on-Ubuntu-8.04.html">Installing Python 2.6 on Ubuntu 8.04</a></li>
<li><a href="http://www.futuredesktop.com/ubuntu8.04.html#installation">Installation of Ubuntu Linux 8.04 LTS: 
10 easy steps to success</a> &mdash; Step 7 in particular.</li>
</ul>

<p>More of the above, as they roll in.</p>
]]></content:encoded>
			<wfw:commentRss>http://loadaveragezero.com/app/wp/?feed=rss2&amp;p=183</wfw:commentRss>
		</item>
		<item>
		<title>Cheat Sheets</title>
		<link>http://loadaveragezero.com/app/wp/?p=137</link>
		<comments>http://loadaveragezero.com/app/wp/?p=137#comments</comments>
		<pubDate>Wed, 26 Nov 2008 04:39:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Extensions]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[cheatsheet]]></category>

		<category><![CDATA[git]]></category>

		<category><![CDATA[jquery]]></category>

		<category><![CDATA[pdf]]></category>

		<category><![CDATA[png]]></category>

		<category><![CDATA[Python]]></category>

		<category><![CDATA[regex]]></category>

		<category><![CDATA[ror]]></category>

		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://loadaveragezero.com/app/wp/?p=137</guid>
		<description><![CDATA[
Dave Child&#8217;s Regular Expressions cheat cheet.
 Dave Child loves Jack Daniels, but apparently they don&#8217;t love him.

Dave has got to be the king of high-quality cheat sheet designers, most of them created for Web developers. I recently discovered that due to pressure from the &#8220;fine&#8221; folks at Jack Daniel&#8217;s, he was forced to take down [...]]]></description>
			<content:encoded><![CDATA[<p><a class="highslide-image" onclick="return hs.expand(this, {captionId:'caption_1227653791459'});" href="http://loadaveragezero.com/app/wp/img/regular-expressions-lg.png"><img class="right" style="border: 1px solid #bbb;" title="Click to enlarge" src="http://loadaveragezero.com/app/wp/img/regular-expressions-sm.png" alt="cheatsheet" /></a>
<div id="caption_1227653791459" class="highslide-caption">Dave Child&#8217;s Regular Expressions cheat cheet.</div>
<img class="icon" title="Added Bytes" src="http://loadaveragezero.com/img/fav/drx/addedbytes.gif" alt="addedbytes" /> <a href="http://loadaveragezero.com/drx/author/D#a253">Dave Child</a> loves <a href="http://www.jackdaniels.com/">Jack Daniels</a>, but apparently they don&#8217;t <a href="http://www.addedbytes.com/blog/what-happened-to-ilovejackdaniels-dot-com/" title="What Happened to ilovejackdaniels.com?">love him</a>.</p>

<p>Dave has got to be the king of high-quality cheat sheet designers, most of them created for Web developers. I recently discovered that due to pressure from the &#8220;fine&#8221; folks at Jack Daniel&#8217;s, he was forced to take down the ilovejackdanieals.com domain—although they kindly agreed to redirect requests to his new domain, at least temporarily.</p>

<p>While in the process of updating my database so the links don&#8217;t eventually go stale on me, I got to thinking. Why not post a list of the best developer cheat sheets out there? If I overlooked any, by all means drop me a comment. Of course Dave is well-represented, but he certainly doesn&#8217;t cover every topic. You can also make suggestions and vote on ones that are in the works at his blog.</p>

<p>The reverse is also true. Dave has cheat sheets I don&#8217;t list. Why? Because I&#8217;m not terribly interested in
ASP or World of Warcraft, for example. I personally think cheat sheets are handy: stick ’em on your office wall then you don&#8217;t have to reach for and thumb through that reference book, or get lost in a sea of unrelated Google search results. And although Dave isn&#8217;t the only person offering these resources, most of them come in one or more image formats (PNG, sometimes <acronym title="Scalable Vector Graphics">SVG</acronym>) or PDF. Most cheat sheets are designed for printing, and many are in landscape format.</p>

<p>But this isn&#8217;t the only solution for quick reference material. There are plenty of online synopsis pages which you can bookmark, or even Firefox extensions for this sort of thing. <a href="http://loadaveragezero.com/app/drx/Internet/WWW/Clients/Browsers/Firefox#devboi:sidebar">DevBoi</a> is one (an unfortunate name, I must say) that runs in your browser&#8217;s sidebar and offers reference material on HTML and XHTML, CSS, JavaScript and DOM, and has addon packages for PHP, XUL, RoR, and Prototype. What, no jQuery <a href="http://loadaveragezero.com/drx/author/M#a580">Martin</a>?</p>

<h3>Dave Child</h3>

<ul>
<li><a href="http://www.addedbytes.com/cheat-sheets/css-cheat-sheet/">CSS</a></li>
<li><a href="http://www.addedbytes.com/cheat-sheets/html-cheat-sheet/">HTML</a></li>
<li><a href="http://www.addedbytes.com/cheat-sheets/html-character-entities-cheat-sheet/">HTML Character Entities</a></li>
<li><a href="http://www.addedbytes.com/cheat-sheets/javascript-cheat-sheet/">JavaScript</a></li>
<li><a href="http://www.addedbytes.com/cheat-sheets/mysql-cheat-sheet/">MySQL</a></li>
<li><a href="http://www.addedbytes.com/cheat-sheets/php-cheat-sheet/">PHP</a></li>
<li><a href="http://www.addedbytes.com/cheat-sheets/regular-expressions-cheat-sheet/">Regular Expressions</a></li>
<li><a href="http://www.addedbytes.com/apache/mod_rewrite-cheat-sheet/">mod_rewrite</a></li>
<li><a href="http://www.addedbytes.com/cheat-sheets/ruby-on-rails-cheat-sheet/">Ruby on Rails</a></li>
<li><a href="http://www.addedbytes.com/cheat-sheets/microformats-cheat-sheet/">Microformats</a></li>
<li><a href="http://www.addedbytes.com/cheat-sheets/subversion-cheat-sheet/">Subversion</a></li>
</ul>

<h3>G. Scott Olson</h3>

<ul>
<li><a href="http://www.gscottolson.com/weblog/2008/01/11/jquery-cheat-sheet/">jQuery</a></li>
</ul>

<h3>Jonathan Snook</h3>

<ul>
<li><a href="http://snook.ca/archives/javascript/prototype_1_5_0_cheatsheet/">Prototype</a></li>
<li><a href="http://snook.ca/archives/javascript/mootools_r83_cheatsheet/">Mootools</a></li>
</ul>

<h3>Miscellaneous</h3>

<ul>
<li><a href="http://zrusin.blogspot.com/2007/09/git-cheat-sheet.html">Git</a></li>
<li><a href="http://www.stdout.org/~winston/latex/">Latex</a></li>
<li><a href="http://cdn4.libsyn.com/howtube/Markdown_Cheat_Sheet.pdf">Markdown</a></li>
<li><a href="http://meta.wikimedia.org/wiki/Help:Reference_card">MediaWiki</a></li>
<li><a href="http://users.physik.fu-berlin.de/~goerz/blog/2008/05/python-refcard/">Python</a></li>
<li><a href="http://home.fnal.gov/~joireman/docs/doxygen_qr.pdf">Doxygen</a></li>
<li><a href="http://www.mercurytide.co.uk/whitepapers/django-cheat-sheet/">Django</a></li>
<li><a href="http://www.inmensia.com/files/pictures/internal/CheatSheetDrupal4.7.png">Drupal</a></li>
<li><a href="http://people.debian.org/~debacle/refcard/refcard-en-a4.pdf">Debian Linux</a></li>
<li><a href="http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html">Vi/Vim</a></li>
</ul>

<p>I&#8217;m sure I&#8217;m missing some. Anyway, enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://loadaveragezero.com/app/wp/?feed=rss2&amp;p=137</wfw:commentRss>
		</item>
		<item>
		<title>GearsMonkey</title>
		<link>http://loadaveragezero.com/app/wp/?p=126</link>
		<comments>http://loadaveragezero.com/app/wp/?p=126#comments</comments>
		<pubDate>Mon, 24 Nov 2008 22:46:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Extensions]]></category>

		<category><![CDATA[Firefox]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[extension]]></category>

		<category><![CDATA[firebug]]></category>

		<category><![CDATA[gears]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[greasemonkey]]></category>

		<guid isPermaLink="false">http://loadaveragezero.com/app/wp/?p=126</guid>
		<description><![CDATA[
Have you ever wished you could access Wikipedia from your laptop while on that 4-hour flight? Oops! No internet connection, you&#8217;re out of luck. Until recently.

 If you have Google Gears installed and are running Firefox with the Greasemonkey extension you can tackle this challenge, and once you know the technique you can access almost [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://loadaveragezero.com/app/wp/img/gearsmonkey.gif" class="right" alt="gearsmonkey" title="GearsMonkey" />
Have you ever wished you could access Wikipedia from your laptop while on that 4-hour flight? Oops! No internet connection, you&#8217;re out of luck. Until recently.</p>

<p><img src="http://loadaveragezero.com/img/fav/drx/gears.gif" class="icon" alt="gears" title="Google Gears" /> If you have Google Gears installed and are running Firefox with the Greasemonkey extension you can tackle this challenge, and once you know the technique you can access almost any Web site offline. For Web applications that are designed to take advantage of this technology, you can even save data seamlessly to your local disk, and as soon as you&#8217;re back online it will sync with the remote server. This blog, built from WordPress, is already Google Gears enabled.</p>

<p><img src="http://loadaveragezero.com/img/fav/drx/greasemonkey.gif" class="icon" alt="greasemonkey" title="GreaseMonkey" /> There are several steps involved in getting this to work. First, install Greasemonkey if you haven&#8217;t already. Next, install and enable Gears. Then install the Gearsmonkey script. It will utilize all three components of Gears:</p>

<ul>
<li><a href="http://code.google.com/apis/gears/api_localserver.html">LocalServer</a> &mdash; capture URLs.</li>
<li><a href="http://code.google.com/apis/gears/api_database.html">Database</a> &mdash; store URLs and other data locally.</li>
<li><a href="http://code.google.com/apis/gears/api_workerpool.html">WorkerPool</a> &mdash; run computationally heavy threads in the background.</li>
</ul>

<p><img src="http://loadaveragezero.com/img/fav/drx/wikipedia.gif" class="icon" alt="wikipedia" title="Wikipedia" /> Visit Wikipedia. The Gearsmonkey script will check to see if Gears is enabled and trigger the allow dialog if it hasn&#8217;t. It then inserts an iFrame and initialized Gears on it. The iFrame will contain a Cache Page link, once selected it captures the HTML and CSS of the Main Page and stores all URLs and static media content (images and so on) to the local Gears database. With FireBug installed, you can watch all this taking place in the console log.</p>

<p>Once you understand the technique, and study the code in the user-script, you can adapt it to capture any site on the Web for access while offline.</p>

<h3>Links</h3>

<ul>
<li><a href="http://loadaveragezero.com/app/drx/Internet/WWW/Clients/Browsers/Firefox#greasemonkey:greasemonkey">Greasemonkey</a></li>
<li><a href="http://loadaveragezero.com/app/drx/Internet/WWW/Clients/Browsers#gears:google">Gears</a></li>
<li><a href="http://gears-monkey.googlecode.com/svn/trunk/WikipediaOffline/wikipedia_offline.user.js">Greasemonkey Wikipedia Offline Script</a></li>
<li><a href="http://code.google.com/apis/gears/articles/gearsmonkey.html">Gearsmonkey: Gears+Greasemonkey</a></li>
<li><a href="http://loadaveragezero.com/drx/extensions#firebug:console">Firebug</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://loadaveragezero.com/app/wp/?feed=rss2&amp;p=126</wfw:commentRss>
		</item>
		<item>
		<title>CSS Sprites: Performance and Productivity</title>
		<link>http://loadaveragezero.com/app/wp/?p=106</link>
		<comments>http://loadaveragezero.com/app/wp/?p=106#comments</comments>
		<pubDate>Mon, 24 Nov 2008 19:08:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Design]]></category>

		<category><![CDATA[http]]></category>

		<category><![CDATA[performance]]></category>

		<category><![CDATA[productivity]]></category>

		<category><![CDATA[sprites]]></category>

		<category><![CDATA[stylesheet]]></category>

		<guid isPermaLink="false">http://loadaveragezero.com/app/wp/?p=106</guid>
		<description><![CDATA[
 Most Web designers by now are at least familiar with CSS Sprites, and most developers/managers are aware of the benefits of using them. If not, I will run down a little history of sprites and the technique used to take advantage of them on your site(s).

History

Does anyone recall the bad old days of DOS [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://loadaveragezero.com/app/wp/img/css_sprites.gif" class="right" alt="css_sprites" title="CSS Sprites" />
<img src="http://loadaveragezero.com/img/fav/drx/pencil.gif" class="icon" alt="pencil" /> Most Web designers by now are at least familiar with CSS Sprites, and most developers/managers are aware of the benefits of using them. If not, I will run down a little history of sprites and the technique used to take advantage of them on your site(s).</p>

<h3>History</h3>

<p>Does anyone recall the bad old days of DOS and the 640k memory limit due to 16-bit addressing? As applications grew in size and complexity (e.g. AutoCAD, which I used to teach), requiring more RAM, programmers used all sorts of tricks like stealing memory (UMA/EMS/XMS) that wasn&#8217;t being used by the video card and so forth. All very ugly. But older and embedded systems had even more restrictions on available memory. Video games for example. This is where sprites originated from, a method of compositing several images together that are then mapped onto the screen as the game is played.</p>

<h3>Technique</h3>

<p>With advances in hardware and more available memory, this quickly went by the wayside. Why now, some 20+ years later, are we seeing the same basic technique used on the Web? I&#8217;ll get to that in a minute after I explain how it works. Again, you combine many similar images, each usually of the same dimensions, into one composite or library. Then, by displaying only a portion of the image as a background using pixel width and height, with offsets, you get a sort of peephole effect: one icon from a set as in the example above.</p>

<h3>Performance</h3>

<p>Why does this improve the rendering time of a page? Simple. Instead of many HTTP requests for each image, the page makes one request and the browser caches the image. After that it&#8217;s trivial, and fast, to expose only the portion you want to display.</p>

<h3>Productivity</h3>

<p>But how does productivity come into play? At least for me, I find it is much easier to work with one master set rather than worry about dozens or more tiny little images. If I need to add a new one I just tack it onto the end and calculate the offset to display it. Simple integer arithmetic.</p>

<h3>See Also</h3>

<ul>
<li><a href="http://developer.yahoo.com/performance/rules.html">Best Practices for Speeding Up Your Web Site</a></li>
<li><a href="http://loadaveragezero.com/app/drx/Data_Formats/Style_Sheets/CSS#ala:sprites">CSS Sprites</a></li>
<li><a href="http://www.alistapart.com/articles/sprites2">CSS Sprites2 - It&#8217;s JavaScript Time</a></li>
<li><a href="http://loadaveragezero.com/app/s9y/index.php?/archives/154-Google-Code-Ajax-Libraries-API.html">Google Code: Ajax Libraries API</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://loadaveragezero.com/app/wp/?feed=rss2&amp;p=106</wfw:commentRss>
		</item>
		<item>
		<title>WordPress and Unix File Permissions</title>
		<link>http://loadaveragezero.com/app/wp/?p=55</link>
		<comments>http://loadaveragezero.com/app/wp/?p=55#comments</comments>
		<pubDate>Sat, 22 Nov 2008 22:13:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[FreeBSD]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[chmod]]></category>

		<category><![CDATA[find]]></category>

		<category><![CDATA[permissions]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[theme]]></category>

		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://loadaveragezero.com/app/wp/?p=55</guid>
		<description><![CDATA[
Learn from the Unix Masters! (okay, I&#8217;m not a wizard but I know a thing or two).
 For most users, between WordPress themes and plugins, you want permissions on files and directories under your install directory set correctly in order to do nice things like edit your stylesheets (Theme Editor) and save settings (various plugins).

It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><a class="highslide-image" onclick="return hs.expand(this, {captionId:'caption_1227374448424'});" href="http://loadaveragezero.com/app/wp/img/wizard-lg.jpg"><img class="right" title="Click to enlarge" src="http://loadaveragezero.com/app/wp/img/wizard-sm.jpg" style="padding: 2px; border: 1px solid #bbb;" alt="image" /></a>
<div id="caption_1227374448424" class="highslide-caption">Learn from the Unix Masters! (okay, I&#8217;m not a wizard but I know a thing or two).</div>
<img class="icon" src="http://loadaveragezero.com/img/fav/drx/freebsd.gif" alt="freebsd" /> For most users, between WordPress themes and plugins, you want permissions on files and directories under your install directory set correctly in order to do nice things like edit your stylesheets (Theme Editor) and save settings (various plugins).</p>

<p>It&#8217;s important to keep in mind the ownership of these files and folders (normally you) is not the same as the ownership of the process (your Web server) that attempts these file create/open/read/write operations as a sort of agent on your behalf. Typically, the easiest thing to do is be liberal and set the read+write permissions for owner, group and others (everyone) on files and read+write+execute on directories.</p>

<p>Why execute on directories? I&#8217;m not going to get into a long tutorial here on <a href="http://loadaveragezero.com/app/drx/Software/Operating_Systems/Unix" title=" drx: Software: Operating Systems: Unix  ">Unix</a> file permissions, but I will provide some helpful links at the bottom of the post.</p>

<p>Now let&#8217;s say you wanted to take care of this in one fell swoop so you need never worry about seeing a notice from WordPress, rather than dealing with it piecemeal as you run across the problem. To do this you&#8217;ll need shell access to your server and two useful Unix commands: <em>find</em> and <em>chmod</em> (change file modes). In fact, we&#8217;re going to use them in conjunction.
<h3>find+chmod</h3>
The basic layout of the find command is:
<pre>find [start] [flags]</pre>
Where:
<ul>
    <li><code>[start]</code> — the directory to start searching from.</li>
    <li><code>[flags]</code> — any number of options to control what happens next.</li>
</ul>
Under Unix, just as in DOS/Windows, there are two special directories &#8216;.&#8217; and &#8216;..&#8217; which correspond to the current directory and its parent. So if you change (cd) into the root of your WordPress install directory and issue the command:
<pre>www/wp&gt; find .</pre>
 </p>

<p>it will recursively list every directory and every file on up. Which isn&#8217;t very useful in itself, there are easier and better ways to do that. What we want to do is filter the results, and apply a command on each. That&#8217;s where the find flags come in. A really handy one is -type [arg]. In our case we want to use two arguments &#8216;f&#8217; (regular file) and &#8216;d&#8217; (directory). Try the latter to see what happens:
<pre>www/wp&gt; find . -type d
.
./img
./wp-includes
./wp-includes/js
./wp-includes/js/jquery
...</pre>
And the same (or rather opposite) is true if you use the &#8216;f&#8217; argument. Now what we want to do is apply the chmod command on each and every file or directory. To do that we add a second flag to find, -exec, followed be some funny looking arguments. The first one is the command, chmod of course, followed by the mode argument, followed by the placeholder &#8216;{}&#8217; that represents the results of the find command, followed by a terminating semicolon which tells find just that, stop, I&#8217;m done with this execute string. One thing to watch out for here is the fact that a semicolon (and other special characters) have special meaning to the shell itself, so you will either have to backslash escape them or use single quotes around groups of them. We&#8217;ll use both techniques.
<h3>File and Directory Modes</h3>
For files we want read+write on owner, group and others (rw-rw-rw- or octal 666), and for directories we want read+write+execute on the same set (rwxrwxrwx or octal 777). Armed with everything we&#8217;ve learned so far, put it all together in two commands:
<pre>www/wp&gt; find . -type d -exec chmod 777 '{}' \;
www/wp&gt; find . -type f -exec chmod 666 '{}' \;</pre>
And just like that, no more messages from WordPress about not being able to create or update files.</p>

<p>Nice, eh?
<h3>Security</h3>
However, this sort of approach has a downside—particularly if you&#8217;re on a shared host. If this is a concern, and it should be, you can learn a lot more about configuring WordPress at the database level, and file permissions, at <a href="http://blogbuildingu.com/wordpress/install-wordpress-securely">How to Install WordPress Securely</a>.
<h3>See Also</h3>
<ul>
    <li><a href="http://wikipedia.org/wiki/File_system_permissions#Traditional_Unix_permissions">Unix file permissions</a></li>
    <li><a href="http://www.freebsd.org/cgi/man.cgi?query=chmod&amp;sektion=1&amp;manpath=FreeBSD+7.0-RELEASE+and+Ports" title=" FreeBSD Man Page: chmod(1) ">chmod(1)</a></li>
    <li><a href="http://www.freebsd.org/cgi/man.cgi?query=find&amp;sektion=1&amp;manpath=FreeBSD+7.0-RELEASE+and+Ports" title=" FreeBSD Man Page: find(1) ">find(1)</a></li>
</ul></p>
]]></content:encoded>
			<wfw:commentRss>http://loadaveragezero.com/app/wp/?feed=rss2&amp;p=55</wfw:commentRss>
		</item>
		<item>
		<title>Testing Markdown</title>
		<link>http://loadaveragezero.com/app/wp/?p=42</link>
		<comments>http://loadaveragezero.com/app/wp/?p=42#comments</comments>
		<pubDate>Sat, 22 Nov 2008 11:42:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[markdown]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://loadaveragezero.com/app/wp/?p=42</guid>
		<description><![CDATA[This is a link to my old blog.
]]></description>
			<content:encoded><![CDATA[<p>This is a <a href="http://loadaveragezero.com/app/s9y/">link</a> to my old blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://loadaveragezero.com/app/wp/?feed=rss2&amp;p=42</wfw:commentRss>
		</item>
		<item>
		<title>The Brave New World of Web Development</title>
		<link>http://loadaveragezero.com/app/wp/?p=20</link>
		<comments>http://loadaveragezero.com/app/wp/?p=20#comments</comments>
		<pubDate>Sat, 22 Nov 2008 04:20:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Extensions]]></category>

		<category><![CDATA[Firefox]]></category>

		<category><![CDATA[firebug]]></category>

		<guid isPermaLink="false">http://loadaveragezero.com/app/wp/?p=20</guid>
		<description><![CDATA[
Firebug running while I work on aligning floating right images.
 You gotta love Firebug!

]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://loadaveragezero.com/app/wp/img/screenshot-lg.jpg" onclick="return hs.expand(this, {captionId:'caption_1227327387385'});" class="highslide-image"><img src="http://loadaveragezero.com/app/wp/img/screenshot-sm.jpg" alt="image" title="Click to enlarge" /></a><div class="highslide-caption" id="caption_1227327387385">Firebug running while I work on aligning floating right images.</div>
<img src="http://loadaveragezero.com/img/fav/drx/firebug.gif" alt="firebug" class="icon" /> You gotta love <a href="http://loadaveragezero.com/app/s9y/index.php?/archives/150-Firefox-Power-Tools-For-Web-Developers-FireBug.html">Firebug</a>!
</p>
]]></content:encoded>
			<wfw:commentRss>http://loadaveragezero.com/app/wp/?feed=rss2&amp;p=20</wfw:commentRss>
		</item>
		<item>
		<title>Testing user-defined styles</title>
		<link>http://loadaveragezero.com/app/wp/?p=17</link>
		<comments>http://loadaveragezero.com/app/wp/?p=17#comments</comments>
		<pubDate>Sat, 22 Nov 2008 03:51:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[stylesheet]]></category>

		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://loadaveragezero.com/app/wp/?p=17</guid>
		<description><![CDATA[
This post is simply to test how well it works to have an image float to the right. I have to tell you, it sure is nice to be able to edit the stylesheet directly from the admin area for this theme. You have to make sure the permissions on the folder are set liberally [...]]]></description>
			<content:encoded><![CDATA[<p><img class="right" title=" WordPress Logo " src="http://loadaveragezero.com/app/wp/wp-content/uploads/2008/11/wordpress-sm.jpg" alt="logo" />
This post is simply to test how well it works to have an image float to the right. I have to tell you, it sure is nice to be able to edit the stylesheet directly from the admin area for this theme. You have to make sure the permissions on the folder are set liberally enough for it to work however.</p>

<p>Pretty sweet, no?</p>

<p>I don&#8217;t like that caption though, must remove it.</p>

<p>Done.</p>
]]></content:encoded>
			<wfw:commentRss>http://loadaveragezero.com/app/wp/?feed=rss2&amp;p=17</wfw:commentRss>
		</item>
		<item>
		<title>Testing Highslide plugin</title>
		<link>http://loadaveragezero.com/app/wp/?p=13</link>
		<comments>http://loadaveragezero.com/app/wp/?p=13#comments</comments>
		<pubDate>Sat, 22 Nov 2008 03:11:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://loadaveragezero.com/app/wp/?p=13</guid>
		<description><![CDATA[
Slick WordPress logo that looks like the hood ornament off an expensive sports car.
]]></description>
			<content:encoded><![CDATA[<p><a class="highslide-image" onclick="return hs.expand(this, {captionId:'caption_1227323607760'});" href="http://loadaveragezero.com/app/wp/img/wordpress-lg.jpg"><img title="Click to enlarge" src="http://loadaveragezero.com/app/wp/img/wordpress-sm.jpg" alt="image" /></a>
<div id="caption_1227323607760" class="highslide-caption">Slick WordPress logo that looks like the hood ornament off an expensive sports car.</div></p>
]]></content:encoded>
			<wfw:commentRss>http://loadaveragezero.com/app/wp/?feed=rss2&amp;p=13</wfw:commentRss>
		</item>
		<item>
		<title>Bugs</title>
		<link>http://loadaveragezero.com/app/wp/?p=6</link>
		<comments>http://loadaveragezero.com/app/wp/?p=6#comments</comments>
		<pubDate>Sat, 22 Nov 2008 02:28:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Commentary]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[bugs]]></category>

		<guid isPermaLink="false">http://loadaveragezero.com/app/wp/?p=6</guid>
		<description><![CDATA[ Okay, the first thing I noticed that bugged me is categories and tags share the same namespace. Which means you can&#8217;t have a tag with the same name as a category, with different capitalizations on each. I prefer tags to be all lowercase, I prefer categories to be, well, you get the idea. I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://loadaveragezero.com/img/fav/drx/xdebug.gif" alt="bug" class="icon" /> Okay, the first thing I noticed that bugged me is categories and tags share the same namespace. Which means you can&#8217;t have a tag with the same name as a category, with different capitalizations on each. I prefer tags to be all lowercase, I prefer categories to be, well, you get the idea. I&#8217;m sure there is a workaround for this, being new to this WordPress thing and all.</p>
]]></content:encoded>
			<wfw:commentRss>http://loadaveragezero.com/app/wp/?feed=rss2&amp;p=6</wfw:commentRss>
		</item>
		<item>
		<title>Testing Geshi plugin</title>
		<link>http://loadaveragezero.com/app/wp/?p=3</link>
		<comments>http://loadaveragezero.com/app/wp/?p=3#comments</comments>
		<pubDate>Sat, 22 Nov 2008 02:05:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[syntax]]></category>

		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://loadaveragezero.com/app/wp/?p=3</guid>
		<description><![CDATA[
1
2
3
4
5
function test&#40;$id, $optional = false&#41; &#123;
  echo 'test: '.$id;
  if &#40;$optional&#41; echo ' not false!';
  echo &#34;\n&#34;;
&#125; // test()


See Also


Generic Syntax Highlighter

]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="php php"><span style="color: #000000; font-weight: bold;">function</span> test<span style="color: #009900;">&#40;</span><span style="color: #000088;">$id</span><span style="color: #339933;">,</span> <span style="color: #000088;">$optional</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #990000;">echo</span> <span style="">'test: '</span><span style="color: #339933;">.</span><span style="color: #000088;">$id</span>;
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$optional</span><span style="color: #009900;">&#41;</span> <span style="color: #990000;">echo</span> <span style="">' not false!'</span>;
  <span style="color: #990000;">echo</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
<span style="color: #009900;">&#125;</span> <span style="color: #666666; font-style: italic;">// test()</span></pre></td></tr></table></div>


<h3>See Also</h3>

<ul>
<li><a href="http://loadaveragezero.com/app/drx/Programming/Development_Tools#geshi:highlighter">Generic Syntax Highlighter</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://loadaveragezero.com/app/wp/?feed=rss2&amp;p=3</wfw:commentRss>
		</item>
	</channel>
</rss>
