<?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>Tue, 19 Jul 2011 19:41:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How To Hide Favicons In The Bookmarks Toolbar on Firefox 4 Mac</title>
		<link>http://www.refreshinglyblue.com/2011/04/05/how-to-hide-favicons-in-the-bookmarks-toolbar-on-firefox-4-mac/</link>
		<comments>http://www.refreshinglyblue.com/2011/04/05/how-to-hide-favicons-in-the-bookmarks-toolbar-on-firefox-4-mac/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 19:47:07 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Everyday Tips]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.refreshinglyblue.com/?p=236</guid>
		<description><![CDATA[Go to /Users/[your username]/Library/Application Support/Firefox/Profiles/[*].default/chrome Rename file userChrome-example.css to userChrome.css Open it with text editor and copy and paste the following code after the line which starts with &#8220;@namespace&#8221;: /* Hide Bookmark Folder Icon */ .bookmark-item[type="menu"] &#62; .toolbarbutton-icon { display: none !important; } /* Remove Bookmark Item Icons */ #personal-bookmarks toolbarbutton:not([type=menu]) image { display: none [...]]]></description>
			<content:encoded><![CDATA[<p>Go to /Users/[your username]/Library/Application Support/Firefox/Profiles/[*].default/chrome</p>
<p>Rename file userChrome-example.css to userChrome.css<br />
Open it with text editor and copy and paste the following code after the line which starts with &#8220;@namespace&#8221;:</p>
<p>/* Hide Bookmark Folder Icon */<br />
.bookmark-item[type="menu"] &gt; .toolbarbutton-icon {<br />
display: none !important;<br />
}</p>
<p>/* Remove Bookmark Item Icons */<br />
#personal-bookmarks toolbarbutton:not([type=menu]) image {<br />
display: none !important;<br />
-moz-margin-end: 0px !important;<br />
}</p>
<p>Save it, restart Frirefox, all finsished.</p>
<p>Instructions slightly modified from the <a href="http://support.mozilla.com/ilo/questions/792988#answer-149877">Firefox support forum</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.refreshinglyblue.com/2011/04/05/how-to-hide-favicons-in-the-bookmarks-toolbar-on-firefox-4-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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 [...]]]></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 (case-sensitive)</p>
<pre><code>:vimgrep findMe\C **/*.php
</code></pre>
<p>Find the pattern &#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 [...]]]></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 &#8216;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 [...]]]></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 [...]]]></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 [...]]]></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>2</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>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
