<?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>Wrecked Magazine - Jason Small &#187; Programing</title>
	<atom:link href="http://www.wreckedmagazine.com/jasonsmall/category/programing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wreckedmagazine.com/jasonsmall</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 15 Sep 2010 04:25:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Force SSL on a Rackspace Folder</title>
		<link>http://www.wreckedmagazine.com/jasonsmall/2010/09/14/force-ssl-on-a-rackspace-folder/</link>
		<comments>http://www.wreckedmagazine.com/jasonsmall/2010/09/14/force-ssl-on-a-rackspace-folder/#comments</comments>
		<pubDate>Tue, 14 Sep 2010 11:34:08 +0000</pubDate>
		<dc:creator>Jason Small</dc:creator>
				<category><![CDATA[Programing]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.wreckedmagazine.com/jasonsmall/?p=324</guid>
		<description><![CDATA[Once again I bring some non automotive content to Wrecked. I was recently trying to Force a SSL connection on a folder on a site that I was developing. This sounds like an easy enough task. After a few hours of attempts that ended up sending the secure folder in a infinite loop. This was a puzzle. [...]]]></description>
			<content:encoded><![CDATA[<p>Once again I bring some non automotive content to Wrecked.</p>
<p>I was recently trying to Force a SSL connection on a folder on a site that I was developing. This sounds like an easy enough task. After a few hours of attempts that ended up sending the secure folder in a infinite loop. This was a puzzle. I followed several sets of documentation that each of them agreeing on how to handle the problem.</p>
<p>To force the SSL on the folder I ended up having to do this to the .htaccess file:</p>
<blockquote><p><span style="color: #ff0000;">#Force SSL on a specific directory<br />
RewriteEngine On<br />
RewriteBase /dashboard/<br />
RewriteCond %{ENV:HTTPS} !on [NC]<br />
RewriteRule ^(.*)$ https://www.websitenamehere.com/dashboard/$1 [R,L]</span></p></blockquote>
<p>A simple explanation:<br />
The .htaccess file is located in the /dashboard/ folder.</p>
<p>The folder we are trying to force is /dashboard/</p>
<p>Please note that I was trying to do this on a Rackspace Could Site. (The documentation that they provided was incorrect.)This may have something to do with the fact the normal ways for forcing the secure connection were not working. I couldn&#8217;t get rackspace to verify if the loop was being caused by their server configuration. Hopefully this post will help someone that is having the same issue with rackspace and forcing ssl on a folder.</p>
<p>For the record this is once of the ways that I tried but was not sucessfully at implementing. This may work on non Rackspace Cloud Servers.</p>
<blockquote><p><span style="color: #ff0000;">RewriteEngine On<br />
RewriteCond %{SERVER_PORT} 80<br />
RewriteCond %{REQUEST_URI} somefolder<br />
RewriteRule ^(.*)$ https://www.domain.com/somefolder/$1 [R,L]</span></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.wreckedmagazine.com/jasonsmall/2010/09/14/force-ssl-on-a-rackspace-folder/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Geek Blog Post &#8211; Get Fancybox to work after Ajax update</title>
		<link>http://www.wreckedmagazine.com/jasonsmall/2010/05/23/geek-blog-post-get-fancybox-to-work-after-ajax-update/</link>
		<comments>http://www.wreckedmagazine.com/jasonsmall/2010/05/23/geek-blog-post-get-fancybox-to-work-after-ajax-update/#comments</comments>
		<pubDate>Sun, 23 May 2010 06:26:47 +0000</pubDate>
		<dc:creator>Jason Small</dc:creator>
				<category><![CDATA[Programing]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[fancybox]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.wreckedmagazine.com/jasonsmall/?p=315</guid>
		<description><![CDATA[I usually don&#8217;t go super geeky and post related to programming I usually only post major site updates, but I feel I need to post this javascipt code post. Warning, this post goes into super geeks mode starting now. I&#8217;ve been searching to fix a bug in a site that I am developing. It a [...]]]></description>
			<content:encoded><![CDATA[<p>I usually don&#8217;t go super geeky and post related to programming I usually only post major site updates, but I feel I need to post this javascipt code post. Warning, this post goes into super geeks mode starting now.</p>
<p>I&#8217;ve been searching to fix a bug in a site that I am developing. It a bug where if you load content using ajax that contains a fancybox link, you can not load the fancybox because fancybox is executed when the page and DOM where originally loaded. You need to find a method to reload fancybox. I&#8217;ve tried live and livequery, but after a few hours of fighting they would not work. After an intense google battle I came across this blog post:</p>
<p><a href="http://alex.mamchenkov.net/2010/05/21/jquery-fancybox-with-ajax/" target="_blank">http://alex.mamchenkov.net/2010/05/21/jquery-fancybox-with-ajax/</a></p>
<p>This blog contains the solution that I was looking for. I&#8217;m going to post the solution here as well. I figure the most places this is posted, the more people will find it when they are looking for it:</p>
<pre class="brush: php;">$.getJSON(ajax_url,function(HTML) {

    // populate my DOM with some HTML here

    // make fancybox reinit
    setTimeout(
        function() {
            $(&quot;a.some_fancy_box_element_class&quot;).fancybox();
        },
        600
    );
});</pre>
<p>I hope this helps someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wreckedmagazine.com/jasonsmall/2010/05/23/geek-blog-post-get-fancybox-to-work-after-ajax-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Websites that make the life easier.</title>
		<link>http://www.wreckedmagazine.com/jasonsmall/2010/01/20/websites-that-make-the-life-easier/</link>
		<comments>http://www.wreckedmagazine.com/jasonsmall/2010/01/20/websites-that-make-the-life-easier/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 06:07:26 +0000</pubDate>
		<dc:creator>Jason Small</dc:creator>
				<category><![CDATA[Programing]]></category>
		<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://www.wreckedmagazine.com/jasonsmall/?p=299</guid>
		<description><![CDATA[This is a different blog post then I typically do, usually it some pictures of a recent event or some new updates to the site. This is simply put a list. Its a list of Websites/Web-based Apps that I use on a daily basis that make my life easier. Gmail &#8211; Simple. The best email [...]]]></description>
			<content:encoded><![CDATA[<p>This is a different blog post then I typically do, usually it some pictures of a recent event or some new updates to the site. This is simply put a list. Its a list of Websites/Web-based Apps that I use on a daily basis that make my life easier.</p>
<p><strong><a title="Gamil" href="http://mail.google.com" target="_blank">Gmail</a></strong> &#8211; Simple. The best email out there. No to mention the fact that it keeps out 99% of the spam that I receive.</p>
<p><strong><a title="Twitter" href="http://twitter.com" target="_blank">Twitter</a></strong> &#8211; I&#8217;ve been using twitter for 565 Days now and while I am not most active at posting content to twitter I do read the tweets of those that I follow on a constant basis. Twitter is a vital for knowing what is happening in the real time. I&#8217;ve used it many time to find what what is happening around me. If you have never tried <a href="http://search.twitter.com" target="_blank">search.twitter.com</a> you should. There is so much information out there its crazy</p>
<p><strong><a title="Delicious" href="http://delicious.com" target="_blank">Delicious</a></strong> &#8211; I&#8217;ve had several computers over the years and with each new one I&#8217;ve lost all of the bookmarks that I make in a browser. I don&#8217;t know about you but I bookmark a ton of stuff, whether is be important coding tips, funny website, or what every. I bookmark it all. With delicious all of my bookmarks are kept online and are synced to each browser that I use. Now there is no need to worry about loosing my book marks.</p>
<p><strong><a title="Google Reader" href="http://google.com/reader" target="_blank">Google Reader</a></strong> &#8211; I pretty much get all my news from google reader. I subscribe to a bunch of different blogs and its nice to but its nice to have all the information aggregated into one place.</p>
<p><strong><a title="Google Wave" href="http://wave.google.com" target="_blank">Google Wave</a></strong> &#8211; The ship is still out on this one, but I&#8217;ve been using it more and more a lately. Most people seem to have a tough time describing what google wave is. Simply put, its a collaboration tool. The staff at Wrecked Started using it last issue and it seemed to help the process along. Google Wave still has a way to go, its got some weird bugs, but all in all its pretty sick. I&#8217;m looking forward to using it in the future.</p>
<p><strong><a href="http://www.facebook.com" target="_blank">Facebook</a></strong> &#8211; It seems like everyone is using facebook now. I think that it has finally overshadowed Myspace. I&#8217;m on Facebook a couple time of day seems what everyone is up to. Its amazing how it draws you in.</p>
<p><strong><a href="http://www.dropbox.com">Dropbox</a></strong> &#8211; I wasn&#8217;t sure whether or not to put dropbox on my list. Its technically not a website, its more of a tool. Dropbox allows me to sync all my files across multiple computers and have a version online (Thats my justification for putting it in this list) that I can always access. There is no thinking involved. I edit a file, its uploaded automatically to the web and sent to my other computers. I don&#8217;t have to think about it. I love it.</p>
<p><strong><a href="http://www.chartbeat.com" target="_blank">Chartbeat</a> </strong>- Chartbeat is a another great web based  tool to monitor web-traffic to a site in realtime. I use this constantly with Wrecked. This is almost always open so I can see what is happening on Wrecked. It allow to me to see what people are looking at, how many people, where they came from, and all the other good information that a person running a website wants to know. It also sends me alerts to spikes in traffic so that I know what content is becoming popular and how people are finding it on the internet.</p>
<p><a href="http://www.hulu.com">Hulu</a> &#8211; I don&#8217;t know what I would do without Hulu. I watch probably 90% off all my TV on Hulu.</p>
<p>Thats it thats my list. Its not really that big, but its all web based stuff that I use everyday. I might add to this list as I add sites that I use everyday.. I&#8217;m not sure yet.</p>
<p>After writing this I find that I&#8217;m using more and more google apps then before, first just gmail, then last year I started using google reader, now this year google wave. (Google is also the voice mail client on my phone). I think they are taking over the world.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wreckedmagazine.com/jasonsmall/2010/01/20/websites-that-make-the-life-easier/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Wrecked Code Update!!!</title>
		<link>http://www.wreckedmagazine.com/jasonsmall/2009/01/27/wrecked-code-update/</link>
		<comments>http://www.wreckedmagazine.com/jasonsmall/2009/01/27/wrecked-code-update/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 05:27:08 +0000</pubDate>
		<dc:creator>Jason Small</dc:creator>
				<category><![CDATA[Programing]]></category>
		<category><![CDATA[Wrecked Magazine]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.wreckedmagazine.com/jasonsmall/?p=240</guid>
		<description><![CDATA[You might notice that yesterday some of the way wrecked looked changed slightly. You might ask why we took the time to make some small changes when there are other things to, well infact the change was a ton bigger than it appears, the whole site has been changed to be entirely CSS based. There [...]]]></description>
			<content:encoded><![CDATA[<p>You might notice that yesterday some of the way wrecked looked changed slightly. You might ask why we took the time to make some small changes when there are other things to, well infact the change was a ton bigger than it appears, the whole site has been changed to be entirely CSS based. There are no more tables used for layout purposes and that reduced the code used to display pages by about half. This also means that the site is now about 95% xhtml and css validated. Why all this valitdation and CSS stuff? We are planning some really cool stuff to be implemented in the near future and CSS is a big part of that. CSS is way more friendly to dynamic pages and there is a lot of things you can do with it that our old layout would not have allowed to happen. If you notice any weird layout issues please let me know. I already know that there are a few out there and I&#8217;m trying to fix them. If you find anything leave me a comment. Look for cool things in the future&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wreckedmagazine.com/jasonsmall/2009/01/27/wrecked-code-update/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Working on Wrecked Magazine</title>
		<link>http://www.wreckedmagazine.com/jasonsmall/2009/01/13/working-on-wrecked-magazine/</link>
		<comments>http://www.wreckedmagazine.com/jasonsmall/2009/01/13/working-on-wrecked-magazine/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 09:53:33 +0000</pubDate>
		<dc:creator>Jason Small</dc:creator>
				<category><![CDATA[Programing]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Wrecked Magazine]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.wreckedmagazine.com/jasonsmall/?p=229</guid>
		<description><![CDATA[Well, Issue 8 of Wrecked Magazine is up. I took this screen shot as I was putting together the files the Kevin sent over and preping them to gone online. Ya, thats alot of windows.]]></description>
			<content:encoded><![CDATA[<p>Well,<a href="http://wreckedmagazine.com/issues/issue8/" target="_blank"> Issue 8</a> of Wrecked Magazine is up. I took this screen shot as I was putting together the files the Kevin sent over and preping them to gone online.<br />
<a href="http://www.wreckedmagazine.com/images/jasonsmall/wreckedmagazine-putting-it-together.png"><img src="http://farm4.static.flickr.com/3437/3194012794_7542df2ed7.jpg" alt="" /></a><br />
Ya, thats alot of windows.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wreckedmagazine.com/jasonsmall/2009/01/13/working-on-wrecked-magazine/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Wrecked Magazine Video RSS (BETA)</title>
		<link>http://www.wreckedmagazine.com/jasonsmall/2008/11/20/wrecked-magazine-video-rss-beta/</link>
		<comments>http://www.wreckedmagazine.com/jasonsmall/2008/11/20/wrecked-magazine-video-rss-beta/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 11:03:14 +0000</pubDate>
		<dc:creator>Jason Small</dc:creator>
				<category><![CDATA[Programing]]></category>
		<category><![CDATA[Site Updates]]></category>
		<category><![CDATA[Wrecked Magazine]]></category>

		<guid isPermaLink="false">http://www.wreckedmagazine.com/jasonsmall/?p=189</guid>
		<description><![CDATA[Over here at Wrecked we&#8217;ve gotten a lot of requests for a video rss feed so that people know the moment we post new videos. For the last few days I&#8217;ve been working on the Wrecked Magazine Video RSS functions. I thought that I would post a few of the rss links here before rolling [...]]]></description>
			<content:encoded><![CDATA[<p>Over here at Wrecked we&#8217;ve gotten a lot of requests for a video rss feed so that people know the moment we post new videos. For the last few days I&#8217;ve been working on the Wrecked Magazine Video RSS functions. I thought that I would post a few of the rss links here before rolling them out live on the site. You can subscribe to the feed using a client.</p>
<p>The main video rss feed:<br />
<a href="http://www.wreckedmagazine.com/videofeed/">http://www.wreckedmagazine.com/videofeed/</a></p>
<p>The video feed for the Formula D Channel:<br />
<a href="http://www.wreckedmagazine.com/videofeed/">http://www.wreckedmagazine.com/videofeed/formula-d</a></p>
<p>International Channel:<br />
<a href="http://www.wreckedmagazine.com/videofeed/international">http://www.wreckedmagazine.com/videofeed/international</a></p>
<p>Drift Alliance Channel:<br />
<a href="http://www.wreckedmagazine.com/videofeed/drift-alliance">http://www.wreckedmagazine.com/videofeed/drift-alliance</a></p>
<p>We&#8217;ll see how these work out and if there are no problems they should roll over to the site in a few days&#8230; Please let me know if you run into any problems with the feeds so I can make sure that are working properly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wreckedmagazine.com/jasonsmall/2008/11/20/wrecked-magazine-video-rss-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

