<?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>ho.race.hk</title>
	<atom:link href="http://ho.race.hk/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://ho.race.hk/blog</link>
	<description>email: h@race.hk</description>
	<lastBuildDate>Fri, 16 Mar 2012 08:20:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>To use SQL Server 2000 from CentOS via activerecord</title>
		<link>http://ho.race.hk/blog/2012/03/to-use-sql-server-2000-from-centos-via-activerecord/</link>
		<comments>http://ho.race.hk/blog/2012/03/to-use-sql-server-2000-from-centos-via-activerecord/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 08:17:11 +0000</pubDate>
		<dc:creator>horace</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ho.race.hk/blog/?p=509</guid>
		<description><![CDATA[installation: yum install freetds-devel yum install unixODBC-devel gem install tiny_tds -v 0.4.5 gem install activerecord-sqlserver-adapter -v 2.3.24 ruby script: #!/usr/bin/env ruby require 'rubygems' require 'thread' require 'tiny_tds' require 'activerecord-sqlserver-adapter' ... ActiveRecord::Base.establish_connection( &#160; &#160; :adapter =&#62; 'sqlserver', &#160; :host =&#62; hostname, &#160; :username =&#62; username, &#160; :password =&#62; password, &#160; &#160; :database =&#62; database, &#160; :timeout <a href="http://ho.race.hk/blog/2012/03/to-use-sql-server-2000-from-centos-via-activerecord/"> read more <span class="meta-nav">&#187;</span></a>]]></description>
			<content:encoded><![CDATA[<p>installation:</p>
<div class="codecolorer-container text mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">yum install freetds-devel<br />
yum install unixODBC-devel<br />
<br />
gem install tiny_tds -v 0.4.5<br />
gem install activerecord-sqlserver-adapter -v 2.3.24</div></div>
<p>ruby script:</p>
<div class="codecolorer-container text mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#!/usr/bin/env ruby<br />
<br />
require 'rubygems'<br />
require 'thread'<br />
require 'tiny_tds'<br />
require 'activerecord-sqlserver-adapter'<br />
<br />
...<br />
<br />
ActiveRecord::Base.establish_connection( &nbsp; <br />
&nbsp; :adapter =&gt; 'sqlserver',<br />
&nbsp; :host =&gt; hostname,<br />
&nbsp; :username =&gt; username,<br />
&nbsp; :password =&gt; password, &nbsp; <br />
&nbsp; :database =&gt; database,<br />
&nbsp; :timeout =&gt; 60000)</div></div>
]]></content:encoded>
			<wfw:commentRss>http://ho.race.hk/blog/2012/03/to-use-sql-server-2000-from-centos-via-activerecord/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Noergaard Theme</title>
		<link>http://ho.race.hk/blog/2012/03/noergaard-theme/</link>
		<comments>http://ho.race.hk/blog/2012/03/noergaard-theme/#comments</comments>
		<pubDate>Thu, 08 Mar 2012 06:21:37 +0000</pubDate>
		<dc:creator>horace</dc:creator>
				<category><![CDATA[Themes]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://ho.race.hk/blog/?p=503</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-441" title="myoc-thumb-noergaard" src="/images/myoc-thumb-noergaard.png" alt="" width="300" height="200" /></p>
<p><a href="http://ho.race.hk/themes/Noergaard.zip"><img src="/images/download.png" alt="Download" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ho.race.hk/blog/2012/03/noergaard-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Office Board Theme</title>
		<link>http://ho.race.hk/blog/2012/02/office-board-theme/</link>
		<comments>http://ho.race.hk/blog/2012/02/office-board-theme/#comments</comments>
		<pubDate>Sun, 26 Feb 2012 02:39:38 +0000</pubDate>
		<dc:creator>horace</dc:creator>
				<category><![CDATA[Themes]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://ho.race.hk/blog/?p=492</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-441" title="analog-clock-theme-thumb" src="/images/office-board-thumb.png" alt="" width="300" height="200" /></p>
<p><a href="http://ho.race.hk/themes/Office Board.zip"><img src="/images/download.png" alt="Download" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ho.race.hk/blog/2012/02/office-board-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorials</title>
		<link>http://ho.race.hk/blog/2012/02/how-to-make-a-theme/</link>
		<comments>http://ho.race.hk/blog/2012/02/how-to-make-a-theme/#comments</comments>
		<pubDate>Sun, 26 Feb 2012 01:28:24 +0000</pubDate>
		<dc:creator>horace</dc:creator>
				<category><![CDATA[Clock]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://ho.race.hk/blog/?p=485</guid>
		<description><![CDATA[How to make themes: How to make a simple theme How to customize the calendar How to make a graphical calendar How to install a theme: How to install a theme via iTunes]]></description>
			<content:encoded><![CDATA[<p>How to make themes:</p>
<ul>
<li><a title="How to make a simple theme" href="http://makeclocks.tumblr.com/post/17939798609/how-to-create-a-simple-theme" target="_blank">How to make a simple theme</a></li>
<li><a href="http://makeclocks.tumblr.com/post/18288202725/how-to-customize-the-calendar">How to customize the calendar</a></li>
<li><a href="http://makeclocks.tumblr.com/post/18938441554/how-to-make-graphical-calendars">How to make a graphical calendar</a></li>
</ul>
<p>How to install a theme:</p>
<ul>
<li><a title="To install a theme .zip file via iTunes" href="http://makeclocks.tumblr.com/post/18436374895/to-install-a-theme-zip-file-via-itunes">How to install a theme via iTunes</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://ho.race.hk/blog/2012/02/how-to-make-a-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Analog Clock Theme</title>
		<link>http://ho.race.hk/blog/2012/02/analog-clock-theme/</link>
		<comments>http://ho.race.hk/blog/2012/02/analog-clock-theme/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 04:34:43 +0000</pubDate>
		<dc:creator>horace</dc:creator>
				<category><![CDATA[Themes]]></category>
		<category><![CDATA[myoc]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://ho.race.hk/blog/?p=440</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-441" title="analog-clock-theme-thumb" src="http://ho.race.hk/blog/wp-content/uploads/2012/02/thumb.png" alt="" width="300" height="200" /></p>
<p><a href="http://ho.race.hk/themes/Analog.zip"><img src="/images/download.png" alt="Download" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ho.race.hk/blog/2012/02/analog-clock-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To disable Anti Alias in Textmate 2</title>
		<link>http://ho.race.hk/blog/2012/02/to-disable-anti-alias-in-textmate-2/</link>
		<comments>http://ho.race.hk/blog/2012/02/to-disable-anti-alias-in-textmate-2/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 04:30:33 +0000</pubDate>
		<dc:creator>horace</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://ho.race.hk/blog/?p=435</guid>
		<description><![CDATA[To disable anti alias in TextMate 2: defaults write com.macromates.TextMate.preview disableAntiAlias -bool YES]]></description>
			<content:encoded><![CDATA[<p>To disable <a href="http://www.atpm.com/12.01/paradigm.shtml">anti alias</a> in TextMate 2:</p>
<div class="codecolorer-container text mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">defaults write com.macromates.TextMate.preview disableAntiAlias -bool YES</div></div>
]]></content:encoded>
			<wfw:commentRss>http://ho.race.hk/blog/2012/02/to-disable-anti-alias-in-textmate-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Minimalist Timer is out</title>
		<link>http://ho.race.hk/blog/2011/12/minimalist-timer-is-out/</link>
		<comments>http://ho.race.hk/blog/2011/12/minimalist-timer-is-out/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 14:09:58 +0000</pubDate>
		<dc:creator>horace</dc:creator>
				<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://ho.race.hk/blog/?p=427</guid>
		<description><![CDATA[It&#8217;s now on AppStore, and also reviewed by Beautiful Pixels.]]></description>
			<content:encoded><![CDATA[<p><img src="http://ho.race.hk/blog/wp-content/uploads/2011/12/minimalist-timer-iphone.jpg" alt="" title="Minimalist Timer fo iPhone" width="334" height="480" /><br />
It&#8217;s now on <a href="http://itunes.apple.com/app/minimalist-timer/id487145086?mt=8">AppStore</a>, and also reviewed by <a href="http://beautifulpixels.com/iphone/minimalist-timer/" title="Beautiful Pixels">Beautiful Pixels</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ho.race.hk/blog/2011/12/minimalist-timer-is-out/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Timer under construction</title>
		<link>http://ho.race.hk/blog/2011/12/timer-under-construction/</link>
		<comments>http://ho.race.hk/blog/2011/12/timer-under-construction/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 02:49:11 +0000</pubDate>
		<dc:creator>horace</dc:creator>
				<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://ho.race.hk/blog/?p=410</guid>
		<description><![CDATA[I decided to write a timer app when I saw this nicely designed dial. Preview:]]></description>
			<content:encoded><![CDATA[<p>I decided to write a timer app when I saw this nicely designed <a href="http://www.icondeposit.com/design:dial-version-3-includes-tutorial">dial</a>.</p>
<p>Preview:</p>
<p><img src="http://ho.race.hk/blog/wp-content/uploads/2011/12/screen-1.png" alt="" title="iPhone timer dial " width="320" height="460" class="alignleft size-full wp-image-411" /></p>
]]></content:encoded>
			<wfw:commentRss>http://ho.race.hk/blog/2011/12/timer-under-construction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to exclude a sub-directory when using zip -r in Linux</title>
		<link>http://ho.race.hk/blog/2011/11/how-to-exclude-a-sub-directory-when-using-zip-r-in-linux/</link>
		<comments>http://ho.race.hk/blog/2011/11/how-to-exclude-a-sub-directory-when-using-zip-r-in-linux/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 04:17:08 +0000</pubDate>
		<dc:creator>horace</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ho.race.hk/blog/?p=404</guid>
		<description><![CDATA[The trick is to double-quote the sub-directory to be excluded: zip -r blog_20111108 blog -x "blog/public/assets/*"]]></description>
			<content:encoded><![CDATA[<p>The trick is to double-quote the sub-directory to be excluded:</p>
<pre> zip -r blog_20111108 blog -x "blog/public/assets/*" </pre>
]]></content:encoded>
			<wfw:commentRss>http://ho.race.hk/blog/2011/11/how-to-exclude-a-sub-directory-when-using-zip-r-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web sharing cannot be started after Lion upgrade</title>
		<link>http://ho.race.hk/blog/2011/10/web-sharing-cannot-be-started-after-lion-upgrade/</link>
		<comments>http://ho.race.hk/blog/2011/10/web-sharing-cannot-be-started-after-lion-upgrade/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 08:06:55 +0000</pubDate>
		<dc:creator>horace</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://ho.race.hk/blog/?p=397</guid>
		<description><![CDATA[After upgraded to Lion, Web Sharing cannot be started. In my case, it&#8217;s caused by the missing fastcgi_module. To fix, open httpd.conf in /etc/apache2/ and comment it out: LoadModule php5_module libexec/apache2/libphp5.so # LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so]]></description>
			<content:encoded><![CDATA[<p>After upgraded to Lion, Web Sharing cannot be started. In my case, it&#8217;s caused by the missing <em>fastcgi_module</em>. To fix, open <em>httpd.conf</em> in <em>/etc/apache2/</em> and comment it out:</p>
<pre>
LoadModule php5_module        libexec/apache2/libphp5.so
# LoadModule fastcgi_module     libexec/apache2/mod_fastcgi.so
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ho.race.hk/blog/2011/10/web-sharing-cannot-be-started-after-lion-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

