<?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>Server Side Guy &#187; Uncategorized</title>
	<atom:link href="http://serversideguy.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://serversideguy.com</link>
	<description>Just another Barsness Solutions weblog</description>
	<lastBuildDate>Tue, 06 Jul 2010 15:19:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Conditional Stylesheets in FBML</title>
		<link>http://serversideguy.com/2010/06/20/conditional-stylesheets-in-fbml/</link>
		<comments>http://serversideguy.com/2010/06/20/conditional-stylesheets-in-fbml/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 00:59:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://serversideguy.com.mu.barsnesssolutions.com/?p=289</guid>
		<description><![CDATA[FBML doesn&#8217;t allow the IE conditional stylesheet comments in Facebook Fan Pages.  In order get similar functionality, we need to leverage the significantly more powerful user-agent tags.  This allows you to post user-agent conditional code to your fan page for any browser type.

#submit-container &#123; margin-top: 15px; &#125;
#agree-container &#123; position: relative; top: 10px; &#125;
#submit-button &#123; [...]]]></description>
			<content:encoded><![CDATA[<p>FBML doesn&#8217;t allow the IE conditional stylesheet comments in Facebook Fan Pages.  In order get similar functionality, we need to leverage the significantly more powerful user-agent tags.  This allows you to post user-agent conditional code to your fan page for any browser type.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#submit-container</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">15px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#agree-container</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#submit-button</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">9px</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #993333;">green</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">black</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>What isn&#8217;t clear in the FBML documentation at this point is how accurate the user-agent application is.  If I&#8217;m spoofing my user-agent, does the effectiveness of this tag diminish?  Most people don&#8217;t spoof their user agent, but there are people who do so.  Presumably if the user agent is the only test, they wouldn&#8217;t be able to view your fan page.  </p>
]]></content:encoded>
			<wfw:commentRss>http://serversideguy.com/2010/06/20/conditional-stylesheets-in-fbml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To:  Open CakePHP .CTP files with Dreamweaver</title>
		<link>http://serversideguy.com/2010/06/13/how-to-open-cakephp-ctp-files-with-dreamweaver/</link>
		<comments>http://serversideguy.com/2010/06/13/how-to-open-cakephp-ctp-files-with-dreamweaver/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 02:20:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://serversideguy.com.mu.barsnesssolutions.com/?p=286</guid>
		<description><![CDATA[Here&#8217;s a useful link to configuring CakePHP to open CTP files for editing as though they are PHP files.
http://www.jamesfairhurst.co.uk/posts/view/opening_cakephp_files_in_dreamweaver/
]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a useful link to configuring CakePHP to open CTP files for editing as though they are PHP files.</p>
<p><a href="http://www.jamesfairhurst.co.uk/posts/view/opening_cakephp_files_in_dreamweaver/" target="_blank">http://www.jamesfairhurst.co.uk/posts/view/opening_cakephp_files_in_dreamweaver/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://serversideguy.com/2010/06/13/how-to-open-cakephp-ctp-files-with-dreamweaver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Generate UUID</title>
		<link>http://serversideguy.com/2010/04/20/php-generate-uuid/</link>
		<comments>http://serversideguy.com/2010/04/20/php-generate-uuid/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 13:08:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://serversideguy.com.mu.barsnesssolutions.com/?p=284</guid>
		<description><![CDATA[Here&#8217;s one way to generate a UUID (GUID) in PHP

function uuid&#40;&#41; 
&#123;   
    // The field names refer to RFC 4122 section 4.1.2
&#160;
    return sprintf&#40;'%04x%04x-%04x-%03x4-%04x-%04x%04x%04x',
        mt_rand&#40;0, 65535&#41;, mt_rand&#40;0, 65535&#41;, // 32 bits for &#34;time_low&#34;
       [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s one way to generate a UUID (GUID) in PHP</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> uuid<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> 
<span style="color: #009900;">&#123;</span>   
    <span style="color: #666666; font-style: italic;">// The field names refer to RFC 4122 section 4.1.2</span>
&nbsp;
    <span style="color: #b1b100;">return</span> <span style="color: #990000;">sprintf</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'%04x%04x-%04x-%03x4-%04x-%04x%04x%04x'</span><span style="color: #339933;">,</span>
        <span style="color: #990000;">mt_rand</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">65535</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #990000;">mt_rand</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">65535</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// 32 bits for &quot;time_low&quot;</span>
        <span style="color: #990000;">mt_rand</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">65535</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// 16 bits for &quot;time_mid&quot;</span>
        <span style="color: #990000;">mt_rand</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">4095</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>  <span style="color: #666666; font-style: italic;">// 12 bits before the 0100 of (version) 4 for &quot;time_hi_and_version&quot;</span>
        <span style="color: #990000;">bindec</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">substr_replace</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">sprintf</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'%016b'</span><span style="color: #339933;">,</span> <span style="color: #990000;">mt_rand</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">65535</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'01'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">6</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
            <span style="color: #666666; font-style: italic;">// 8 bits, the last two of which (positions 6 and 7) are 01, for &quot;clk_seq_hi_res&quot;</span>
            <span style="color: #666666; font-style: italic;">// (hence, the 2nd hex digit after the 3rd hyphen can only be 1, 5, 9 or d)</span>
            <span style="color: #666666; font-style: italic;">// 8 bits for &quot;clk_seq_low&quot;</span>
        <span style="color: #990000;">mt_rand</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">65535</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #990000;">mt_rand</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">65535</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #990000;">mt_rand</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">65535</span><span style="color: #009900;">&#41;</span> <span style="color: #666666; font-style: italic;">// 48 bits for &quot;node&quot; </span>
    <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://serversideguy.com/2010/04/20/php-generate-uuid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Convert Seconds to Minutes in ActionScript 3</title>
		<link>http://serversideguy.com/2010/04/17/how-to-convert-seconds-to-minutes-in-actionscript-3/</link>
		<comments>http://serversideguy.com/2010/04/17/how-to-convert-seconds-to-minutes-in-actionscript-3/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 21:37:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://serversideguy.com.mu.barsnesssolutions.com/?p=280</guid>
		<description><![CDATA[Recently, I&#8217;ve been developing a game in ActionScript 3 (which I&#8217;ll share later).  I needed to have a second timer count down, which is easy enough with the Timer class.  The hard part for me was formatting it so it made sense to the player.  Here&#8217;s what I came up with for [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I&#8217;ve been developing a game in ActionScript 3 (which I&#8217;ll share later).  I needed to have a second timer count down, which is easy enough with the Timer class.  The hard part for me was formatting it so it made sense to the player.  Here&#8217;s what I came up with for converting a second count to minutes (formatted string):</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> convertSecondsToMinutes<span style="color: #66cc66;">&#40;</span>seconds:<span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">String</span>
<span style="color: #66cc66;">&#123;</span>
     <span style="color: #000000; font-weight: bold;">var</span> secondsString:<span style="color: #0066CC;">String</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">String</span>;
&nbsp;
     <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">time</span><span style="color: #66cc66;">%</span>60 <span style="color: #66cc66;">&lt;</span> <span style="color: #cc66cc;">10</span><span style="color: #66cc66;">&#41;</span> <span style="color: #808080; font-style: italic;">// checks to see if it needs a leading zero</span>
     <span style="color: #66cc66;">&#123;</span>
          secondsString = <span style="color: #ff0000;">&quot;0&quot;</span> + <span style="color: #0066CC;">this</span>.<span style="color: #006600;">time</span><span style="color: #66cc66;">%</span>60;
     <span style="color: #66cc66;">&#125;</span>
     <span style="color: #b1b100;">else</span>
     <span style="color: #66cc66;">&#123;</span>
           secondsString = <span style="color: #ff0000;">&quot;&quot;</span> + <span style="color: #0066CC;">this</span>.<span style="color: #006600;">time</span><span style="color: #66cc66;">%</span>60;
           <span style="color: #808080; font-style: italic;">// the double quotes are needed to cast this as a string</span>
     <span style="color: #66cc66;">&#125;</span>
     <span style="color: #000000; font-weight: bold;">var</span> minutes:<span style="color: #0066CC;">String</span>=<span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">floor</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">time</span><span style="color: #66cc66;">/</span><span style="color: #cc66cc;">60</span><span style="color: #66cc66;">&#41;</span> + <span style="color: #66cc66;">&amp;</span><span style="color: #808080; font-style: italic;">#039;:&amp;#039; + secondsString;</span>
&nbsp;
     <span style="color: #b1b100;">return</span> minutes;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://serversideguy.com/2010/04/17/how-to-convert-seconds-to-minutes-in-actionscript-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HttpPostedFile Maximum File Upload Size</title>
		<link>http://serversideguy.com/2010/04/14/httppostedfile-maximum-file-upload-size/</link>
		<comments>http://serversideguy.com/2010/04/14/httppostedfile-maximum-file-upload-size/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 12:17:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://serversideguy.com.mu.barsnesssolutions.com/?p=271</guid>
		<description><![CDATA[I just ran into a file upload issue where file uploads were reaching the default maximum file upload size of 4MB.  It was pretty straight forward to increase the HttpPostedFile maximum upload size, and I set it to 10MB for this site using the following in the web.config file:

&#60;configuration&#62;
 &#60;system.web&#62;
  &#60;httpRuntime maxRequestLength=&#34;10240&#34; executionTimeout=&#34;90&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>I just ran into a file upload issue where file uploads were reaching the default maximum file upload size of 4MB.  It was pretty straight forward to increase the HttpPostedFile maximum upload size, and I set it to 10MB for this site using the following in the web.config file:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;configuration<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;system.web<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;httpRuntime</span> <span style="color: #000066;">maxRequestLength</span>=<span style="color: #ff0000;">&quot;10240&quot;</span> <span style="color: #000066;">executionTimeout</span>=<span style="color: #ff0000;">&quot;90&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/system.web<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/configuration<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>I&#8217;m not a huge fan of ASP.NET.  The tools are really handy and in general customizable enough for what I need, but the fact that they seem to be massively overhauled (yet miraculously still not on the cutting edge) with every release yields an efficiency problem.  I simply cannot learn a massive new library every couple years, it just doesn&#8217;t make sense.</p>
<p>Plus, I love to know HOW things work, instead of just THAT things work.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversideguy.com/2010/04/14/httppostedfile-maximum-file-upload-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Browser Crisis</title>
		<link>http://serversideguy.com/2010/04/12/my-browser-crisis/</link>
		<comments>http://serversideguy.com/2010/04/12/my-browser-crisis/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 17:22:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://serversideguy.com/?p=269</guid>
		<description><![CDATA[Firefox has always been Omega in my book. I&#8217;ve spent most of my life on a Firefox Missionary for all the IE users who didn&#8217;t know better.  But recently I feel dirty.  Deep down I am questioning my alignment. I start looking at my task manager and see Firefox spitting in my face [...]]]></description>
			<content:encoded><![CDATA[<p>Firefox has always been Omega in my book. I&#8217;ve spent most of my life on a Firefox Missionary for all the IE users who didn&#8217;t know better.  But recently I feel dirty.  Deep down I am questioning my alignment. I start looking at my task manager and see Firefox spitting in my face with all the memory its taking.  My Firefox was taking over 500M of memory and that was unacceptable to me. Why should the most common computer program, a browser,  be running so inefficiently after this many years of tuning.   I fought back with tweaks in the browser config, limiting it&#8217;s consumption.  And like a fight with an ex-girlfriend, it said &#8220;Fine, if that&#8217;s the way you want it&#8221;. Browsing is painfully slow now. I&#8217;m hurt and feel betrayed. </p>
<p>Then the voice in my head asks &#8220;What else is out there?&#8221;. I&#8217;ve been hearing more and more good things about Chrome and recently heard the Web Developer plugin is available on that platform now as well. I would love to see some fast Javscript rendering too.  And then I thought I would have never thought before: &#8220;What about IE?&#8221;.</p>
<p>I am conflicted to say the least. I got myself a copy of Chrome. My computer is running it like its a DOS Program. And if Chrome displays the same as Firefox why shouldn&#8217;t I set it as default. Well for now it&#8217;s because I am a loyalist to Mozilla but at this rate, change may be on the way.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversideguy.com/2010/04/12/my-browser-crisis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a new person in Highrise API</title>
		<link>http://serversideguy.com/2010/04/07/creating-a-new-person-in-highrise-api/</link>
		<comments>http://serversideguy.com/2010/04/07/creating-a-new-person-in-highrise-api/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 19:59:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://serversideguy.com/?p=264</guid>
		<description><![CDATA[Highrise API is run off of REST and is pretty powerful. Here would be an example of how to create a new person to account with the API.
First you need your script to turn the form values into a valid XML format.  Then keep that xml in a variable or file.
From there you can [...]]]></description>
			<content:encoded><![CDATA[<p>Highrise API is run off of REST and is pretty powerful. Here would be an example of how to create a new person to account with the API.</p>
<p>First you need your script to turn the form values into a valid XML format.  Then keep that xml in a variable or file.</p>
<p>From there you can run the cURL command like this:</p>
<p>curl -u 605b32dd:X -H &#8216;Content-Type: application/xml&#8217; \<br />
-d @newperson.xml http://sample.highrisehq.com/people.xml</p>
<p>The first line here should be easy to understand. The first half is authenticating and the second half is setting the header to XML. But the next line is a bit trickier. The first part is the file that your form values in XML form are located. You can use a variable here too I assume. The url at the end is very important in that it is telling there side of the API to create this new resource with the XML given.  There is a different url for almost every different aspect of this API manipulation so to find the right one to use for your circumstance you would be best to look it up in the official documentation.</p>
<p>Once the request has been run you do get a response code back which you can also use logically if needed.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversideguy.com/2010/04/07/creating-a-new-person-in-highrise-api/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Userfly Analytics for Wordpress</title>
		<link>http://serversideguy.com/2010/04/07/userfly-analytics-for-wordpress/</link>
		<comments>http://serversideguy.com/2010/04/07/userfly-analytics-for-wordpress/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 14:40:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://serversideguy.com/?p=259</guid>
		<description><![CDATA[If you haven&#8217;t heard about Userfly you should go check it out. It basically records what your visitors are doing on your site with javascript then it allows you to watch a replication of that session.  This can be a very useful tool in seeing where your visitors maybe bouncing off your site and [...]]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t heard about <a href="http://userfly.com">Userfly</a> you should go check it out. It basically records what your visitors are doing on your site with javascript then it allows you to watch a replication of that session.  This can be a very useful tool in seeing where your visitors maybe bouncing off your site and you then know what to try to improve. </p>
<p>I created a wordpress plugin that will allow you to add the needed userfly code your blog. Simple to install and use. </p>
<p>Pick it up <a href="/wp-content/uploads/plug/userfly.zip">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://serversideguy.com/2010/04/07/userfly-analytics-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Custom Single Page</title>
		<link>http://serversideguy.com/2010/04/06/custom-single-page/</link>
		<comments>http://serversideguy.com/2010/04/06/custom-single-page/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 16:59:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://serversideguy.com.mu.barsnesssolutions.com/?p=256</guid>
		<description><![CDATA[In a recent comment, we were asked if there is a way to do the custom single page based on the custom author page.  Depending on your Wordpress version, this may or may not be implemented already, but either way, the solution can be found below:

global $wp_query;
$curpost = $wp_query-&#62;get_queried_object&#40;&#41;;
&#160;
if&#40;file_exists&#40;'single-'.$curpost-&#62;ID.'.php'&#41;&#41;
&#123;
    include&#40;'single-'.$curpost-&#62;ID.'.php'&#41;;
&#125;
else
&#123;
  [...]]]></description>
			<content:encoded><![CDATA[<p>In a recent comment, we were asked if there is a way to do the custom single page based on the custom author page.  Depending on your Wordpress version, this may or may not be implemented already, but either way, the solution can be found below:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$wp_query</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$curpost</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$wp_query</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_queried_object</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">file_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'single-'</span><span style="color: #339933;">.</span><span style="color: #000088;">$curpost</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'.php'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'single-'</span><span style="color: #339933;">.</span><span style="color: #000088;">$curpost</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;">//Default single page</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>The basic theory is the same, get the page ID.  Check if single-ID.php exists.  If it does, include it.  If not, do default author code.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversideguy.com/2010/04/06/custom-single-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto Find Files Larger Than 10MB</title>
		<link>http://serversideguy.com/2010/04/06/howto-find-files-larger-than-10mb/</link>
		<comments>http://serversideguy.com/2010/04/06/howto-find-files-larger-than-10mb/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 16:37:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://serversideguy.com.mu.barsnesssolutions.com/?p=253</guid>
		<description><![CDATA[Recently, I was trying to track down large files on a Linux server.  Here&#8217;s an easy way to find files larger than a given size in the current directory.

find -size +10M

It doesn&#8217;t get much easier than that.
]]></description>
			<content:encoded><![CDATA[<p>Recently, I was trying to track down large files on a Linux server.  Here&#8217;s an easy way to find files larger than a given size in the current directory.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #660033;">-size</span> +10M</pre></div></div>

<p>It doesn&#8217;t get much easier than that.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversideguy.com/2010/04/06/howto-find-files-larger-than-10mb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
