<?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>Refreshingly Blue</title>
	<atom:link href="http://www.refreshinglyblue.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.refreshinglyblue.com</link>
	<description>Notes by Lee Blue</description>
	<lastBuildDate>Sun, 29 Aug 2010 03:50:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Sending Email With Postfix And MAMP Pro</title>
		<link>http://www.refreshinglyblue.com/2010/08/28/sending-email-with-postfix-and-mamp-pro/</link>
		<comments>http://www.refreshinglyblue.com/2010/08/28/sending-email-with-postfix-and-mamp-pro/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 03:50:13 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.refreshinglyblue.com/?p=233</guid>
		<description><![CDATA[MAMP Pro makes it very easy to set up a PHP development environment. It even makes configuring your Postfix mail server configured most of the way. If you are using Postfix as a smart host to send mail through your ISP or your business mail server and your mac username (shortname) is not the same [...]]]></description>
			<content:encoded><![CDATA[<p>MAMP Pro makes it very easy to set up a PHP development environment. It even makes configuring your Postfix mail server configured most of the way. If you are using Postfix as a smart host to send mail through your ISP or your business mail server and your mac username (shortname) is not the same as the username part of your email address then you have to set up the correct sender address in your Postfix configuration. Here is how you do it.</p>
<p><span id="more-233"></span></p>
<h2 id="setting_the_correct_sender_address_in_postfix">Setting The Correct Sender Address In Postfix</h2>
<p>My mac (work computer) is set up with usernames in the format of first inital, last name (lblue). We use Rackspace Email for our company email and our email addresses are set up as just FirstName@domain.com (Lee@domain.com). So, the problem with the default Postfix configuration is that it attempts to send mail based on the username on my mac. So when postfix attempts to send mail from lblue@domain.com our Rackspace Email server complains with a &#8220;Sender address rejected&#8221; error message. Fortunately, the solution is pretty easy. </p>
<p>Step 1: Edit your /etc/postfix/main.cf and add following line to your configuration.</p>
<pre><code>sender_canonical_maps = hash:/etc/postfix/sender_canonical</code></pre>
<p>Step 2: Create the sender canonical file /etc/postfix/sender_canonical and set up the username / email address associations</p>
<pre><code>
lblue    Lee@domain.com
</code></pre>
<p>Step 3: Run postmap on your new sender canonical file</p>
<pre><code>sudo postmap /etc/postfix/sender_canonical</code></pre>
<p>Step 4: Reload Postfix</p>
<pre><code>sudo postfix reload</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.refreshinglyblue.com/2010/08/28/sending-email-with-postfix-and-mamp-pro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Favorite Vim Tips</title>
		<link>http://www.refreshinglyblue.com/2010/07/30/favorite-vim-tips/</link>
		<comments>http://www.refreshinglyblue.com/2010/07/30/favorite-vim-tips/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 02:31:24 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://www.refreshinglyblue.com/?p=221</guid>
		<description><![CDATA[Quickly Indent Blocks Of Code


Make sure you have :set cindent
Put your cursor on an opening { or closing } 
Press =%
All the code in the block is nicely indented

Searching Through Projects With vimgrep
Search through all the PHP files in a project.
1. Make sure you are at the root of your project in vim (type :pwd [...]]]></description>
			<content:encoded><![CDATA[<h2>Quickly Indent Blocks Of Code</h2>
<p><img src="http://www.digitalunderware.com/briefcase/vi-gang-sign-100.jpg" alt="Vi Gang Sign" align="right" style="padding: 10px;"></p>
<ol>
<li>Make sure you have :set cindent</li>
<li>Put your cursor on an opening { or closing } </li>
<li>Press =%</li>
<li>All the code in the block is nicely indented</li>
</ol>
<h2>Searching Through Projects With vimgrep</h2>
<p>Search through all the PHP files in a project.<br />
1. Make sure you are at the root of your project in vim (type :pwd to see) if you are in the wrong dir then type :cd /path/to/project<br />
2. :vimgrep pattern **/*.php</p>
<h3>Examples:</h3>
<p>Find the pattern &#8220;findMe&#8221; and don&#8217;t jump to the first match. Use the j flag to prevent jumping to the first match</p>
<pre><code>:vimgrep /findMe/j **/*.php
</code></pre>
<p>Find the pattern &#8220;findMe&#8221; but match on case as well (not case-sensitive)</p>
<pre><code>:vimgrep findMe\C **/*.php
</code></pre>
<p>Find the patter &#8220;findMe&#8221; without regard to case (case-insensitive)</p>
<pre><code>:vimgrep findMe\c **/*.php
</code></pre>
<h2>Organize With Pathogen</h2>
<p>This is the best plugin ever for keeping your other vim plugins neat and<br />
organized. Gone are the days of shotgunning doc and plugin files in multiple<br />
directories. Now a plugin and all its related files can stay together.<br />
<a href="http://www.vim.org/scripts/script.php?script_id=2332">Go here to get pathogen from vim.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.refreshinglyblue.com/2010/07/30/favorite-vim-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exclude Individual Pages From WordPress Searches</title>
		<link>http://www.refreshinglyblue.com/2010/07/21/exclude-individual-pages-from-wordpress-searches/</link>
		<comments>http://www.refreshinglyblue.com/2010/07/21/exclude-individual-pages-from-wordpress-searches/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 03:31:58 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.refreshinglyblue.com/?p=215</guid>
		<description><![CDATA[There is plenty of information on how to exclude certain categories from WordPress Searches but it is very hard to find anything on how to exclude individual posts or pages from the search results. All you need to do is add a search filter to your functions.php file in your WordPress theme that looks like [...]]]></description>
			<content:encoded><![CDATA[<p>There is plenty of information on how to exclude certain categories from WordPress Searches but it is very hard to find anything on how to exclude individual posts or pages from the search results. All you need to do is add a search filter to your functions.php file in your WordPress theme that looks like this:</p>
<pre name="code" class="php">
function searchFilter($query) {
  if ($query-&gt;is_search) {
    $query-&gt;set('post__not_in', array(13,14,15));
  }
  return $query;
}
add_filter('pre_get_posts','searchFilter');
</pre>
<p>Just change 13,14,15 to whatever page (or post) ids you would like to exclude from the search. Do not put the numbers in quotes. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.refreshinglyblue.com/2010/07/21/exclude-individual-pages-from-wordpress-searches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Fix The Warning: This Page Contains Both Secure and Non-Secure Items</title>
		<link>http://www.refreshinglyblue.com/2010/05/06/unauthenticated-content/</link>
		<comments>http://www.refreshinglyblue.com/2010/05/06/unauthenticated-content/#comments</comments>
		<pubDate>Thu, 06 May 2010 14:06:48 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Everyday Tips]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.refreshinglyblue.com/?p=213</guid>
		<description><![CDATA[You installed an SSL certificate and you keep getting that pesky warning about how some of the content on the page is not secure or unauthenticated.  Here&#8217;s what you do to find the offending content.

Visit the page in your web browser
View the source code for the page
Search the source code for src

Click through all the [...]]]></description>
			<content:encoded><![CDATA[<p>You installed an SSL certificate and you keep getting that pesky warning about how some of the content on the page is not secure or unauthenticated.  Here&#8217;s what you do to find the offending content.</p>
<ol>
<li>Visit the page in your web browser</li>
<li>View the source code for the page</li>
<li>Search the source code for <em>src</em></li>
</ol>
<p>Click through all the instances of <em>src</em> and look for items that are sourced through http:// rather than https://. Look at all your images, javascripts, stylesheets, etc. They all need to be pulled through https:// in order for your page to be totally secure and for that warning to go away. Internet Explorer is particularly finicky about this message so be sure to check your site in IE to make sure you don&#8217;t get this message: &#8216;<strong>This Page Contains Both Secure and Non-Secure Items</strong>&#8216; The FireFox message that means the same thing is &#8216;<strong>Warning: Contains Unauthenticated Content</strong>&#8216; this is the same problem. Just make sure your page is pulling all it&#8217;s resources through https:// and that is how you fix the error about &#8217;secure and non-secure&#8217; items on your SSL pages.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.refreshinglyblue.com/2010/05/06/unauthenticated-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Stop A Cold Almost Instantly &#8211; Naturally</title>
		<link>http://www.refreshinglyblue.com/2010/03/10/how-to-stop-a-cold-almost-instantly-naturally/</link>
		<comments>http://www.refreshinglyblue.com/2010/03/10/how-to-stop-a-cold-almost-instantly-naturally/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 21:44:00 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Everyday Tips]]></category>

		<guid isPermaLink="false">http://www.refreshinglyblue.com/?p=208</guid>
		<description><![CDATA[If you think you are about to get sick, like you feel you throat starting to itch and congestion is coming and you think it&#8217;s the first sign of a cold follow these steps and you will most likely avoid getting sick. You will probably feel dramatic improvement in less than 24 hours and will [...]]]></description>
			<content:encoded><![CDATA[<p>If you think you are about to get sick, like you feel you throat starting to itch and congestion is coming and you think it&#8217;s the first sign of a cold follow these steps and you will most likely avoid getting sick. You will probably feel dramatic improvement in less than 24 hours and will most likely be totally back in action in 48 hours. Of course, I am not a doctor and don&#8217;t do anything dumb. This is just a suggestion from a father with 4 kids. Use this advice at your own risk blah, blah, disclaimer disclaimer, etc.</p>
<p><span id="more-208"></span></p>
<h2>What You Need</h2>
<ul>
<li>A box of Emergen-C (or the Kroger/generic brand)</li>
<li>A bottle of Vitamin D pills &#8211; preferably natural from fish oil (mine are 400 IU each)</li>
<li>Listerine</li>
<li>Colloidal Silver in a nasal spray bottle</li>
</ul>
<h2>What You Do</h2>
<p>As soon as you feel the first symptoms coming on:</p>
<ol>
<li>3 sprays of colloidal silver in each nostril (blow your nose first if you need to)</li>
<li>Drink a serving of Emergen-C</li>
<li>Gargle with Listerine for about a minute</li>
<li>Take 2 Vitamin D pills (roughly 800 IU)</li>
</ol>
<p>Repeat this process every 12 hours.</p>
<p>WARNING: You can overdose on Vitamin  D so don&#8217;t swallow 20 pills at once or anything dumb like that.</p>
<p>These doses are for adults. Kids can do the routine too. Just give them less of everything, especially less vitamin D. For example, I give my 4 year old son only 1/2 of a normal serving of EmergenC. Hopefully, this tip will help you out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.refreshinglyblue.com/2010/03/10/how-to-stop-a-cold-almost-instantly-naturally/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git Archive Like SVN Export But Better</title>
		<link>http://www.refreshinglyblue.com/2010/03/05/git-archive-like-svn-export-but-better/</link>
		<comments>http://www.refreshinglyblue.com/2010/03/05/git-archive-like-svn-export-but-better/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 16:16:58 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.refreshinglyblue.com/?p=206</guid>
		<description><![CDATA[If you are switching from Subversion to Git and want to know the best way to export your code similar to svn export then here is a great command to know about.
git archive -o ~/Desktop/project.zip HEAD
That will extract your most recent stuff in your current branch, zip it up, and drop it on your desktop. [...]]]></description>
			<content:encoded><![CDATA[<p>If you are switching from Subversion to Git and want to know the best way to export your code similar to svn export then here is a great command to know about.</p>
<pre>git archive -o ~/Desktop/project.zip HEAD</pre>
<p>That will extract your most recent stuff in your current branch, zip it up, and drop it on your desktop. We do a lot of WordPress plugin development and with this single command we can get our plugin code ready for installation extremely quickly. Here is more information about <a href="http://ftp.sunet.se/pub/Linux/kernel.org/software/scm/git/docs/git-archive.html">git archive</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.refreshinglyblue.com/2010/03/05/git-archive-like-svn-export-but-better/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Custom Query To Select Posts From A Category</title>
		<link>http://www.refreshinglyblue.com/2010/02/26/wordpress-custom-query-to-select-posts-from-a-category/</link>
		<comments>http://www.refreshinglyblue.com/2010/02/26/wordpress-custom-query-to-select-posts-from-a-category/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 19:37:55 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.refreshinglyblue.com/?p=197</guid>
		<description><![CDATA[A friend asked how he could pull the three most recent WordPress posts from a particular category on a non-WordPress site. He has the ability to connect to the WordPress database. So here is the code you need to pull this off.


mysql_connect("localhost","username","password");
mysql_select_db("database");

// Change the category name to whatever category you want to use
$categoryName = 'Music';

$query [...]]]></description>
			<content:encoded><![CDATA[<p>A friend asked how he could pull the three most recent WordPress posts from a particular category on a non-WordPress site. He has the ability to connect to the WordPress database. So here is the code you need to pull this off.</p>
<p><span id="more-197"></span></p>
<pre name="code" class="php">
mysql_connect("localhost","username","password");
mysql_select_db("database");

// Change the category name to whatever category you want to use
$categoryName = 'Music';

$query = "SELECT post_title, guid
  FROM
    wp_posts,
    wp_terms,
    wp_term_taxonomy,
    wp_term_relationships
  WHERE
   wp_terms.name = '$categoryName' and
   wp_terms.term_id = wp_term_taxonomy.term_id and
   wp_term_relationships.term_taxonomy_id
      = wp_term_taxonomy.term_taxonomy_id and
   wp_term_relationships.term_taxonomy_id
      = wp_term_taxonomy.term_taxonomy_id and
   wp_term_relationships.object_id = wp_posts.ID
  ORDER BY post_date DESC LIMIT 3";

$q = mysql_query($query);
while ($row = mysql_fetch_assoc($q)) {
    echo "
<li><a href=\"";
    echo "{$row['guid']}";
    echo "\">";
    echo "{$row['post_title']}";
    echo "</a></li>

";
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.refreshinglyblue.com/2010/02/26/wordpress-custom-query-to-select-posts-from-a-category/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup Subversion with cPanel and Apache</title>
		<link>http://www.refreshinglyblue.com/2010/01/21/setup-subversion-with-cpanel-and-apache/</link>
		<comments>http://www.refreshinglyblue.com/2010/01/21/setup-subversion-with-cpanel-and-apache/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 16:58:04 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Everyday Tips]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Sys Admin]]></category>

		<guid isPermaLink="false">http://www.refreshinglyblue.com/?p=187</guid>
		<description><![CDATA[This is a  summary of how to set up a new svn repository that you can access through apache when your server is configured with cPanel. This is not a tutorial on installing cPanel and Subversion.  The assumption is that you already have subversion installed on your cPanel managed server.

1) Set up an account where [...]]]></description>
			<content:encoded><![CDATA[<p>This is a  summary of how to set up a new svn repository that you can access through apache when your server is configured with cPanel. This is not a tutorial on installing cPanel and Subversion.  The assumption is that you already have subversion installed on your cPanel managed server.</p>
<p><span id="more-187"></span></p>
<p>1) Set up an account where you want to host your subversion repositories, perhaps use a domain like subversion.mywebsite.com</p>
<p>2) SSH into your new account and create a directory that will contain all your subversion repositories. For example, you might have a path like /home/&lt;username&gt;/subversion where &lt;username&gt; is the username you used to log into your account.</p>
<p>3) Set up a subversion repository by changing directories into your subversion directory you just created and issuing the following commands.</p>
<p>cd /home/username/subversion<br />
svnadmin create myproject<br />
sudo chgrp -R nobody myproject<br />
sudo chmod -R g+w myproject</p>
<p>Note that we changed the group to &#8220;nobody&#8221; which is the user that apache runs as. You need to do this so that when you access the repository through apache, apache has permission to write files to your repository. By default, cPanel runs apache with the user &#8220;nobody&#8221; but not always. So, just be sure that you set the correct group name for your repository.</p>
<p>4) Next you need to tell apache about your new subversion repository. To do that, log into your cPanel WHM account and go to <strong>Service Configuration -&gt; Apache Configuration -&gt; Include Editor</strong> and edit the Pre VirtualHost Include file. Enter in a block like this:</p>
<p>&lt;Location /path/to/repository&gt;<br />
DAV svn<br />
SVNPath /absolute/path/to/repository<br />
AuthType Basic<br />
AuthName “Subversion Repository”<br />
AuthUserFile /absolute/path/to/password/file.txt<br />
Require valid-user<br />
&lt;/Location&gt;</p>
<p>The first path in the block above is /path/to/repository in the Location tag. This is the path you want to use when accessing the repository through Apache.  For example, if you wanted to access your repository at http://subversion.mywebsite.com/myproject then you would simply write /myproject as the path in the Location tag.</p>
<p>The second path is the SVNPath which is the absolute path to your subversion repository. So in our example you would use /home/username/subversion/myproject</p>
<p>The third path is the absolute path to you htpasswd file. We haven’t created this yet but we will in the next step. You may choose to put this file in any directory you wish perhaps at /home/username/svnpasswords.txt This is the file that will contain the usernames and passwords for accessing your Subversion repository through Apache.</p>
<p>When you are all finished click the button to restart Apache.</p>
<p>5) Now we need to create the htpasswd file. Change directories into the directory where you want to store your password file and issue this command:</p>
<p>htpasswd -c svnpasswords.txt</p>
<p>If you want more than one user, run the same command again but leave off the -c. If you don’t leave off the -c then a new password file will be created and all your previous entries will be lost.</p>
<p>6) Finally, you will want to create the normal trunk, tags, and branches folders in your repository. You can issue these commands from your development machine if you like since you are now able to access your repository through apache.</p>
<p>svn mkdir http://subversion.mywebsite.com/myproject/trunk -m &#8220;creating trunk&#8221;<br />
svn mkdir http://subversion.mywebsite.com/myproject/tags -m &#8220;creating tags&#8221;<br />
svn mkdir http://subversion.mywebsite.com/myproject/branches -m &#8220;creating branches&#8221;</p>
<p>Now you have your repository all set up and ready to receive your source code. So, normally speaking you would checkout out your trunk, add some files, and commit your initial set of files to the repository.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.refreshinglyblue.com/2010/01/21/setup-subversion-with-cpanel-and-apache/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Stay Away From Rackspace Cloudsites</title>
		<link>http://www.refreshinglyblue.com/2009/12/31/stay-away-from-rackspace-cloudsites/</link>
		<comments>http://www.refreshinglyblue.com/2009/12/31/stay-away-from-rackspace-cloudsites/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 18:21:34 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Everyday Tips]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.refreshinglyblue.com/?p=182</guid>
		<description><![CDATA[I have worked with several dedicated servers at Rackspace and the experience was a joy. The servers perform very well and the Rackspace managed support was great. So when I learned of Cloudsites which appeared to bundle the great support I had grown to love with a package that seemed great for hosting our sites [...]]]></description>
			<content:encoded><![CDATA[<p>I have worked with several dedicated servers at Rackspace and the experience was a joy. The servers perform very well and the Rackspace managed support was great. So when I learned of Cloudsites which appeared to bundle the great support I had grown to love with a package that seemed great for hosting our sites that didn&#8217;t require their own dedicated server I was very excited. Unfortunately, it turns out the Rackspace Cloudsites is unstable, unreliable, and slow. The support is still good, at least in terms of being available, but all they can say is &#8220;I&#8217;m sorry all your sites are down.&#8221;</p>
<p><span id="more-182"></span></p>
<p>The Cloudsites control panel is very nice (when it is online). It&#8217;s very easy to set up sites, the interface is clean, and their built in email service is excellent. Their spam filter works exceptionally well. It is a bit confusing to set up email addresses that simply forward to another domain but it is possible. Even though the control panel is nice, that is pretty much the only redeeming quality Rackspace Cloudsites has to offer. There are many other factors that totally negate the benefits of their pleasant control panel.</p>
<h2>No SSH Access</h2>
<p>Since Cloudsites does not provide SSH access you can&#8217;t host your git or svn repositories on cloudsites. They recommend using <a href="http://www.expandrive.com/mac">ExpanDrive</a> so that you can deploy your sites from your source code repository to your live site but it is extremely slow to the point of being virtually useless. We found that it was far faster to use <a href="http://www.panic.com/transmit/">Transmit</a> to connect to the server than Expandrive.  We also started using <a href="http://beanstalkapp.com/">Beanstalk</a> for our subversion repositories. Beanstalk is awesome, works great, and has a very cool FTP deployment feature which enabled us to deploy our sites to Rackspace Cloudsites quickly and effectively. The only downside to Beanstalk is that they limit the number or repositories you can have. Most of our projects don&#8217;t require much disk space for the source code so we are going to run out of repositories long before we hit our disk space limit. Be that as it may, Beanstalk is a great investment and I recommend it to anyone looking for a managed subversion resource. If the lack of SSH access were the only problem Cloudsites had, we would still be using it. With Beanstalk and a few tweaks to our production work flow we were able to get around the lack of SSH access &#8211; although it was annoying. For example, it&#8217;s nice to transfer a large number of files as a compressed tarball or a zip file (such as a WordPress installation) then extract the tarball on the server. The Rackspace Cloudsites control panel has zip/unzip functionality but it&#8217;s a pain to use compared to real command line access. Likewise, anything else you would do from the command line, like testing cron scripts, is painful if its even possible at all.</p>
<h2>Stability and Performance Is Miserable</h2>
<p>The stability of  Rackspace Cloudsites is terrible. Just this week the control panel was completely offline for about 3 hours. It went off line right as I was transferring a site and consequently I was unable to complete the transfer and had to start all over again the next day. So, basically all 26 sites we had on Cloudsites were completely unavailable if I needed to do anything involving the control panel such as install an SSL cert, create an email account, reset and FTP password, etc.</p>
<p>Even worse than having the control panel offline, we run several e-commerce sites and 2 weeks before Christmas, our peak sales time of the year, our database was in &#8220;read only mode&#8221; ALL DAY due to a &#8220;degradation&#8221; in their service. So, to our customers, it appeared like they were buying things because the site was online and everything seemed to be working, but their orders were never saved to the database. This was a problem with several of our sites that day since multiple sites all use the same database server that was in read-only mode. Rackspace has offered us 1 free month of hosting for our trouble.</p>
<p>Performance is pretty crappy too. Because of all the trouble we had with Cloudsites, our friends on Twitter suggested that we look into VPS.net. After reading a bunch of great reviews and researching their product offering we decided to sign up for a small, 3-Node account costing a mere $54/month (compared to $120/month for Rackspace Cloudsites). We transferred one of our WordPress websites off Rackspace Cloudsites onto our new VPS.net setup and here is a report of the response time of Rackspace Cloudsites vs VPS.net running the exact same site. VPS.net is about twice as fast (half the response time).</p>
<p><img class="alignnone size-full wp-image-184" title="Response time graph" src="http://www.refreshinglyblue.com/wp-content/uploads/response-time-e1262282790865.png" alt="" width="500" height="340" /></p>
<p>We have run other benchmark tests and have found that a 3-Node, $54/month account with VPS.net is roughly twice as fast as Rackspace Cloudsites. For example, in addition to response time being about twice as fast, the VPS.net account is serving twice as many requests per second. Again, these tests are on the exact same WordPress website running on both servers.</p>
<h2>Support</h2>
<p>The main reason we signed up for Rackspace Cloudsites in the first place was because of the great experience we have had in the past with Rackspace &#8220;fanatical&#8221; support with our dedicated servers. The support is still good with Cloudsites but, unfortunately, since the platform itself tends to &#8220;degrade&#8221; frequently, there is not much the support can do for you other than perhaps hook you up with a free month of hosting. With Rackspace Cloudsites the unlimited support is included in the $120/month cost (Yes $120/month not $100/month: Cloudsites charges you and extra $20/month if you want to use SSL certificates).</p>
<p>With VPS.net you are free to manage your own account or you can elect to purchase their Pro-Active Managed Support package for $99/month. The managed support package gives you live chat with their support team and they will pretty much do anything you need including migrate over up to 20 of your websites from your previous hosting company. This also includes monthly security overhauls and 24/7 monitoring. If you don&#8217;t want to buy the $99/month package you can submit paid trouble tickets for $10/ticket. We have found that the we almost always have our support tickets resolved in less than one hour.</p>
<p>Both Rackspace Cloudsites and VPS.net offer excellent support. But, since the folks at VPS.net can actually do something to help, as opposed to the Rackspace support folks simply apologizing for their failing system, VPS.net wins out in the support department as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.refreshinglyblue.com/2009/12/31/stay-away-from-rackspace-cloudsites/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Top Ten WordPress Plugins</title>
		<link>http://www.refreshinglyblue.com/2009/12/05/top-ten-wordpress-plugins/</link>
		<comments>http://www.refreshinglyblue.com/2009/12/05/top-ten-wordpress-plugins/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 01:14:38 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Everyday Tips]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.refreshinglyblue.com/?p=175</guid>
		<description><![CDATA[We&#8217;ve been asked what WordPress plugins we use most often and what we recommend that other people use on their sites. There are quite a few great plugins out there, but here is our top 10 list of WordPress plugins that we have found the most useful and that we use the most often.

10. Wickett [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve been asked what WordPress plugins we use most often and what we recommend that other people use on their sites. There are quite a few great plugins out there, but here is our top 10 list of WordPress plugins that we have found the most useful and that we use the most often.</p>
<p><span id="more-175"></span></p>
<h2>10. Wickett Twitter Widget</h2>
<p>To help build up a following on Twitter, one thing you want to do is broadcast your tweets in as many ways as possible. The Wickett Twitter Widget is an awesomely simple way to get your most recent tweets on your WordPress site. It installs as a sidebar widget and you can specify the number of tweets to display and whether or not you want to hide &#8220;reply&#8221; tweets. There are several other Twitter related plugins, but this one makes the top ten list because of it simplicity and elegance. You go to alot of trouble to find interesting links and comments and so it is great to be able to share your tweets on your blog.</p>
<p><a href="http://wordpress.org/extend/plugins/wickett-twitter-widget/">Visit Wickett Twitter Widget</a></p>
<h2>9. WP Logic</h2>
<p>Perhaps a tad technical, but well worth mentioning, the WP Logic plugin gives every widget an extra control field called &#8220;Widget logic&#8221; that lets you control the pages that the widget will appear on. Suppose you have a WordPress site that acts as both your main website as well as your blog and you only want to show your blog categories on your &#8220;posts&#8221; and not on your &#8220;pages&#8221; &#8211; it&#8217;s easy to do with this plugin. This is one of those plugins where your friends will be saying, &#8220;Wow! How did you do that?&#8221;</p>
<p><a href="http://freakytrigger.co.uk/wordpress-setup/">Visit Widget Logic</a></p>
<h2>8. Page Mash</h2>
<p>This is a simple WordPress page management plugin. The Ajax interface allows you to drag-and-drop the pages into the order you like, modify the page structure by dragging a page to become a child or parent and toggle the page to be hidden from output. You can also see the id of the page which is often helpful for theme developers. If you have a WordPress site with more than just a handful of pages, PageMash is extremely helpful.</p>
<p><a href="http://joelstarnes.co.uk/blog/pagemash/">Visit PageMash simple WordPress page order management.</a></p>
<h2>7. All in One SEO Pack</h2>
<p>The All in One SEO Pack plugin automatically optimizes your Wordpress blog for Search Engine by allowing you to fine tune things like your page title and meta tags. This plugin is extremely easy to use as it works great straight out of the box. If you are an advanced user, you can customize virtually everything. And if you are a developer, this plugin has an API so your themes can access and extend the functionality of the plugin.</p>
<p><a href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/">Visit All in One SEO Pack</a></p>
<h2>6. Google XML Sitemaps</h2>
<p>Perhaps the most downloaded WordPress plugin, the Google XML Sitemaps plugin not only automatically creates a site map linking to all your pages and posts, it also notifies Google, Bing, Yahoo, and Ask.com when you make changes to you site. If you want to include pages that are part of your site but not part of you WordPress managed content, you can do that to./p></p>
<p><a href="http://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/">Visit Google XML Sitemaps Generator</a></p>
<h2>5. WP Super Cache</h2>
<p>If you have a popular WordPress website you should seriously consider running WordPress Super Cache to improve the performance of your website. If you are not caching your pages, then every time a visitor comes to your site, WordPress has to pull together various pieces of information out of a database to put your page together. If you have a high traffic site, this is can really become a problem. WP Super Cache will store a copy of each of the pages on your website so that after the page has been assembled from the database once, WordPress can rest and just keep serving the static html copy of the page. This might be a bit techy, but the idea is you can dramatically speed up your site and reduce the load on your server by using WP Super Cache. If for no other reason, use this plugin so you don&#8217;t have to panic when your friend says, &#8220;I just Dugg your site.&#8221;</p>
<p><a href="http://ocaoimh.ie/wp-super-cache/">Visit WP Super Cache to make WordPress faster</a></p>
<h2>4. NextGEN Image Gallery</h2>
<p>If you want to display a photo gallery, show a series of product images, or just publish a slide show from your most recent vacation, the NextGEN image gallery is the plugin for you. NextGEN Gallery is a full integrated Image Gallery plugin for WordPress with a Flash slideshow option. Among the many features, NextGEN Gallery includes a thumbnail generator, sortable albums, and a water mark function. There are also plenty of add-ons as well including the <a href="http://wordpress.org/extend/plugins/nextgen-flashviewer/">NextGEN FlashViewer</a> and <a href="http://wordpress.org/extend/plugins/nextgen-imageflow/">NextGEN ImageFlow</a>.</p>
<p><a href="http://wordpress.org/extend/plugins/nextgen-gallery/">Visit NextGEN Image Gallery</a></p>
<h2>3. cformsII Form Plugin</h2>
<p>If your looking for a free form management plugin, cformsII is an extremely powerful plugin for setting up contact forms on your WordPress site. You don&#8217;t need to know any PHP or write any code. You can visually build forms in the WordPress admin panel. Then, navigate to the page or post where you want to use the form and there is a button in the WYSIWYG editor that you click and up pops a list of forms that you have made. Simply click on the one you want and your form is inserted into your page. Update your page and you the form is live. You can specify required fields, default values, and there are plenty of styles to make your form blend in perfectly with your site.</p>
<p><a href="http://www.deliciousdays.com/cforms-plugin">Visit cformsII WordPress Form Plugin</a></p>
<h2>2. Gravity Forms</h2>
<p>If you want the best forms plugin WordPress has to offer, you need Gravity Forms. Gravity Forms is an amazing plugin for managing online forms. Some of the incredibly useful features include conditional form fields which means you can show or hide a field or entire sections of the form based on a value selected in another field. You can pre-populate form fields using querystring, shortcode, function or hooks.You can even schedule when forms are available by assigning a start date and end date for when your form is live on your site. Supposed you want to run a contest where the first 50 people that fill out the form win a prize. Gravity Forms lets you set a limit on the number of entries a form can receive. Pretty much anything you ever wanted a form to do, Gravity Forms can do it.</p>
<p><a href="https://www.e-junkie.com/ecom/gb.php?cl=54585&#038;c=ib&#038;aff=45747">Visit Gravity Forms</a></p>
<h2>1. PHPurchase The WordPress Ecommerce Shopping Cart Plugin</h2>
<p>Since this plugin can actually make you money, it get&#8217;s the #1 spot. PHPurchase let&#8217;s you sell anything you want, digital products or physical products. It is incredibly simple to use and the support and documentation is great. There are screencast tutorials to help you get set up and if you run into any trouble, the developers are very responsive and often available via live chat. PHPurchase stands out from the other ecommerce plugins because it let&#8217;s you use WordPress, and all of the other plugins on this list, to configure your online store exactly the way you want it. PHPurchase is very easy to use and extremely flexible WordPress e-commerce shopping cart.</p>
<p><a href="http://www.phpurchase.com">Visit PHPurchase the WordPress Ecommerce Shopping Cart Plugin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.refreshinglyblue.com/2009/12/05/top-ten-wordpress-plugins/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
