<?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 &#187; admin</title>
	<atom:link href="http://www.terencekwan.com/author/admin/feed" rel="self" type="application/rss+xml" />
	<link>http://www.terencekwan.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 14 Mar 2010 18:28:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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>-1</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>1</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 enabled the web server. [...]]]></description>
		<wfw:commentRss>http://www.terencekwan.com/mac-os-setup-apache-and-php/feed</wfw:commentRss>
		<slash:comments>-1</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>-1</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>1</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>-1</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 plugging [...]]]></description>
		<wfw:commentRss>http://www.terencekwan.com/install-linux-from-external-usb-hard-drive/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Find all large files on a Linux machine</title>
		<link>http://www.terencekwan.com/find-all-large-files-on-a-linux-machine</link>
		<comments>http://www.terencekwan.com/find-all-large-files-on-a-linux-machine#comments</comments>
		<pubDate>Sat, 21 Mar 2009 02:49:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=96</guid>
		<description><![CDATA[Finds all files over 20,000KB (roughly 20MB) in size and presents their names and size in a human readable format:
find / -type f -size +20000k -exec ls -lh {} \; &#124; awk '{ print $9 ": " $5 }'
]]></description>
		<wfw:commentRss>http://www.terencekwan.com/find-all-large-files-on-a-linux-machine/feed</wfw:commentRss>
		<slash:comments>-1</slash:comments>
		</item>
		<item>
		<title>Yum Hangs</title>
		<link>http://www.terencekwan.com/yum-hangs</link>
		<comments>http://www.terencekwan.com/yum-hangs#comments</comments>
		<pubDate>Sat, 21 Mar 2009 02:48:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[system]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=94</guid>
		<description><![CDATA[Sometime yum takes a long time to finish, it is because there is a lot of old temporary rpm database is created.
To fix the problem, just do the following:
rm -f /var/lib/rpm/__db.*
]]></description>
		<wfw:commentRss>http://www.terencekwan.com/yum-hangs/feed</wfw:commentRss>
		<slash:comments>-1</slash:comments>
		</item>
		<item>
		<title>Guide: Things You Shouldn&#8217;t Be Doing In Rails</title>
		<link>http://www.terencekwan.com/guide-things-you-shouldnt-be-doing-in-rails</link>
		<comments>http://www.terencekwan.com/guide-things-you-shouldnt-be-doing-in-rails#comments</comments>
		<pubDate>Sat, 21 Mar 2009 02:47:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=92</guid>
		<description><![CDATA[Good read. But it is not easy to stop using some of this stuffs (like scaffolding, authentication engine, pagination). They are so easy to use and this is why people come to Ruby in the first place.
http://glu.ttono.us/articles/2006/08/30/guide-things-you-shouldnt-be-doing-in-rails
]]></description>
		<wfw:commentRss>http://www.terencekwan.com/guide-things-you-shouldnt-be-doing-in-rails/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
