<?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>Hello, I am Sean Murphy &#187; Site</title>
	<atom:link href="http://iamseanmurphy.com/category/site/feed/" rel="self" type="application/rss+xml" />
	<link>http://iamseanmurphy.com</link>
	<description>Thoughts, news, code by Sean Murphy</description>
	<lastBuildDate>Thu, 26 Jan 2012 02:37:51 +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>WordPress Automatic Upgrade on NearlyFreeSpeech.NET Hosting</title>
		<link>http://iamseanmurphy.com/2012/01/25/wordpress-automatic-upgrade-on-nearlyfreespeech-net-hosting/</link>
		<comments>http://iamseanmurphy.com/2012/01/25/wordpress-automatic-upgrade-on-nearlyfreespeech-net-hosting/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 02:37:51 +0000</pubDate>
		<dc:creator>Sean Murphy</dc:creator>
				<category><![CDATA[Site]]></category>

		<guid isPermaLink="false">http://iamseanmurphy.com/?p=40</guid>
		<description><![CDATA[It&#8217;s been a long time since I&#8217;ve updated this site so I figured I should give it some attention. First on my list was to switch web hosts; the site was loading incredibly slow on a lifetime account at TextDrive (now Joyent). A while ago I set a friend of mine up at NearlyFreeSpeech.NET and [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a long time since I&#8217;ve updated this site so I figured I should give it some attention. First on my list was to switch web hosts; the site was loading incredibly slow on a lifetime account at TextDrive (now Joyent). A while ago I set a friend of mine up at NearlyFreeSpeech.NET and they&#8217;ve been great so far, not to mention cheap. So I opened an account and transferred my site without any problems.</p>
<p>Then, when I tried to automatically upgrade WordPress (which I hadn&#8217;t done in a <em>long</em> time) I got a load of errors. First, I couldn&#8217;t get WordPress to connect to my hosting account. I added the code below to wp-config.php and that problem was fixed (which I found <a href="http://www.ne0ge0.com/2011/08/26/upgrading-wordpress-on-nearlyfreespeech-net/">here</a>).</p>
<p><code>define('FS_METHOD', 'direct');<br />
define('FTP_BASE', '/public/');<br />
define('FTP_CONTENT_DIR', '/public/wp-content/');<br />
define('FTP_PLUGIN_DIR ', '/public/wp-content/plugins/');<br />
define('FTP_USER', 'your-username');<br />
define('FTP_HOST', 'ssh.phx.nearlyfreespeech.net:22');<br />
define('FTP_PASS', 'your-password');</code></p>
<p>Once I got that out of the way I hit another snag. I was getting a couple temporary file permissions errors. Evidently it&#8217;s a side-effect of NFS&#8217;s hosting setup (PHP safe_mode, etc). A few web searches later and I had an answer.</p>
<ol>
<li>SSH into the server</li>
<li>chgrp -R web ./public</li>
<li>find ./public -type f -exec chmod 664 {} \;</li>
<li>find ./public -type d -exec chmod 775 {} \;</li>
</ol>
<p>After making those changes it was smooth sailing. And as expected, the site is loading much faster now.</p>
]]></content:encoded>
			<wfw:commentRss>http://iamseanmurphy.com/2012/01/25/wordpress-automatic-upgrade-on-nearlyfreespeech-net-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SparkStats Widget Patch</title>
		<link>http://iamseanmurphy.com/2008/02/16/sparkstats-widget-patch/</link>
		<comments>http://iamseanmurphy.com/2008/02/16/sparkstats-widget-patch/#comments</comments>
		<pubDate>Sat, 16 Feb 2008 14:05:05 +0000</pubDate>
		<dc:creator>Sean Murphy</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Site]]></category>

		<guid isPermaLink="false">http://iamseanmurphy.com/2008/02/16/sparkstats-widget-patch/</guid>
		<description><![CDATA[Luc Betheder wrote a handy little widget for Sean McBride&#8217;s SparkStats plugin, which I recently started to use. I noticed, though, that whenever I made changes to my widgets the custom title I set for the Sparks plugin would get wiped out. So I fixed the problem in the plugin and thought I&#8217;d send the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.littlelogos.com.au/2006/08/13/20/" title="Spraks widget plugin">Luc Betheder</a> wrote a handy little widget for Sean McBride&#8217;s <a href="http://seanmcb.com/projects/wordpress/sparkstats" title="WordPress SparkStats plugin">SparkStats plugin</a>, which I recently started to use. I noticed, though, that whenever I made changes to my widgets the custom title I set for the Sparks plugin would get wiped out. So I fixed the problem in the plugin and thought I&#8217;d send the patch to Luc. Turns out, I can&#8217;t get in touch with him. You have to be registered on his blog to comment, but he has registrations turned off. Also, his email address was nowhere to be found. Hmm&#8230;slightly frustrating. I&#8217;m not giving up though, so here&#8217;s my patch (I&#8217;m also testing out the Google Syntax Highlighter):</p>
<pre name="code" class="php">
--- sparks.php	2008-02-16 14:14:22.000000000 -0500
+++ sparks.php.mine	2008-02-16 14:14:58.000000000 -0500
@@ -63,13 +63,13 @@
 			// Clean up control form submission options
 			$newoptions['title'] = strip_tags(stripslashes($_POST['Sparks-title']));
 			$newoptions['text'] = strip_tags(stripslashes($_POST['Sparks-text']));
-		}

-		// If original widget options do not match control form
-		// submission options, update them.
-		if ( $options != $newoptions ) {
-			$options = $newoptions;
-			update_option('widget_Sparks', $options);
+			// If original widget options do not match control form
+			// submission options, update them.
+			if ( $options != $newoptions ) {
+				$options = $newoptions;
+				update_option('widget_Sparks', $options);
+			}
 		}

 		// Format options as valid HTML. Hey, why not.
</pre>
<p>Download the patch: <a href="http://iamseanmurphy.com/wp-content/uploads/2008/02/sparks-patch.txt" title="SparkStats Widget Patch">SparkStats Widget Patch</a></p>
]]></content:encoded>
			<wfw:commentRss>http://iamseanmurphy.com/2008/02/16/sparkstats-widget-patch/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Site Moved</title>
		<link>http://iamseanmurphy.com/2007/11/15/site-moved/</link>
		<comments>http://iamseanmurphy.com/2007/11/15/site-moved/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 14:11:36 +0000</pubDate>
		<dc:creator>Sean Murphy</dc:creator>
				<category><![CDATA[Site]]></category>

		<guid isPermaLink="false">http://iamseanmurphy.com/2007/11/15/site-moved/</guid>
		<description><![CDATA[You probably saw this coming when I talked about purchasing IamSeanMurphy.com a few weeks ago (okay, maybe it was longer). I moved my site from CoreQuantum.com to IamSeanMurphy.com. Update your links ladies and gentlemen!]]></description>
			<content:encoded><![CDATA[<p>You probably saw this coming when I talked about purchasing IamSeanMurphy.com a few weeks ago (okay, maybe it was longer). I moved my site from CoreQuantum.com to IamSeanMurphy.com. Update your links ladies and gentlemen!</p>
]]></content:encoded>
			<wfw:commentRss>http://iamseanmurphy.com/2007/11/15/site-moved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Domains</title>
		<link>http://iamseanmurphy.com/2007/07/25/new-domains/</link>
		<comments>http://iamseanmurphy.com/2007/07/25/new-domains/#comments</comments>
		<pubDate>Wed, 25 Jul 2007 14:19:16 +0000</pubDate>
		<dc:creator>Sean Murphy</dc:creator>
				<category><![CDATA[Site]]></category>

		<guid isPermaLink="false">http://iamseanmurphy.com/2007/07/25/new-domains/</guid>
		<description><![CDATA[As a few people know, I have wanted to own seanmurphy.com for some time. The only thing preventing me from buying it was the $3,500 price tag—it just didn&#8217;t seem reasonable. Granted, Sean Murphy is an awesome name. Further, to have your name as a domain is to be desired. But three and a half [...]]]></description>
			<content:encoded><![CDATA[<p>As a few people know, I have wanted to own seanmurphy.com for some time. The only thing preventing me from buying it was the $3,500 price tag—it just didn&#8217;t seem reasonable. Granted, Sean Murphy <em>is</em> an awesome name. Further, to have your name as a domain is to be desired. But three and a half large?!</p>
<p>In the past I tried to come up with a suitable (and less expensive) alternative, but failed. Nothing could come close to seanmurphy.com. Well, let me take that back. There was one seanmurphy.ie that I would have been happy with, which I bought—and then was rejected registration. Apparently I&#8217;m required to have a &#8220;real and substantial connection with Ireland&#8221; in order to register an .ie domain. So I waited. And waited. Seanmurphy.com still cost $3,500. I still don&#8217;t have $3,500 to guiltlessly spend on a domain.</p>
<p>Alas!, I found an alternative I can live with: <a href="http://iamseanmurphy.com" title="Sean Murphy">iamseanmurphy.com</a> (and <a href="http://iamseanmurphy.net" title="Sean Murphy">.net</a>, and <a href="http://iamseanmurphy.org" title="Sean Murphy">.org</a>!). I have no idea why I didn&#8217;t think of it before. Maybe I did, but was dissatisfied with it. Maybe I didn&#8217;t, but no matter, that&#8217;s not the point. What is of note is that I have a fresh new domain with my name in it!.</p>
]]></content:encoded>
			<wfw:commentRss>http://iamseanmurphy.com/2007/07/25/new-domains/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

