<?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>Sargas</title>
	<atom:link href="http://www.sargas.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sargas.com</link>
	<description>Random ramblings from Kevin Fricke</description>
	<lastBuildDate>Sat, 21 Jan 2012 16:06:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Using Mach II Dashboard with Mod Rewrite</title>
		<link>http://www.sargas.com/2012/01/using-mach-ii-dashboard-with-mod-rewrite/</link>
		<comments>http://www.sargas.com/2012/01/using-mach-ii-dashboard-with-mod-rewrite/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 16:02:35 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Mach-II]]></category>

		<guid isPermaLink="false">http://www.sargas.com/?p=138</guid>
		<description><![CDATA[I had an issue where I was creating vanity URL&#8217;s for an application.  The issue was that when we did this the Mach II Dashboard would no longer work.  Below is what we had in our Apache config file: RewriteRule ^/([^/\.]+)$ /index.cfm?event=url&#38;url_name=$1 [PT] After a great deal of trial and error the solution (as usual) [...]]]></description>
			<content:encoded><![CDATA[<p>I had an issue where I was creating vanity URL&#8217;s for an application.  The issue was that when we did this the Mach II Dashboard would no longer work.  Below is what we had in our Apache config file:</p>
<pre>RewriteRule ^/([^/\.]+)$ /index.cfm?event=url&amp;url_name=$1 [PT]</pre>
<p>After a great deal of trial and error the solution (as usual) was very simple.  We just needed to create an exception in the rewrite rule so that it would ignore the Mach II Dashboard.  So, all that we added to our config file was:</p>
<pre>RewriteCond %{REQUEST_URI} !^/MachIIDashboard$</pre>
<p>&#8230;and voila.  Everything is now working.</p>
<p>Hopefully this can help someone and save them some time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sargas.com/2012/01/using-mach-ii-dashboard-with-mod-rewrite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Will Google be forced to ban its own browser from its index?</title>
		<link>http://www.sargas.com/2012/01/will-google-be-forced-to-ban-its-own-browser-from-its-index/</link>
		<comments>http://www.sargas.com/2012/01/will-google-be-forced-to-ban-its-own-browser-from-its-index/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 13:17:37 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sargas.com/?p=136</guid>
		<description><![CDATA[This is an interesting story from yesterday.  Will Google play by it&#8217;s own rules? Will Google be forced to ban its own browser from its index?]]></description>
			<content:encoded><![CDATA[<p>This is an interesting story from yesterday.  Will Google play by it&#8217;s own rules?</p>
<p><a href="http://www.guardian.co.uk/technology/2012/jan/03/google-ban-browser-index">Will Google be forced to ban its own browser from its index?</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sargas.com/2012/01/will-google-be-forced-to-ban-its-own-browser-from-its-index/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using jQuery dialog with javascript in IE9</title>
		<link>http://www.sargas.com/2011/11/using-jquery-dialog-with-javascript-in-ie9/</link>
		<comments>http://www.sargas.com/2011/11/using-jquery-dialog-with-javascript-in-ie9/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 12:44:37 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.sargas.com/?p=132</guid>
		<description><![CDATA[script1002: syntax error - solved random javascript error.]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t you just love Internet Explorer?  I love the development tools which are of virtually no help other than throwing a javascript error that is so broad it basically means:</p>
<p>&#8220;you have an error in some javascript somewhere in some file&#8221;</p>
<p>Wow&#8230;thanks!  That was very helpful.</p>
<p><span id="more-132"></span>Here was the problem.  We are accessing some code from another domain as we are in a transition from one version of the application to another.  Because we have changed everything from the ground up the migration required that we move slowly and not just flip the switch.  Therefore we are using jQuery and jsonp to access some code from our new system in the old system.  We have one function where you set a market and we use jQuery&#8217;s dialog() function to popup a window which then pulls in the jsonp file to populate the country, state and city dropdowns.  It worked great.  It was fast and did everything that we needed it to do (<a href="http://www.sargas.com/2011/11/working-with-jquery-and-jsonp/" target="_blank">after I figured out how to make jQuery and jsonp play nice</a>)&#8230;..in Firefox.  Once I pulled it up in IE it did nothing and threw a random error, script1002: syntax error, which did nothing for me.  It referenced some line number that was blank and didn&#8217;t really tell me anything about the error.  So, I jumped in and started commenting OUT code to figure out where the problem was.  After a couple of hours&#8230;here is what I found out.</p>
<p><strong>Dont use &#8216;&lt;!&#8211;    &#8211;&gt;&#8217; in your javascript</strong></p>
<p>I guess that I missed a memo or something because I thought that properly formatted javascript looked like this:</p>
<p>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
&lt;!&#8211;<br />
#CODE_HERE#<br />
&#8211;&gt;<br />
&lt;/script&gt;</p>
<p>well, if you have that opening and closing brackets&#8230;it breaks.  Oh well, at least it only took a couple of hours.</p>
<p>Hope this helps someone before they waste two hours like I did.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sargas.com/2011/11/using-jquery-dialog-with-javascript-in-ie9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working with jQuery and jsonp</title>
		<link>http://www.sargas.com/2011/11/working-with-jquery-and-jsonp/</link>
		<comments>http://www.sargas.com/2011/11/working-with-jquery-and-jsonp/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 12:35:25 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.sargas.com/?p=130</guid>
		<description><![CDATA[Access jsonp with jQuery across domains]]></description>
			<content:encoded><![CDATA[<p>I was recently working on a project for a client and needed to use Jquery&#8217;s getJson() function with Jsonp.  I had tried this in the past but kept getting &#8216;parseerror&#8217; responses and could not really figure out what was going on.  I had pasted my json code into the <a href="http://jsonformatter.curiousconcept.com/" target="_blank">json validator</a> and it said that it was valid.  The documentation on Jquery&#8217;s website was pretty sparse.   It took me a while to figure this one out and, as usual, the solution was so simple.</p>
<p>When you are using getJson() or ajax() all that you need to do is add the following:</p>
<p>callback=?</p>
<p>to the url and jQuery will automatically add a callback variable to the url in place of the &#8216;?&#8217;.  Then you need to use that function in your json declaration file to create the jsonp format.</p>
<p>For example, if you have a json file like:</p>
<p>[{"value":"1","label":"One"},{"value":"2","label":"Two"}]</p>
<p>You would want to create a function using the callback variable that was passed in the url.  In Coldfusion it would look like:</p>
<p>#callback#([{"value":"1","label":"One"},{"value":"2","label":"Two"}]);</p>
<p>jQuery will then read in the response and parse it as normal json.  Now you can access your json files across domains.</p>
<p>Easy huh?  Hopefully this helps someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sargas.com/2011/11/working-with-jquery-and-jsonp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trying to work with an undefined variable?</title>
		<link>http://www.sargas.com/2011/10/trying-to-work-with-an-undefined-variable/</link>
		<comments>http://www.sargas.com/2011/10/trying-to-work-with-an-undefined-variable/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 12:53:57 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Facebook API]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.sargas.com/?p=128</guid>
		<description><![CDATA[use the typeof operator in JavaScript when working with a callback variable from Facebook]]></description>
			<content:encoded><![CDATA[<p>I was working on the Facebook Request API and found that when I close the popup and don&#8217;t invite anyone I was getting an error that</p>
<p>&lt;pre&gt;Response was undefined&lt;/pre&gt;</p>
<p>I initially tried to see if the variable was empty and that didn&#8217;t work.  I stumbled upon this gem <a href="http://www.javascriptkit.com/javatutors/determinevar2.shtml">the typeof operator</a> and this was magic.  Now I can check to see if the response variable is an object and then run my callback function.  If it is not an object I do nothing.  Nice!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sargas.com/2011/10/trying-to-work-with-an-undefined-variable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Carrying a SUP on your Jeep Wrangler</title>
		<link>http://www.sargas.com/2011/09/carrying-a-sup-on-your-jeep-wrangler/</link>
		<comments>http://www.sargas.com/2011/09/carrying-a-sup-on-your-jeep-wrangler/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 04:30:09 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Stand Up Paddle Boarding]]></category>

		<guid isPermaLink="false">http://www.sargas.com/?p=123</guid>
		<description><![CDATA[I recently got into paddle boarding. I try to get out at least three times a week and I have found some great, uncrowded spots around town. However, the one issue that I had when starting out was how to carry a 12 foot long SUP on my Jeep. I purchased a roof rack with [...]]]></description>
			<content:encoded><![CDATA[<p>I recently got into paddle boarding.  I try to get out at least three times a week and I have found some great, uncrowded spots around town.  However, the one issue that I had when starting out was how to carry a 12 foot long SUP on my Jeep.  I purchased a roof rack with my board from <a href="http://www.facebook.com/supatx">SUP ATX</a> and after experimenting with a few ways to strap it on the roof of my wife&#8217;s Highlander&#8230;it just was not right.  It seemed as if the nose of the board was constantly being pushed up by the force of the wind.  I was not comfortable going over 65 miles an hour.</p>
<p>After a few trips I decided to give it a try on my Jeep.  It works fantastic.  If you are trying to find a rack for your Jeep&#8230;don&#8217;t bother.  If you have a case for your board, toss it on top of the Jeep, run to straps across the top and then run one strap through the front handle and around the bumper.  This is magic.  It is solid and I have not looked back since.  I spent quite a bit of time looking around the web for a Jeep roof rack and they ranged in price from moderate to ..what???</p>
<p>SAVE YOUR MONEY!  Photos below.  If you have any questions, let me know.  I&#8217;ll see what I can do to help.</p>
<p><img class="alignnone" title="SUP on a wrangler" src="http://farm7.static.flickr.com/6086/6105308134_7bea3779a3_z.jpg" alt="" width="640" height="426" /></p>
<p><img class="alignnone" title="SUP on a Jeep Wrangler" src="http://farm7.static.flickr.com/6085/6105308324_fd2178e436_z.jpg" alt="" width="640" height="426" /></p>
<p><img class="alignnone" title="SUP Photos" src="http://farm7.static.flickr.com/6065/6104763621_f8205cdd5c_z.jpg" alt="" width="640" height="426" /></p>
<p><img class="alignnone" title="Strap your SUP to a Wrangler" src="http://farm7.static.flickr.com/6075/6105308698_828b55c217_z.jpg" alt="" width="640" height="426" /></p>
<p><a href="http://www.flickr.com/photos/austinfrickes/6105308698/"><img src="http://www.flickr.com/photos/austinfrickes/6105308134/" alt="" /></a></p>
<p><img src="http://www.flickr.com/photos/austinfrickes/6105308324/" alt="" /></p>
<p><img src="http://www.flickr.com/photos/austinfrickes/6104763621/" alt="" /></p>
<p><img src="http://www.flickr.com/photos/austinfrickes/6105308698/" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sargas.com/2011/09/carrying-a-sup-on-your-jeep-wrangler/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Met Shawn &#8216;Cool Hands&#8217; Keenan this weekend</title>
		<link>http://www.sargas.com/2011/08/met-shawn-cool-hands-keenan-this-weekend/</link>
		<comments>http://www.sargas.com/2011/08/met-shawn-cool-hands-keenan-this-weekend/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 13:46:13 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sargas.com/?p=119</guid>
		<description><![CDATA[I have rarely had the opportunity to meet a celebrity but this weekend was incredible. A group of friends went down to Corpus this weekend for some fun and while at a bar downtown (I don&#8217;t remember the name of it) we met an up and coming UFC fighter, Shawn &#8216;Cool Hand&#8217; Keenan. It was [...]]]></description>
			<content:encoded><![CDATA[<p>I have rarely had the opportunity to meet a celebrity but this weekend was incredible.  A group of friends went down to Corpus this weekend for some fun and while at a bar downtown (I don&#8217;t remember the name of it) we met an up and coming UFC fighter, Shawn &#8216;Cool Hand&#8217; Keenan.  It was pretty funny as the buzz around the bar was amazing.  He pretty much had the lounge to himself as his body guard, which was literally twice HIS size, was guarding the area to not let anyone in.  He was actually a very nice guy and didn&#8217;t seem to take himself to seriously.  I tried to get a picture with him but the light in there sucked and my phone didn&#8217;t really get a good shot.  I did, however, find a photo on the internet.  </p>
<p>Have you seen this guy fight?  <a href="http://www.sargas.com/wp-content/uploads/2011/08/shawn-keenan.jpg"><img src="http://www.sargas.com/wp-content/uploads/2011/08/shawn-keenan.jpg" alt="" title="shawn-keenan" width="400" height="278" class="alignleft size-full wp-image-120" /></a></p>
<p>I haven&#8217;t yet but I will be watching this season for sure!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sargas.com/2011/08/met-shawn-cool-hands-keenan-this-weekend/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to access your multiple gmail accounts</title>
		<link>http://www.sargas.com/2011/08/how-to-access-your-multiple-gmail-accounts/</link>
		<comments>http://www.sargas.com/2011/08/how-to-access-your-multiple-gmail-accounts/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 16:40:16 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://www.sargas.com/?p=115</guid>
		<description><![CDATA[About three weeks ago Google changed something so that you had to switch accounts each time you logged in to your email account. Personally I have 5 different gmail accounts so it was a total pain. I used to have them each open in their own tab. I posted something about it a while back. [...]]]></description>
			<content:encoded><![CDATA[<p>About three weeks ago Google changed something so that you had to switch accounts each time you logged in to your email account.  Personally I have 5 different gmail accounts so it was a total pain.  I used to have them each open in their own tab.  <a href="http://www.sargas.com/2011/07/why-does-google-constantly-change-things-that-are-working/">I posted something about it a while back</a>.</p>
<p>Well, a very wise man, Chuck Wade, found the solution and of course it was very easy.</p>
<p>1. Login to your account and click on the &#8216;Account settings&#8217; link at the top right under your email (click on your email address to show the options).</p>
<p>2. Under Personal Settings you will see Multiple Sign-in.  If it is Off click on &#8216;Edit&#8217;</p>
<p>3. Select the &#8216;On&#8217; radio button and check the boxes next to the policies then &#8216;Save&#8217;</p>
<p>Done!   Thanks Chuck.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sargas.com/2011/08/how-to-access-your-multiple-gmail-accounts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What did Lion do to my permissions?</title>
		<link>http://www.sargas.com/2011/08/what-did-lion-do-to-my-permissions/</link>
		<comments>http://www.sargas.com/2011/08/what-did-lion-do-to-my-permissions/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 06:11:39 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Mac help]]></category>

		<guid isPermaLink="false">http://www.sargas.com/?p=110</guid>
		<description><![CDATA[Show me the fix For some reason when I upgraded to Lion my permissions really got fouled up. It wreaked havoc on Tower and has been a real pain in the arse. So, what happened? Well, if you look at the permissions for just about any file it has the following: kwfricke (me) : read [...]]]></description>
			<content:encoded><![CDATA[<p><a href="#fix">Show me the fix</a></p>
<p>For some reason when I upgraded to Lion my permissions really got fouled up.  It wreaked havoc on <a href="http://www.sargas.com/2011/07/git-issues-after-upgrading-to-osx-lion/">Tower</a> and has been a real pain in the arse.</p>
<p>So, what happened?  Well, if you look at the permissions for just about any file it has the following:</p>
<p>kwfricke (me) : read &#038; write<br />
everyone: read</p>
<p>That is all good.  The problem is that there is an additional &#8216;everyone&#8217; with the permissions of custom.  So my permissions in >info look like this:</p>
<p>everyone: custom<br />
kwfricke: read &#038; write<br />
everyone: read</p>
<p>Because the everyone=custom comes before kwfricke it take precendence.  So, WTF?  </p>
<p>After looking around the web I found that Lion (actually it was sooner but Lion is really using it now) introduced a new type of permission called Active Control Lists (ACL).  These are in additional to the standard Owner/Group/User roles that unix gives us.  I&#8217;m sure there is a lot to learn about these and that they are great but for now I just want them removed so that I don&#8217;t have to manually update the permissions on a file whenever I want to save it.</p>
<p>You can remove these ACL permissions from a directory by running the following in terminal:</p>
<p><a name="fix"><br /></a><br />
<strong>How to get rid of the custom permissions for everyone:</strong><br />
sudo chmod -R -N [directory] where [directory] is the full path. This will fix you up and get you back in business.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sargas.com/2011/08/what-did-lion-do-to-my-permissions/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Looking for Putty on the Mac?</title>
		<link>http://www.sargas.com/2011/08/looking-for-putty-on-the-mac/</link>
		<comments>http://www.sargas.com/2011/08/looking-for-putty-on-the-mac/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 02:57:16 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Switching to mac]]></category>

		<guid isPermaLink="false">http://www.sargas.com/?p=107</guid>
		<description><![CDATA[I have been using Putty for the last several years and after switching to mac was looking for something equivalent. Of course, with a mac&#8230;it&#8217;s simple. First, launch Terminal. To login to your server, type the following: ssh [address] -l [login name] You will then be prompted for your password and your in.]]></description>
			<content:encoded><![CDATA[<p>I have been using Putty for the last several years and after switching to mac was looking for something equivalent.  Of course, with a mac&#8230;it&#8217;s simple.</p>
<p>First, launch Terminal.</p>
<p>To login to your server, type the following:</p>
<pre>ssh [address] -l [login name]</pre>
<p>You will then be prompted for your password and your in.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sargas.com/2011/08/looking-for-putty-on-the-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

