<?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"
	>

<channel>
	<title>John Chase's Blog</title>
	<atom:link href="http://www.chasejohn.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://chasejohn.com</link>
	<description>The Personal Blog of John Chase</description>
	<pubDate>Fri, 06 Jan 2012 03:46:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>Creation Time of a MySQL Database</title>
		<link>http://chasejohn.com/2012/01/05/creation-time-of-a-mysql-database/</link>
		<comments>http://chasejohn.com/2012/01/05/creation-time-of-a-mysql-database/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 03:46:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://chasejohn.com/?p=184</guid>
		<description><![CDATA[INFORMATION_SCHEMA is your friend. Even though it&#8217;s not a base table and a view (no actual data files exist for views) it contains useful information about your mysql database; including create_time. See full documentation here.
]]></description>
			<content:encoded><![CDATA[<p>INFORMATION_SCHEMA is your friend. Even though it&#8217;s not a base table and a view (no actual data files exist for views) it contains useful information about your mysql database; including create_time. See full documentation <a href="http://dev.mysql.com/doc/refman/5.0/en/tables-table.html">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://chasejohn.com/2012/01/05/creation-time-of-a-mysql-database/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Useful GIT Commands</title>
		<link>http://chasejohn.com/2011/10/13/useful-git-commands/</link>
		<comments>http://chasejohn.com/2011/10/13/useful-git-commands/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 01:34:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://chasejohn.com/?p=172</guid>
		<description><![CDATA[To show deleted files:
&#8220;git ls-files -d&#8221;
To restore the deleted files use:
&#8220;git ls-files -d &#124; xargs git checkout&#8221;
View your log:
&#8220;git log&#8221;
Reset to a previous head
"git reset --hard HEAD~1" (The HEAD~1 means the commit before head.)

"git reset --hard &#60;sha1-commit-id&#62;


]]></description>
			<content:encoded><![CDATA[<p><span>To show deleted files:</span></p>
<p><span>&#8220;git ls-files -d</span>&#8221;</p>
<p>To restore the deleted files use:</p>
<p><span>&#8220;git ls-files -d | xargs git checkout</span>&#8221;</p>
<p>View your log:</p>
<p>&#8220;git log&#8221;</p>
<p>Reset to a previous head</p>
<pre><code>"git reset --hard HEAD~1" (</code>The <code>HEAD~1</code> means the commit before head.)

<code>"git reset --hard &lt;sha1-commit-id&gt;

</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://chasejohn.com/2011/10/13/useful-git-commands/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Export MySQL to CSV</title>
		<link>http://chasejohn.com/2011/05/19/export-mysql-to-csv/</link>
		<comments>http://chasejohn.com/2011/05/19/export-mysql-to-csv/#comments</comments>
		<pubDate>Fri, 20 May 2011 04:38:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[linux/BSD]]></category>

		<guid isPermaLink="false">http://chasejohn.com/?p=155</guid>
		<description><![CDATA[&#8220;OPTIONALLY ENCLOSED BY&#8221; only wraps fields that &#8220;need&#8221; them, you can also add ESCAPED BY &#8216;\\&#8217; and change LINES TERMINATED BY &#8216;\r\n&#8217; if you run into issues with Excel. The below works fine with OpenOffice.
SELECT * INTO OUTFILE '/tmp/out.csv'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY '\n'
This is a handy command line version:
mysql [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;OPTIONALLY ENCLOSED BY&#8221; only wraps fields that &#8220;need&#8221; them, you can also add ESCAPED BY &#8216;\\&#8217; and change LINES TERMINATED BY &#8216;\r\n&#8217; if you run into issues with Excel. The below works fine with OpenOffice.</p>
<pre lang="sql">SELECT * INTO OUTFILE '/tmp/out.csv'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY '\n'</pre>
<p><strong>This is a handy command line version:</strong></p>
<p>mysql -uuser -p db -B -e &#8220;select * from  \`table\`;&#8221; | sed &#8217;s/\t/&#8221;,&#8221;/g;s/^/&#8221;/;s/$/&#8221;/;s/\n//g&#8217; &gt; out.csv</p>
<p>s/\t/&#8221;,&#8221;/g;s/^/&#8221;/        &lt;&#8212; this will search and replace all occurences of &#8216;tabs&#8217; and replace them with a &#8220;,&#8221;.</p>
<p>;s/$/&#8221;/;    &lt;&#8212; This will place a &#8221; at the start of the line.</p>
<p>s/\n//g    &lt;&#8212;- This will place a &#8221; at the end of the line.</p>
]]></content:encoded>
			<wfw:commentRss>http://chasejohn.com/2011/05/19/export-mysql-to-csv/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Kansas City = 1Gbps Fiber</title>
		<link>http://chasejohn.com/2011/04/24/kansas-city-1gbps-fiber/</link>
		<comments>http://chasejohn.com/2011/04/24/kansas-city-1gbps-fiber/#comments</comments>
		<pubDate>Sun, 24 Apr 2011 19:31:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://chasejohn.com/?p=152</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><iframe title="YouTube video player" width="640" height="390" src="http://www.youtube.com/embed/1o7bKLG3A3w" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://chasejohn.com/2011/04/24/kansas-city-1gbps-fiber/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Firefox 4 Group Tabs</title>
		<link>http://chasejohn.com/2011/03/24/firefox-4-group-tabs/</link>
		<comments>http://chasejohn.com/2011/03/24/firefox-4-group-tabs/#comments</comments>
		<pubDate>Thu, 24 Mar 2011 22:45:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[osx]]></category>

		<category><![CDATA[firefox4]]></category>

		<category><![CDATA[group tabs]]></category>

		<category><![CDATA[shortcut]]></category>

		<guid isPermaLink="false">http://chasejohn.com/?p=145</guid>
		<description><![CDATA[Group tabs in Firefox 4 is revolutionary - visual organization of your tabs. I had to dig a bit, but the shortcut for accessing the group-tab window is ctrl+shift+e or apple+shift+e on mac. Very nice.





]]></description>
			<content:encoded><![CDATA[<p>Group tabs in Firefox 4 is revolutionary - visual organization of your tabs. I had to dig a bit, but the shortcut for accessing the group-tab window is ctrl+shift+e or apple+shift+e on mac. Very nice.</p>
<div class="mceTemp">
<dl id="attachment_146" class="wp-caption alignnone" style="width: 310px;">
<dt class="wp-caption-dt"><a href="http://chasejohn.com/files/2011/03/screen-shot-2011-03-24-at-44206-pm.png"><img class="size-medium wp-image-146" title="firefox 4 group tab view" src="http://chasejohn.com/files/2011/03/screen-shot-2011-03-24-at-44206-pm-300x191.png" alt="firefox 4 group tab view" width="300" height="191" /></a></dt>
</dl>
</div>
]]></content:encoded>
			<wfw:commentRss>http://chasejohn.com/2011/03/24/firefox-4-group-tabs/feed/</wfw:commentRss>
		</item>
		<item>
		<title>iPhone 3G on T-Mobile</title>
		<link>http://chasejohn.com/2011/02/18/iphone-3g-on-t-mobile/</link>
		<comments>http://chasejohn.com/2011/02/18/iphone-3g-on-t-mobile/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 19:40:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[iphone 3G]]></category>

		<category><![CDATA[redsn0w]]></category>

		<category><![CDATA[ultrasn0w]]></category>

		<guid isPermaLink="false">http://chasejohn.com/?p=135</guid>
		<description><![CDATA[I switched my iPhone 3G over to T-Mobile yesterday and it was a little confusing. Here&#8217;s a quick wite up that might be helpful if you&#8217;re doing the same thing. I now have unlimited talk, text and data on the iPhone 3G. In major cities I have near 4G data speeds, ~8meg download or 800kbps. [...]]]></description>
			<content:encoded><![CDATA[<p>I switched my iPhone 3G over to T-Mobile yesterday and it was a little confusing. Here&#8217;s a quick wite up that might be helpful if you&#8217;re doing the same thing. I now have unlimited talk, text and data on the iPhone 3G. In major cities I have near 4G data speeds, ~8meg download or 800kbps. Since I&#8217;m moving to Seattle, which is about 15 minutes from T-Mobile USA headquarters - I should be in good shape.</p>
<p><a href="http://en.wikipedia.org/wiki/Phone_unlocking" target="_self">Unlocking</a> is the process of what needs to be done to enable other SIM cards to work in the original AT&amp;T iPhone, <a href="http://en.wikipedia.org/wiki/IOS_jailbreaking" target="_blank">Jaiilbreaking</a> needs to happen first, because jailbreaking is what allows you to install whatever software you like - including the software the unlocks the phone.</p>
<p>Usually, it&#8217;s not a big deal to unlock your iPhone, but Apple has switched <a href="http://en.wikipedia.org/wiki/Baseband" target="_blank">baseband&#8217;s</a> with the iPhone4 and iPad so you really have to commit to this unlocking and update your baseband, which is irreversible.</p>
<p>Before you try updating it&#8217;s best to check what version of <a href="http://en.wikipedia.org/wiki/IOS_(Apple)">IOS</a> you have and what your baseband is. You can do this in Settings &#8211;&gt; General &#8211;&gt; About; look for Version and Modem Firmware (baseband).  After my jailbreak and unlock was finished I have 4.2.1 and 06.15.00 - the latest IOS version and the updated baseband.</p>
<p>To start the jailbreak/unlock process you need to download the latest version of redsn0w, I used version <a href="#">0.9.7b6</a></p>
<p>You also need a copy of the latest ipsw (iPhone Software) for your phone, you can use <a href="#">4.2.1</a>.</p>
<p>After you download these two files, remove your SIM card from the top of your phone with a paperclip, dock your iphone and launch redsn0w. It will prompt you for the ipsw, select the ipsw that you downloaded and it will validate the ipsw.</p>
<p>You&#8217;l then see the menu below. I checked a custom boot logo and added my company logo, not necessary, but cool.</p>
<p><a href="http://chasejohn.com/files/2011/02/screen-shot-2011-02-18-at-121400-pm.png"><img class="alignnone size-full wp-image-139" title="screen-shot-2011-02-18-at-121400-pm" src="http://chasejohn.com/files/2011/02/screen-shot-2011-02-18-at-121400-pm.png" alt="" width="480" height="939" /></a></p>
<p>You&#8217;ll then need to push the right button sequence to go into <a href="http://theiphonewiki.com/wiki/index.php?title=DFU_Mode">DFU</a> (Device Fireware Upgrade) mode.</p>
<p>Relax, wait for your phone to update and start Cydia, a new app that was installed during the process.</p>
<p>You now need to install ultrasn0w, the software that unlocks your phone. In Cydia click Manage, then sources, in the left hand corner add the source: <strong>http://repo666.ultrasn0w.com.</strong></p>
<p>Once it&#8217;s added, click on your new source and select ultrasn0w, insert your T-Mobile SIM card and follow the instructions to install.</p>
<p>Once it&#8217;s done, restart your phone. You&#8217;re finished; everything should work on your new T-Mobile iPhone 3G.</p>
]]></content:encoded>
			<wfw:commentRss>http://chasejohn.com/2011/02/18/iphone-3g-on-t-mobile/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Disqus at DjangoCon US 2010</title>
		<link>http://chasejohn.com/2011/02/02/disqus-at-djangocon-us-2010/</link>
		<comments>http://chasejohn.com/2011/02/02/disqus-at-djangocon-us-2010/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 22:59:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[django]]></category>

		<guid isPermaLink="false">http://chasejohn.com/?p=130</guid>
		<description><![CDATA[Scaling the World&#8217;s Largest Django Application

]]></description>
			<content:encoded><![CDATA[<p>Scaling the World&#8217;s Largest Django Application</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="574" height="451" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://blip.tv/play/AYH9xikC" /><embed type="application/x-shockwave-flash" width="574" height="451" src="http://blip.tv/play/AYH9xikC"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://chasejohn.com/2011/02/02/disqus-at-djangocon-us-2010/feed/</wfw:commentRss>
		</item>
		<item>
		<title>OSX Terminal Cursor Movement</title>
		<link>http://chasejohn.com/2011/01/27/osx-terminal-cursor-movement/</link>
		<comments>http://chasejohn.com/2011/01/27/osx-terminal-cursor-movement/#comments</comments>
		<pubDate>Fri, 28 Jan 2011 00:11:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[linux/BSD]]></category>

		<guid isPermaLink="false">http://chasejohn.com/?p=128</guid>
		<description><![CDATA[To configure it to Alt + left and right:  - Open Terminal preferences (command + ,);  - At Keyboard tab, select &#8220;control cursor left (or right)&#8221; and doubleckick it;     - Left: Select the combo &#8220;modifier&#8221; to &#8220;option&#8221; and the action to \033b     - Right: Select [...]]]></description>
			<content:encoded><![CDATA[<p>To configure it to Alt + left and right:  - Open Terminal preferences (command + ,);  - At Keyboard tab, select &#8220;control cursor left (or right)&#8221; and doubleckick it;     - Left: Select the combo &#8220;modifier&#8221; to &#8220;option&#8221; and the action to \033b     - Right: Select the combo &#8220;modifier&#8221; to &#8220;option&#8221; and the action to \033f</p>
]]></content:encoded>
			<wfw:commentRss>http://chasejohn.com/2011/01/27/osx-terminal-cursor-movement/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dilbert on Cloud Computing</title>
		<link>http://chasejohn.com/2011/01/07/dilbert-on-cloud-computing/</link>
		<comments>http://chasejohn.com/2011/01/07/dilbert-on-cloud-computing/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 20:14:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Just for Fun]]></category>

		<guid isPermaLink="false">http://chasejohn.com/?p=124</guid>
		<description><![CDATA[http://www.dilbert.com/strips/comic/2011-01-07/
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dilbert.com/strips/comic/2011-01-07/" target="_blank">http://www.dilbert.com/strips/comic/2011-01-07/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://chasejohn.com/2011/01/07/dilbert-on-cloud-computing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MBP 2.53 Ghz Running 8GB of Crucial RAM</title>
		<link>http://chasejohn.com/2011/01/05/mbp-253-ghz-running-8gb-of-crucial-ram/</link>
		<comments>http://chasejohn.com/2011/01/05/mbp-253-ghz-running-8gb-of-crucial-ram/#comments</comments>
		<pubDate>Wed, 05 Jan 2011 23:33:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://chasejohn.com/?p=122</guid>
		<description><![CDATA[So very nice. VMware has plenty now. Plus one for Crucial RAM!
]]></description>
			<content:encoded><![CDATA[<p>So very nice. VMware has plenty now. Plus one for <a href="http://www.crucial.com/" target="_blank">Crucial</a> RAM!</p>
]]></content:encoded>
			<wfw:commentRss>http://chasejohn.com/2011/01/05/mbp-253-ghz-running-8gb-of-crucial-ram/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

