<?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>One day at a time</title>
	<atom:link href="http://www.terencekwan.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.terencekwan.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 05 Mar 2012 00:41:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>ActionView::Template::Error (gmaps4rails.css isn&#8217;t precompiled):</title>
		<link>http://www.terencekwan.com/actionviewtemplateerror-gmaps4rails-css-isnt-precompiled</link>
		<comments>http://www.terencekwan.com/actionviewtemplateerror-gmaps4rails-css-isnt-precompiled#comments</comments>
		<pubDate>Mon, 05 Mar 2012 00:41:47 +0000</pubDate>
		<dc:creator>terence</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=125</guid>
		<description><![CDATA[If you are saw that in your rails production.log file, ActionView::Template::Error (gmaps4rails.css isn't precompiled): You need to change your production configuration file to enable precompile assets as: # Don't fallback to assets pipeline if a precompiled asset is missed config.assets.compile = true]]></description>
		<wfw:commentRss>http://www.terencekwan.com/actionviewtemplateerror-gmaps4rails-css-isnt-precompiled/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails, optional parameters for partial</title>
		<link>http://www.terencekwan.com/rails-optional-parameters-for-partial</link>
		<comments>http://www.terencekwan.com/rails-optional-parameters-for-partial#comments</comments>
		<pubDate>Sat, 18 Feb 2012 06:50:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=122</guid>
		<description><![CDATA[In some situation, you want to have optional parameter to a rails render partial. Here is what you need to do in your partial code. Let assume the parameter is called &#8220;optional_parameter&#8221;. &#60;% optional_parameter = "default" if local_assigns[:optional_parameter].nil? %&#62;]]></description>
		<wfw:commentRss>http://www.terencekwan.com/rails-optional-parameters-for-partial/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails 3.2: undefined method `debug_rjs=&#8217; for ActionView::Base:Class</title>
		<link>http://www.terencekwan.com/rails-3-2-undefined-method-debug_rjs-for-actionviewbaseclass</link>
		<comments>http://www.terencekwan.com/rails-3-2-undefined-method-debug_rjs-for-actionviewbaseclass#comments</comments>
		<pubDate>Wed, 08 Feb 2012 07:58:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=114</guid>
		<description><![CDATA[If you see this: !! Unexpected error while processing request: undefined method `debug_rjs=&#8217; for ActionView::Base:Class !! Unexpected error while processing request: undefined method `page_cache_extension&#8217; for ActionController::Base:Class Please go to:  config/environments/development.rb and comment out the following lines:   # config.action_view.debug_rjs             = false # config.action_controller.perform_caching = false &#160;]]></description>
		<wfw:commentRss>http://www.terencekwan.com/rails-3-2-undefined-method-debug_rjs-for-actionviewbaseclass/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find duplicate entries in MySQL</title>
		<link>http://www.terencekwan.com/find-duplicate-entries-in-mysql</link>
		<comments>http://www.terencekwan.com/find-duplicate-entries-in-mysql#comments</comments>
		<pubDate>Sun, 14 Mar 2010 18:28:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/find-duplicate-entries-in-mysql</guid>
		<description><![CDATA[select address, count(address) as cnt from mailing_list group by address having cnt > 1 order by cnt;]]></description>
		<wfw:commentRss>http://www.terencekwan.com/find-duplicate-entries-in-mysql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>undefined method `before_persisting&#8217; for Authlogic::Session::Base:Class (NoMethodError)</title>
		<link>http://www.terencekwan.com/undefined-method-before_persisting-for-authlogicsessionbaseclass-nomethoderror</link>
		<comments>http://www.terencekwan.com/undefined-method-before_persisting-for-authlogicsessionbaseclass-nomethoderror#comments</comments>
		<pubDate>Fri, 12 Mar 2010 07:09:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=110</guid>
		<description><![CDATA[If you are using rails 3.0.0 beta and authlogic, you may see this after you add authlogic in your GemFile. This is a bug in authlogic, you need to disable the authlogic from the GemFile and install authlogic latest plugin as well. The latest authlogic build fixed the problem.]]></description>
		<wfw:commentRss>http://www.terencekwan.com/undefined-method-before_persisting-for-authlogicsessionbaseclass-nomethoderror/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OS setup apache and php</title>
		<link>http://www.terencekwan.com/mac-os-setup-apache-and-php</link>
		<comments>http://www.terencekwan.com/mac-os-setup-apache-and-php#comments</comments>
		<pubDate>Thu, 11 Jun 2009 21:42:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[system]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=108</guid>
		<description><![CDATA[here is the steps to setup apache and php in your Mac OS X. Apache and PHP already came with your OS. You just need to enable it. Go to the apple icon on the menu bar.  Select &#8220;System Preferences&#8230;&#8221; -&#62; &#8220;Internet &#38; Network&#8221; -&#62; &#8220;Sharing&#8221; Enable &#8220;Web Sharing&#8221; by click on it You just [...]]]></description>
		<wfw:commentRss>http://www.terencekwan.com/mac-os-setup-apache-and-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Select a Java Web Framework</title>
		<link>http://www.terencekwan.com/select-a-java-web-framework</link>
		<comments>http://www.terencekwan.com/select-a-java-web-framework#comments</comments>
		<pubDate>Tue, 31 Mar 2009 01:38:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[framework]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=105</guid>
		<description><![CDATA[This PDF describe how to select a Jav Web Framework such as: Spring MVC, Struts 2, Stripes, JSF, Tapestry, Wicket http://static.raibledesigns.com/repository/presentations/ComparingJavaWebFrameworks-ApacheConUS2007.pdf]]></description>
		<wfw:commentRss>http://www.terencekwan.com/select-a-java-web-framework/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use ftp in a shell script</title>
		<link>http://www.terencekwan.com/how-to-use-ftp-in-a-shell-script</link>
		<comments>http://www.terencekwan.com/how-to-use-ftp-in-a-shell-script#comments</comments>
		<pubDate>Sat, 21 Mar 2009 02:51:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=102</guid>
		<description><![CDATA[First way: #!/bin/sh HOST='ftp.users.qwest.net' USER='yourid' PASSWD='yourpw' FILE='file.txt' ftp -n $HOST &#60;&#60;END_SCRIPT quote USER $USER quote PASS $PASSWD put $FILE quit END_SCRIPT exit 0 Second way: #!/bin/sh USER=userid PASSWD=userpw ftp -n f2dev &#60;&#60;SCRIPT user $USER $PASSWD binary get some.file quit SCRIPT]]></description>
		<wfw:commentRss>http://www.terencekwan.com/how-to-use-ftp-in-a-shell-script/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HAProxy &#8211; a load balancing tool</title>
		<link>http://www.terencekwan.com/haproxy-a-load-balancing-tool</link>
		<comments>http://www.terencekwan.com/haproxy-a-load-balancing-tool#comments</comments>
		<pubDate>Sat, 21 Mar 2009 02:51:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=100</guid>
		<description><![CDATA[If you are worry about load balancing. The first thing you should tried is HAProxy. http://haproxy.1wt.eu/ However, it is not a sure thing. Need some testing on it.]]></description>
		<wfw:commentRss>http://www.terencekwan.com/haproxy-a-load-balancing-tool/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Linux From External USB hard drive</title>
		<link>http://www.terencekwan.com/install-linux-from-external-usb-hard-drive</link>
		<comments>http://www.terencekwan.com/install-linux-from-external-usb-hard-drive#comments</comments>
		<pubDate>Sat, 21 Mar 2009 02:49:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=98</guid>
		<description><![CDATA[After getting that new USB external hard drive case and installing that new hard drive, you need to get it installed and working with your Linux box. These instructions worked for me on Ubuntu and they should work for those with other distributions. After putting the drive in the case, connecting it to power and [...]]]></description>
		<wfw:commentRss>http://www.terencekwan.com/install-linux-from-external-usb-hard-drive/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

