<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>brain dump of an entrepreneur</title>
	<atom:link href="http://whitt.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://whitt.wordpress.com</link>
	<description>notes from the creation of MyFreeCopyright.com</description>
	<lastBuildDate>Sat, 22 Aug 2009 20:55:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='whitt.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>brain dump of an entrepreneur</title>
		<link>http://whitt.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://whitt.wordpress.com/osd.xml" title="brain dump of an entrepreneur" />
	<atom:link rel='hub' href='http://whitt.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Install PostgreSQL from source on Mac OS X</title>
		<link>http://whitt.wordpress.com/2009/08/22/install-postgresql-from-source-on-mac-os-x/</link>
		<comments>http://whitt.wordpress.com/2009/08/22/install-postgresql-from-source-on-mac-os-x/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 20:52:42 +0000</pubDate>
		<dc:creator>whitt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://whitt.wordpress.com/?p=70</guid>
		<description><![CDATA[This has been the best setup directions I have found in setting up PostgreSQL on Mac OS X from source.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=70&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This has been the best setup directions I have found in setting up <a title="Install PostgreSQL Mac OS X" href="http://www.working-software.com/node/30" target="_self">PostgreSQL on Mac OS X from source</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whitt.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whitt.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whitt.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whitt.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whitt.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whitt.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whitt.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whitt.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whitt.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whitt.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whitt.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whitt.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whitt.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whitt.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=70&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whitt.wordpress.com/2009/08/22/install-postgresql-from-source-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1bf6970ecd4599384b0f70e3dff29aac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">whitt</media:title>
		</media:content>
	</item>
		<item>
		<title>Install RMagick and ImageMagick on Mac OS X Leopard</title>
		<link>http://whitt.wordpress.com/2008/05/26/install-rmagick-and-imagemagick-on-mac-os-x-leopard/</link>
		<comments>http://whitt.wordpress.com/2008/05/26/install-rmagick-and-imagemagick-on-mac-os-x-leopard/#comments</comments>
		<pubDate>Mon, 26 May 2008 20:17:41 +0000</pubDate>
		<dc:creator>whitt</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[rmagick]]></category>

		<guid isPermaLink="false">http://whitt.wordpress.com/?p=67</guid>
		<description><![CDATA[Here is a great easy to follow direction for installing Imagemagick and RMagick on Leopard.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=67&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is a great easy to follow direction for <a href="http://benr75.com/articles/2008/03/16/install-rmagick-on-mac-os-x-leopard-from-source" target="_self">installing Imagemagick and RMagick on Leopard</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/whitt.wordpress.com/67/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/whitt.wordpress.com/67/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whitt.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whitt.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whitt.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whitt.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whitt.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whitt.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whitt.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whitt.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whitt.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whitt.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whitt.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whitt.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whitt.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whitt.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=67&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whitt.wordpress.com/2008/05/26/install-rmagick-and-imagemagick-on-mac-os-x-leopard/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1bf6970ecd4599384b0f70e3dff29aac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">whitt</media:title>
		</media:content>
	</item>
		<item>
		<title>links 01-09-2007</title>
		<link>http://whitt.wordpress.com/2007/01/09/links-01-09-2007/</link>
		<comments>http://whitt.wordpress.com/2007/01/09/links-01-09-2007/#comments</comments>
		<pubDate>Tue, 09 Jan 2007 16:02:13 +0000</pubDate>
		<dc:creator>whitt</dc:creator>
				<category><![CDATA[links]]></category>

		<guid isPermaLink="false">http://whitt.wordpress.com/2007/01/09/links-01-09-2007/</guid>
		<description><![CDATA[ActiveRecord logger to see DB calls: http://weblog.jamisbuck.org/2007/1/8/watching-activerecord-do-it-s-thing Ruby if &#8211; else: http://weblog.jamisbuck.org/2007/1/5/brevity-vs-clarity Capistrano custom maintenance page: http://clarkware.com/cgi/blosxom Rails Rubyisims: http://errtheblog.com/post/44<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=65&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>ActiveRecord logger to see DB calls:<br />
<a href="http://weblog.jamisbuck.org/2007/1/8/watching-activerecord-do-it-s-thing" target="_blank">http://weblog.jamisbuck.org/2007/1/8/watching-activerecord-do-it-s-thing </a></p>
<p>Ruby if &#8211; else:<br />
<a href="http://weblog.jamisbuck.org/2007/1/5/brevity-vs-clarity" target="_blank">http://weblog.jamisbuck.org/2007/1/5/brevity-vs-clarity </a></p>
<p>Capistrano custom maintenance page:<br />
<a href="http://clarkware.com/cgi/blosxom" target="_blank">http://clarkware.com/cgi/blosxom </a></p>
<p>Rails Rubyisims:<br />
<a href="http://errtheblog.com/post/44" target="_blank">http://errtheblog.com/post/44</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/whitt.wordpress.com/65/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/whitt.wordpress.com/65/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whitt.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whitt.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whitt.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whitt.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whitt.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whitt.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whitt.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whitt.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whitt.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whitt.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whitt.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whitt.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whitt.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whitt.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=65&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whitt.wordpress.com/2007/01/09/links-01-09-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1bf6970ecd4599384b0f70e3dff29aac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">whitt</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick Checklist for a Rails application in production</title>
		<link>http://whitt.wordpress.com/2006/12/17/quick-checklist-for-a-rails-application-in-production/</link>
		<comments>http://whitt.wordpress.com/2006/12/17/quick-checklist-for-a-rails-application-in-production/#comments</comments>
		<pubDate>Sun, 17 Dec 2006 17:20:18 +0000</pubDate>
		<dc:creator>whitt</dc:creator>
				<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://whitt.wordpress.com/2006/12/17/quick-checklist-for-a-rails-application-in-production/</guid>
		<description><![CDATA[This checklist has been compiled by my recent experience and things I did not do and caused me to run into issues. DO NOT have ruby logger rotate itself. In a clustered environment all instances will try and rotate the log at once. One will win and stay alive all others will crap out. Have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=64&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This checklist has been compiled by my recent experience and things I did not do and caused me to run into issues.</p>
<ol>
<li>DO NOT have ruby logger rotate itself. In a clustered environment all instances will try and rotate the log at once.  One will win and stay alive all others will crap out.  Have an external program manage the logs for you.</li>
<li>If using capistrano change the svn setting from checkout to export:<br />
set :checkout, &#8220;export&#8221;<br />
This is for security reasons because there is extra details in the .svn metadata in a checkout opposed to an export.</li>
<li>Set the ActiveRecord database verification timeout:ActiveRecord::Base.verification_timeout = 14400Place this in your environment.rb right after the end of Rails::Initializer.run.  This should be seet lower then interactive_timeout for your database. In a mysql prompt you can type<br />
SHOW VARIABLES;<br />
to find the value.  In mine it was set to  28800.</li>
<li>Create a maintenance page.  This is easily managed thru capistrano and in my situation allowed me to direct all traffic to the maintenance page while I left the server running and debugged it locally.  It will come in handy.</li>
<li>Use the <a href="http://dev.rubyonrails.org/svn/plugins/exception_notification/README" target="_blank">Exception Notifier</a> plugin and clean up the 404 and 500 html files in the public dir.  The plugin uses them and sends you the error in an email.</li>
<li>CAPTURE DATA! I am going back and modifying several tables to capture more data.  Rails convenient created_on and other helpers are excellent, use them.  You can never collect too much data, we are in the information age.</li>
</ol>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/whitt.wordpress.com/64/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/whitt.wordpress.com/64/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whitt.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whitt.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whitt.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whitt.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whitt.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whitt.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whitt.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whitt.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whitt.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whitt.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whitt.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whitt.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whitt.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whitt.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=64&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whitt.wordpress.com/2006/12/17/quick-checklist-for-a-rails-application-in-production/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1bf6970ecd4599384b0f70e3dff29aac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">whitt</media:title>
		</media:content>
	</item>
		<item>
		<title>Mongrel returns Status: 500 Internal Server Error</title>
		<link>http://whitt.wordpress.com/2006/12/17/mongrel-returns-status-500-internal-server-error/</link>
		<comments>http://whitt.wordpress.com/2006/12/17/mongrel-returns-status-500-internal-server-error/#comments</comments>
		<pubDate>Sun, 17 Dec 2006 16:12:27 +0000</pubDate>
		<dc:creator>whitt</dc:creator>
				<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://whitt.wordpress.com/2006/12/17/mongrel-returns-status-500-internal-server-error/</guid>
		<description><![CDATA[This one stumped me for almost a week now. SYMPTOM: Late in the evening all instances of mongrel but one would return a Status: 500 Internal Server Error. One instance would still work fine, strange enough it was always the second instance started that would still be alive. If you ran one instance it was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=63&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This one stumped me for almost a week now.</p>
<p>SYMPTOM:<br />
Late in the evening all instances of mongrel but one would return a Status: 500 Internal Server Error. One instance would still work fine, strange enough it was always the second instance started that would still be alive.  If you ran one instance it was fine.  The error would present itself only in a mongrel clustered environment.</p>
<p>Thanks to Eden on the mongrel mailing list, the solution was found:<br />
<a href="http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/218107" target="_blank">http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/218107</a></p>
<p>SOLUTION:<br />
DO NOT allow the ruby logger to rotate itself in a clustered environment. Have some other external program manage the logs for you.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/whitt.wordpress.com/63/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/whitt.wordpress.com/63/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whitt.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whitt.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whitt.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whitt.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whitt.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whitt.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whitt.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whitt.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whitt.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whitt.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whitt.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whitt.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whitt.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whitt.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=63&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whitt.wordpress.com/2006/12/17/mongrel-returns-status-500-internal-server-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1bf6970ecd4599384b0f70e3dff29aac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">whitt</media:title>
		</media:content>
	</item>
		<item>
		<title>Easy MySQL server login trick</title>
		<link>http://whitt.wordpress.com/2006/12/15/easy-mysql-server-login-trick/</link>
		<comments>http://whitt.wordpress.com/2006/12/15/easy-mysql-server-login-trick/#comments</comments>
		<pubDate>Fri, 15 Dec 2006 17:57:12 +0000</pubDate>
		<dc:creator>whitt</dc:creator>
				<category><![CDATA[database]]></category>

		<guid isPermaLink="false">http://whitt.wordpress.com/2006/12/15/easy-mysql-server-login-trick/</guid>
		<description><![CDATA[I just discovered a new MySQL tip today that I sub-consciously wanted. A way to type one command and be logged into MySQL server when I was on the production machine. Here is how you do it: Create a file .my.cnf in your home directory. Put the following entry into it: [mysql] user=user password=pass Then [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=62&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just discovered a new MySQL tip today that I sub-consciously wanted.  A way to type one command and be logged into MySQL server when I was on the production machine.  Here is how you do it:</p>
<p>Create a file .my.cnf in your home directory. Put the following entry into it:</p>
<p>[mysql]<br />
user=user<br />
password=pass</p>
<p>Then create a file in /usr/local/bin  called db or whatever, and put this in it:</p>
<p>#!/bin/bash<br />
mysql db_name</p>
<p>Now from anywhere in the terminal you can type . db and automatically have a mysql prompt.  Lovely!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/whitt.wordpress.com/62/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/whitt.wordpress.com/62/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whitt.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whitt.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whitt.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whitt.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whitt.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whitt.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whitt.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whitt.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whitt.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whitt.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whitt.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whitt.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whitt.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whitt.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=62&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whitt.wordpress.com/2006/12/15/easy-mysql-server-login-trick/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1bf6970ecd4599384b0f70e3dff29aac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">whitt</media:title>
		</media:content>
	</item>
		<item>
		<title>Three days after MyFreeCopyright.com goes live</title>
		<link>http://whitt.wordpress.com/2006/12/12/three-days-after-myfreecopyrightcom-goes-live/</link>
		<comments>http://whitt.wordpress.com/2006/12/12/three-days-after-myfreecopyrightcom-goes-live/#comments</comments>
		<pubDate>Tue, 12 Dec 2006 02:11:34 +0000</pubDate>
		<dc:creator>whitt</dc:creator>
				<category><![CDATA[dump]]></category>

		<guid isPermaLink="false">http://whitt.wordpress.com/2006/12/12/three-days-after-myfreecopyrightcom-goes-live/</guid>
		<description><![CDATA[MyFreeCopyright.com now has 18 users and 26 copyright registrations. That is three days of nothing but google adWords bringing people to our site. In three days google refered 43 people to MyFreeCopyright.com. That is just under 50%. Again not bad for three days. We had some issues with email coming from the MyFreeCopyright.com server being [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=61&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>MyFreeCopyright.com now has 18 users and 26 copyright registrations.  That is three days of nothing but google adWords bringing people to our site. In three days google refered 43 people to MyFreeCopyright.com.  That is just under 50%.  Again not bad for three days.</p>
<p>We had some issues with email coming from the MyFreeCopyright.com server being flagged as spam from Yahoo, Hotmail, and AOL.  Give thanks that I have a super linux guru on the team.  A couple tweaks and everything is all good.  If you need this or another trick done to fix your companies emails from being flagged as spam, <a href="mailto:work@myfreecopyright.com">let me know</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/whitt.wordpress.com/61/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/whitt.wordpress.com/61/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whitt.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whitt.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whitt.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whitt.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whitt.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whitt.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whitt.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whitt.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whitt.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whitt.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whitt.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whitt.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whitt.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whitt.wordpress.com/61/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=61&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whitt.wordpress.com/2006/12/12/three-days-after-myfreecopyrightcom-goes-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1bf6970ecd4599384b0f70e3dff29aac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">whitt</media:title>
		</media:content>
	</item>
		<item>
		<title>Mongrel + Apache + mod_proxy error</title>
		<link>http://whitt.wordpress.com/2006/12/11/mongrel-apache-mod_proxy-error/</link>
		<comments>http://whitt.wordpress.com/2006/12/11/mongrel-apache-mod_proxy-error/#comments</comments>
		<pubDate>Mon, 11 Dec 2006 16:04:29 +0000</pubDate>
		<dc:creator>whitt</dc:creator>
				<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://whitt.wordpress.com/2006/12/11/mongrel-apache-mod_proxy-error/</guid>
		<description><![CDATA[I just noticed today that I was consistently getting 500 internal server errors on my site which is using Apache 2.2.3, Mongrel 0.3.18 and the mod_proxy and proxy_balancer modules for apache. After looking into the apache error log I saw this: proxy: error reading status line from remote server ... After doing some googleing I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=60&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just noticed today that I was consistently getting 500 internal server errors on my site which is using Apache 2.2.3, Mongrel 0.3.18 and the mod_proxy and proxy_balancer modules for apache.</p>
<p>After looking into the apache error log I saw this:</p>
<pre><code>proxy: error reading status line from remote server ...</code></pre>
<p>After doing some googleing I found this <a href="http://blog.pomozov.info/posts/apache-mongrel-and-proxy-error.html">article</a>.</p>
<p>It states that the following lines need to be placed in your apache conf to fix a current bug in mod_proxy:</p>
<p>#Fix for Apache bug 39499<br />
SetEnv force-proxy-request-1.0 1<br />
SetEnv proxy-nokeepalive 1</p>
<p>The change has been submited to my conf, I will post the results.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/whitt.wordpress.com/60/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/whitt.wordpress.com/60/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whitt.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whitt.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whitt.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whitt.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whitt.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whitt.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whitt.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whitt.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whitt.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whitt.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whitt.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whitt.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whitt.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whitt.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=60&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whitt.wordpress.com/2006/12/11/mongrel-apache-mod_proxy-error/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1bf6970ecd4599384b0f70e3dff29aac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">whitt</media:title>
		</media:content>
	</item>
		<item>
		<title>Rotating Ruby on Rails Logger</title>
		<link>http://whitt.wordpress.com/2006/12/10/rotating-ruby-on-rails-logger/</link>
		<comments>http://whitt.wordpress.com/2006/12/10/rotating-ruby-on-rails-logger/#comments</comments>
		<pubDate>Sun, 10 Dec 2006 22:27:00 +0000</pubDate>
		<dc:creator>whitt</dc:creator>
				<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://whitt.wordpress.com/2006/12/10/rotating-ruby-on-rails-logger/</guid>
		<description><![CDATA[This is a very simple process. Just add a line in your config/environment.rb right BEFORE Rails::Initializer.run do &#124;config&#124;. The line looks like this: RAILS_DEFAULT_LOGGER = Logger.new("#{RAILS_ROOT}/log/#{RAILS_ENV}.log", "daily") You can find other parameters to pass to it by looking at the ruby Logger API.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=59&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a very simple process.  Just add a line in your config/environment.rb right BEFORE Rails::Initializer.run do |config|.</p>
<p>The line looks like this:</p>
<pre><code>RAILS_DEFAULT_LOGGER = Logger.new("#{RAILS_ROOT}/log/#{RAILS_ENV}.log", "daily")</code></pre>
<p>You can find other parameters to pass to it by looking at the ruby <a href="http://www.ruby-doc.org/stdlib/libdoc/logger/rdoc/classes/Logger.html">Logger API</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/whitt.wordpress.com/59/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/whitt.wordpress.com/59/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whitt.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whitt.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whitt.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whitt.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whitt.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whitt.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whitt.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whitt.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whitt.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whitt.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whitt.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whitt.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whitt.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whitt.wordpress.com/59/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=59&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whitt.wordpress.com/2006/12/10/rotating-ruby-on-rails-logger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1bf6970ecd4599384b0f70e3dff29aac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">whitt</media:title>
		</media:content>
	</item>
		<item>
		<title>MyFreeCopyright.com goes live</title>
		<link>http://whitt.wordpress.com/2006/12/08/myfreecopyrightcom-goes-live/</link>
		<comments>http://whitt.wordpress.com/2006/12/08/myfreecopyrightcom-goes-live/#comments</comments>
		<pubDate>Fri, 08 Dec 2006 22:29:24 +0000</pubDate>
		<dc:creator>whitt</dc:creator>
				<category><![CDATA[dump]]></category>

		<guid isPermaLink="false">http://whitt.wordpress.com/2006/12/08/myfreecopyrightcom-goes-live/</guid>
		<description><![CDATA[We just flipped the switch. Free and easy copyright registration is available for the ever growing digital universe at http://www.MyFreeCopyright.com I must now go and consume this bubbly.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=58&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We just flipped the switch.  Free and easy copyright registration is available for the ever growing digital universe at <a href="http://www.MyFreeCopyright.com">http://www.MyFreeCopyright.com</a></p>
<p>I must now go and consume this bubbly.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/whitt.wordpress.com/58/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/whitt.wordpress.com/58/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/whitt.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/whitt.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/whitt.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/whitt.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/whitt.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/whitt.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/whitt.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/whitt.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/whitt.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/whitt.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/whitt.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/whitt.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/whitt.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/whitt.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=whitt.wordpress.com&amp;blog=284876&amp;post=58&amp;subd=whitt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://whitt.wordpress.com/2006/12/08/myfreecopyrightcom-goes-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1bf6970ecd4599384b0f70e3dff29aac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">whitt</media:title>
		</media:content>
	</item>
	</channel>
</rss>
