<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3-RC1" -->
<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/"
	>

<channel>
	<title>Caibaohua's Blog</title>
	<link>http://caibaohua.com</link>
	<description></description>
	<pubDate>Thu, 24 Apr 2008 06:59:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3-RC1</generator>
	<language>en</language>
			<item>
		<title>Install PHPUnit on Leopard</title>
		<link>http://caibaohua.com/2008/04/24/install-phpunit-on-leopard/</link>
		<comments>http://caibaohua.com/2008/04/24/install-phpunit-on-leopard/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 06:59:00 +0000</pubDate>
		<dc:creator>caibaohua</dc:creator>
		
		<category><![CDATA[Php]]></category>

		<guid isPermaLink="false">http://caibaohua.com/2008/04/24/install-phpunit-on-leopard/</guid>
		<description><![CDATA[sudo su
pear channel-discover pear.phpunit.de
pear install phpunit/PHPUnit
# you can find  (/usr/lib/php/pear/PHPUnit)
cd /private/etc
cp php.ini.default php.ini
vim php.ini
find include_path, and change the value to &#8220;.:/usr/lib/php/pear&#8221;
]]></description>
		<wfw:commentRss>http://caibaohua.com/2008/04/24/install-phpunit-on-leopard/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Mac] Upgrade to Leopard</title>
		<link>http://caibaohua.com/2007/10/31/mac-upgrade-to-leopard/</link>
		<comments>http://caibaohua.com/2007/10/31/mac-upgrade-to-leopard/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 13:45:23 +0000</pubDate>
		<dc:creator>caibaohua</dc:creator>
		
		<category><![CDATA[mac]]></category>

		<category><![CDATA[leopard]]></category>

		<guid isPermaLink="false">http://caibaohua.com/2007/10/31/mac-upgrade-to-leopard/</guid>
		<description><![CDATA[
Related PostsHello, Leopard![TextMate] Move project drawer to right]]></description>
		<wfw:commentRss>http://caibaohua.com/2007/10/31/mac-upgrade-to-leopard/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Symfony] retrieve fromArray function in baisc model</title>
		<link>http://caibaohua.com/2007/10/29/symfony-retrieve-fromarray-function-in-baisc-model/</link>
		<comments>http://caibaohua.com/2007/10/29/symfony-retrieve-fromarray-function-in-baisc-model/#comments</comments>
		<pubDate>Mon, 29 Oct 2007 10:48:51 +0000</pubDate>
		<dc:creator>caibaohua</dc:creator>
		
		<category><![CDATA[Php]]></category>

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

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

		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://caibaohua.com/2007/10/29/symfony-retrieve-fromarray-function-in-baisc-model/</guid>
		<description><![CDATA[Once time I wanted to use fromArray  function  which had created in a model by default, but I can&#8217;t find it anywhere. At last I know the reason.
In config/propel.ini, normally it will display :
propel.addGenericAccessors = true
propel.addGenericMutators  = true
But if you delete these, fromArray function will not be added when we create a [...]]]></description>
		<wfw:commentRss>http://caibaohua.com/2007/10/29/symfony-retrieve-fromarray-function-in-baisc-model/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hello, Leopard!</title>
		<link>http://caibaohua.com/2007/10/26/hello-leopard/</link>
		<comments>http://caibaohua.com/2007/10/26/hello-leopard/#comments</comments>
		<pubDate>Fri, 26 Oct 2007 02:53:50 +0000</pubDate>
		<dc:creator>caibaohua</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://caibaohua.com/2007/10/26/hello-leopard/</guid>
		<description><![CDATA[After the last updating for my macbook, we can say hello to Leopard today.
Updating details as follows:

iDVD version 6.0.4
iLife   version 8.1.1

Related Posts[Mac] Upgrade to Leopard[TextMate] Move project drawer to right]]></description>
		<wfw:commentRss>http://caibaohua.com/2007/10/26/hello-leopard/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Symfony] Propel Criteria Note</title>
		<link>http://caibaohua.com/2007/10/22/symfony-propel-criteria-note/</link>
		<comments>http://caibaohua.com/2007/10/22/symfony-propel-criteria-note/#comments</comments>
		<pubDate>Mon, 22 Oct 2007 02:57:58 +0000</pubDate>
		<dc:creator>caibaohua</dc:creator>
		
		<category><![CDATA[Php]]></category>

		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://caibaohua.com/2007/10/22/symfony-propel-criteria-note/</guid>
		<description><![CDATA[When we want to use a sql to get rows between two dates, we can use like this:
$crit1 = $c-&#62;getNewCriterion( AppEventPeer::CREATED_AT, $end, Criteria::LESS_THAN );
$crit2 = $c-&#62;getNewCriterion( AppEventPeer::CREATED_AT, $start, Criteria::GREATER_THAN );
$crit1-&#62;addAnd( $crit2 );
$c-&#62;add( $crit1 );
Related Posts[Symfony] retrieve fromArray function in baisc model]]></description>
		<wfw:commentRss>http://caibaohua.com/2007/10/22/symfony-propel-criteria-note/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ERA</title>
		<link>http://caibaohua.com/2007/10/12/era/</link>
		<comments>http://caibaohua.com/2007/10/12/era/#comments</comments>
		<pubDate>Fri, 12 Oct 2007 02:59:04 +0000</pubDate>
		<dc:creator>caibaohua</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[event]]></category>

		<guid isPermaLink="false">http://caibaohua.com/2007/10/12/era/</guid>
		<description><![CDATA[


Yesterday I went to Shanghai Circus World and enjoyed ERA.  It was very good show.
I remembered when I was little boy I came Shanghai Circus World before and this was my second time.
Although all of acrobatics we have seen sometimes on TV. But after you sitting there, you will have a different feeling.
Yes, it [...]]]></description>
		<wfw:commentRss>http://caibaohua.com/2007/10/12/era/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[TextMate] Move project drawer to right</title>
		<link>http://caibaohua.com/2007/09/19/textmate-move-project-drawer-to-right/</link>
		<comments>http://caibaohua.com/2007/09/19/textmate-move-project-drawer-to-right/#comments</comments>
		<pubDate>Wed, 19 Sep 2007 10:31:47 +0000</pubDate>
		<dc:creator>caibaohua</dc:creator>
		
		<category><![CDATA[Software]]></category>

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

		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://caibaohua.com/2007/09/19/textmate-move-project-drawer-to-right/</guid>
		<description><![CDATA[The project drawer of TextMate shows on the left by default. Following these steps you can move it to right.

Hide project drawer (ctrl+alt+⌘ )
Move TextMate to left and enough room is set aside on the right.
Show project drawer again.

Related Posts[Mac] Upgrade to LeopardHello, Leopard!]]></description>
		<wfw:commentRss>http://caibaohua.com/2007/09/19/textmate-move-project-drawer-to-right/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[WordPress] upgrade to 2.3 Release Candidate 1</title>
		<link>http://caibaohua.com/2007/09/19/wordpress-upgrade-to-23-release-candidate-1/</link>
		<comments>http://caibaohua.com/2007/09/19/wordpress-upgrade-to-23-release-candidate-1/#comments</comments>
		<pubDate>Wed, 19 Sep 2007 06:27:32 +0000</pubDate>
		<dc:creator>caibaohua</dc:creator>
		
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://caibaohua.com/2007/09/19/wordpress-upgrade-to-23-release-candidate-1/</guid>
		<description><![CDATA[I just had my blog upgraded to wordpress 2.3 RC1, and you can download RC1 here .
]]></description>
		<wfw:commentRss>http://caibaohua.com/2007/09/19/wordpress-upgrade-to-23-release-candidate-1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Symfony]Does not work under &#8216;prod&#8217; on Mac</title>
		<link>http://caibaohua.com/2007/09/11/symfonydoes-not-work-under-prod-on-mac/</link>
		<comments>http://caibaohua.com/2007/09/11/symfonydoes-not-work-under-prod-on-mac/#comments</comments>
		<pubDate>Tue, 11 Sep 2007 06:39:32 +0000</pubDate>
		<dc:creator>caibaohua</dc:creator>
		
		<category><![CDATA[Php]]></category>

		<guid isPermaLink="false">http://caibaohua.com/2007/09/11/symfonydoes-not-work-under-prod-on-mac/</guid>
		<description><![CDATA[All things work well under &#8216;dev&#8217;. But, when i want to change to &#8216;prod&#8217; mode, I can&#8217;t see anything at frontpage &#8216;index.php&#8217;.
My solution is changing define(&#8217;SF_DEBUG&#8217;, false) to (&#8217;SF_DEBUG&#8217;, true) in &#8216;/web/index.php&#8217;.
Another way is going to &#8216;/apps/frontend/config/settings.yml&#8217;, and find strip_comments, then turn if off  like this strip_comments: off. More details you will find here [...]]]></description>
		<wfw:commentRss>http://caibaohua.com/2007/09/11/symfonydoes-not-work-under-prod-on-mac/feed/</wfw:commentRss>
		</item>
		<item>
		<title>RoR Install On Ubuntu</title>
		<link>http://caibaohua.com/2007/08/13/ror-install-on-ubuntu/</link>
		<comments>http://caibaohua.com/2007/08/13/ror-install-on-ubuntu/#comments</comments>
		<pubDate>Mon, 13 Aug 2007 08:55:26 +0000</pubDate>
		<dc:creator>caibaohua</dc:creator>
		
		<category><![CDATA[RoR]]></category>

		<guid isPermaLink="false">http://caibaohua.com/2007/08/13/ror-install-on-ubuntu/</guid>
		<description><![CDATA[1. install rails
sudo apt-get install rails
2. install rubygem
download new version:
http://rubyforge.org/frs/?group_id=126&#38;release_id=11889
extract the file, cd /path/to/file
sudo ruby ./setup.rb
sudo gem update
3. install  mongrel
before install mongre, install apt-get install build-essential.
sudo gem install mongrel &#8211;include-dependencies
cd /yourapp
sudo mongrel_rails start -d -e development
4. config apache / virtualhost
start proxy
cd /etc/apache2/mods-enabled/
sudo ln -s ../mods-available/proxy_balancer.load proxy_balancer.load
sudo ln -s ../mods-available/proxy_http.load proxy_http.load
sudo ln -s ../mods-available/proxy.load proxy.load
sudo [...]]]></description>
		<wfw:commentRss>http://caibaohua.com/2007/08/13/ror-install-on-ubuntu/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
