<?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>Gideon's blog</title>
	<atom:link href="http://gideontsang.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://gideontsang.wordpress.com</link>
	<description>no more geeky talk</description>
	<lastBuildDate>Thu, 12 Jan 2012 07:40:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='gideontsang.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Gideon's blog</title>
		<link>http://gideontsang.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://gideontsang.wordpress.com/osd.xml" title="Gideon&#039;s blog" />
	<atom:link rel='hub' href='http://gideontsang.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Sweet Open-Source Backgrounds</title>
		<link>http://gideontsang.wordpress.com/2011/02/23/sweet-open-source-backgrounds/</link>
		<comments>http://gideontsang.wordpress.com/2011/02/23/sweet-open-source-backgrounds/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 04:57:15 +0000</pubDate>
		<dc:creator>Gideon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://gideontsang.wordpress.com/?p=181</guid>
		<description><![CDATA[http://setasbackground.blogspot.com<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=181&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://setasbackground.blogspot.com">http://setasbackground.blogspot.com</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gideontsang.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gideontsang.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gideontsang.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gideontsang.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gideontsang.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gideontsang.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gideontsang.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gideontsang.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gideontsang.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gideontsang.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gideontsang.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gideontsang.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gideontsang.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gideontsang.wordpress.com/181/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=181&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gideontsang.wordpress.com/2011/02/23/sweet-open-source-backgrounds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/38a29a7e71c273d3bdfd06e60763ae53?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Gideon</media:title>
		</media:content>
	</item>
		<item>
		<title>HKJC Moonlight</title>
		<link>http://gideontsang.wordpress.com/2011/02/13/174/</link>
		<comments>http://gideontsang.wordpress.com/2011/02/13/174/#comments</comments>
		<pubDate>Sat, 12 Feb 2011 17:16:48 +0000</pubDate>
		<dc:creator>Gideon</dc:creator>
				<category><![CDATA[Linux tips and tricks]]></category>

		<guid isPermaLink="false">http://gideontsang.wordpress.com/?p=174</guid>
		<description><![CDATA[The Hong Kong Jockey Club (香港賽馬會) is one of the shittest websites, their online 投注站 only support IE. Great news is that finally changed it. Although they are still sticking to Microsoft (Silverlight) now, we do have an alternative Moonlight for Firefox users. When IE and Safari get into the hkjc website, they can automatically [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=174&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The Hong Kong Jockey Club (<a href="http://bet.hkjc.com/default.aspx?lang=ch">香港賽馬會</a>) is one of the shittest websites, their online 投注站 only support IE.</p>
<p>Great news is that finally changed it.  Although they are still sticking to Microsoft (Silverlight) now, we do have an alternative Moonlight for Firefox users.  When IE and Safari get into the hkjc website, they can automatically detect and download the corresponding plug-in.   Firefox failed to do so, because Silverlight is not open-source.  Surprisingly, this time Microsoft is kind enough to create a similar open source project <a href="http://www.go-mono.com/moonlight/">Moonlight</a>.  They provide a firefox plug-in, letting non-MS people to bet finally.</p>
<p><a href="http://gideontsang.files.wordpress.com/2011/02/screenshot.png"><img class="aligncenter size-medium wp-image-177" title="Screenshot" src="http://gideontsang.files.wordpress.com/2011/02/screenshot.png?w=247&#038;h=300" alt="" width="247" height="300" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gideontsang.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gideontsang.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gideontsang.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gideontsang.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gideontsang.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gideontsang.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gideontsang.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gideontsang.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gideontsang.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gideontsang.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gideontsang.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gideontsang.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gideontsang.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gideontsang.wordpress.com/174/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=174&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gideontsang.wordpress.com/2011/02/13/174/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/38a29a7e71c273d3bdfd06e60763ae53?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Gideon</media:title>
		</media:content>

		<media:content url="http://gideontsang.files.wordpress.com/2011/02/screenshot.png?w=247" medium="image">
			<media:title type="html">Screenshot</media:title>
		</media:content>
	</item>
		<item>
		<title>Typing Chinese in Sabayon5.5</title>
		<link>http://gideontsang.wordpress.com/2011/02/12/typing-chinese-in-sabayon5-5/</link>
		<comments>http://gideontsang.wordpress.com/2011/02/12/typing-chinese-in-sabayon5-5/#comments</comments>
		<pubDate>Fri, 11 Feb 2011 16:19:12 +0000</pubDate>
		<dc:creator>Gideon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sabayon]]></category>

		<guid isPermaLink="false">http://gideontsang.wordpress.com/?p=166</guid>
		<description><![CDATA[I was trying out Sabayon, and as usual, one of the first things I would like to set up is to configure SCIM to type Chinese. Speaking of which, Sabayon interested me for a few reasons.  It&#8217;s based on Gentoo; every Linux user thought Gentoo is cool. While I didn&#8217;t have the patient go through [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=166&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was trying out Sabayon, and as usual, one of the first things I would like to set up is to configure SCIM to type Chinese.</p>
<p>Speaking of which, Sabayon interested me for a few reasons.  It&#8217;s based on Gentoo; every Linux user thought Gentoo is cool. While I didn&#8217;t have the patient go through the installation of Gentoo, trying Sabayon seems to make a lot of sense. Just like I&#8217;ve been using LinuxMint instead of Ubuntu,  I love these distros because they just &#8220;works&#8221; after initial installation.   Even more, Sabayon has two powerful package managers &#8211; emerge and equo.  emerge uses Gentoo&#8217;s infamous portage system to build packages straight from source, while equo provides package managers to install from pre-compiled binaries, just like yum in Fedora and apt in Ubuntu.  equo is fast, while emerge gives me the cutting edge versions instead of waiting others to pre-compil the binaries.  I&#8217;ve no complain.</p>
<p>To install scim and Chinese input methods (倉頡 is one of them), use the following command:</p>
<blockquote><p>equo scim scim-tables</p></blockquote>
<p>To make scim as default input method, put following lines to ~/.profile:</p>
<blockquote><p>export XMODIFIERS=&#8217;@im=SCIM&#8217;<br />
export XIM=&#8221;scim&#8221;<br />
export XINPUT=&#8221;xim&#8221;<br />
export XIM_PROGRAM=&#8221;scim -d&#8221;<br />
export GTK_IM_MODULE=&#8221;xim&#8221;<br />
export QT_IM_MODULE=&#8221;xim&#8221;<br />
scim -d &amp;</p></blockquote>
<p>Now, restart X( by logout login again, or Ctrl+Alt+Backspace), then Ctrl-space, there should be the SCIM toolbar somewhere on your screen, then choose your favourite input method to use it.</p>
<p>And try the <a href="http://wenq.org/enindex.cgi?SpreadWQY">WenQuanYi Bitmap Song CJK Font</a>, it is the best Chinese font I&#8217;ve seen.</p>
<blockquote><p>equo install  wqy-bitmapfont</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gideontsang.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gideontsang.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gideontsang.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gideontsang.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gideontsang.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gideontsang.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gideontsang.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gideontsang.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gideontsang.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gideontsang.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gideontsang.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gideontsang.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gideontsang.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gideontsang.wordpress.com/166/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=166&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gideontsang.wordpress.com/2011/02/12/typing-chinese-in-sabayon5-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/38a29a7e71c273d3bdfd06e60763ae53?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Gideon</media:title>
		</media:content>
	</item>
		<item>
		<title>sshd start at boot</title>
		<link>http://gideontsang.wordpress.com/2011/02/10/sshd-start-at-boot/</link>
		<comments>http://gideontsang.wordpress.com/2011/02/10/sshd-start-at-boot/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 08:52:08 +0000</pubDate>
		<dc:creator>Gideon</dc:creator>
				<category><![CDATA[Sabayon]]></category>

		<guid isPermaLink="false">http://gideontsang.wordpress.com/?p=164</guid>
		<description><![CDATA[This command should work for other distro. I just ran into this problem when I was trying out sabayon, which for reason doesn&#8217;t start sshd by default. # rc-update add sshd default<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=164&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This command should work for other distro. I just ran into this problem when I was trying out sabayon, which for reason doesn&#8217;t start sshd by default.</p>
<blockquote><p># rc-update add sshd default</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gideontsang.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gideontsang.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gideontsang.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gideontsang.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gideontsang.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gideontsang.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gideontsang.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gideontsang.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gideontsang.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gideontsang.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gideontsang.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gideontsang.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gideontsang.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gideontsang.wordpress.com/164/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=164&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gideontsang.wordpress.com/2011/02/10/sshd-start-at-boot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/38a29a7e71c273d3bdfd06e60763ae53?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Gideon</media:title>
		</media:content>
	</item>
		<item>
		<title>command to display motherboard&#8217;s model</title>
		<link>http://gideontsang.wordpress.com/2011/01/24/command-to-display-motherboards-model/</link>
		<comments>http://gideontsang.wordpress.com/2011/01/24/command-to-display-motherboards-model/#comments</comments>
		<pubDate>Sun, 23 Jan 2011 17:19:36 +0000</pubDate>
		<dc:creator>Gideon</dc:creator>
				<category><![CDATA[BS]]></category>

		<guid isPermaLink="false">http://gideontsang.wordpress.com/?p=153</guid>
		<description><![CDATA[command to display hardware: $ sudo lshw &#124; less command to display motherboard&#8217;s model: $ sudo dmidecode &#124; less<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=153&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>command to display hardware:</p>
<blockquote><p>$ sudo lshw | less</p></blockquote>
<p>command to display motherboard&#8217;s model:</p>
<blockquote><p>$ sudo dmidecode | less</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gideontsang.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gideontsang.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gideontsang.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gideontsang.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gideontsang.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gideontsang.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gideontsang.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gideontsang.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gideontsang.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gideontsang.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gideontsang.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gideontsang.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gideontsang.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gideontsang.wordpress.com/153/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=153&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gideontsang.wordpress.com/2011/01/24/command-to-display-motherboards-model/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/38a29a7e71c273d3bdfd06e60763ae53?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Gideon</media:title>
		</media:content>
	</item>
		<item>
		<title>QQ at Ubuntu crash</title>
		<link>http://gideontsang.wordpress.com/2010/12/23/qq-at-ubuntu-crash/</link>
		<comments>http://gideontsang.wordpress.com/2010/12/23/qq-at-ubuntu-crash/#comments</comments>
		<pubDate>Wed, 22 Dec 2010 16:36:36 +0000</pubDate>
		<dc:creator>Gideon</dc:creator>
				<category><![CDATA[BS]]></category>

		<guid isPermaLink="false">http://gideontsang.wordpress.com/?p=150</guid>
		<description><![CDATA[QQ is a very popular instant messenger software in China. Links to download QQ for Linux: http://im.qq.com/qq/linux/download.shtml However, when it runs, it always crash. (Currently I&#8217;m using Ubuntu 8.04LTS) Edit the following file can solve the problem: vi /usr/bin/qq #!/bin/sh add the following line: export GDK_NATIVE_WINDOWS=true<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=150&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>QQ is a very popular instant messenger software in China.  Links to download QQ for Linux:</p>
<p>http://im.qq.com/qq/linux/download.shtml</p>
<p>However, when it runs, it always crash.<br />
(Currently I&#8217;m using Ubuntu 8.04LTS)</p>
<p>Edit the following file can solve the problem:<br />
vi /usr/bin/qq<br />
#!/bin/sh</p>
<p>add the following line:<br />
export GDK_NATIVE_WINDOWS=true</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gideontsang.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gideontsang.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gideontsang.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gideontsang.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gideontsang.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gideontsang.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gideontsang.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gideontsang.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gideontsang.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gideontsang.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gideontsang.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gideontsang.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gideontsang.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gideontsang.wordpress.com/150/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=150&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gideontsang.wordpress.com/2010/12/23/qq-at-ubuntu-crash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/38a29a7e71c273d3bdfd06e60763ae53?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Gideon</media:title>
		</media:content>
	</item>
		<item>
		<title>USB OTG</title>
		<link>http://gideontsang.wordpress.com/2009/10/30/usb-otg/</link>
		<comments>http://gideontsang.wordpress.com/2009/10/30/usb-otg/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 08:08:16 +0000</pubDate>
		<dc:creator>Gideon</dc:creator>
				<category><![CDATA[BS]]></category>

		<guid isPermaLink="false">http://gideontsang.wordpress.com/?p=141</guid>
		<description><![CDATA[USB is a good interface but it can be very complicated and confusing(probably only for developers?) The USB mini-male has 2 types: Mini-A-male Mini-B-male The USB OTG devices detect itself as a host or client depends on the ID pin(pin 4). USB Mini-A-male has internal wiring to tie the ID pin to GND, which let [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=141&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>USB is a good interface but it can be very complicated and confusing(probably only for developers?)</p>
<p>The USB mini-male has 2 types:</p>
<ul>
<li>Mini-A-male</li>
<li>Mini-B-male</li>
</ul>
<p>The USB OTG devices detect itself as a host or client depends on the ID pin(pin 4).  USB Mini-A-male has internal wiring to tie the ID pin to GND, which let the host to identify itself as USB host.</p>
<p>While most of the USB Mini-male cable you see on the market is Mini-B-male, which leave the pin unconnected.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gideontsang.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gideontsang.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gideontsang.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gideontsang.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gideontsang.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gideontsang.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gideontsang.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gideontsang.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gideontsang.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gideontsang.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gideontsang.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gideontsang.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gideontsang.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gideontsang.wordpress.com/141/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=141&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gideontsang.wordpress.com/2009/10/30/usb-otg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/38a29a7e71c273d3bdfd06e60763ae53?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Gideon</media:title>
		</media:content>
	</item>
		<item>
		<title>gitweb on Ubuntu/Jaunty</title>
		<link>http://gideontsang.wordpress.com/2009/10/13/gitweb-on-ubuntujaunty/</link>
		<comments>http://gideontsang.wordpress.com/2009/10/13/gitweb-on-ubuntujaunty/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 15:23:00 +0000</pubDate>
		<dc:creator>Gideon</dc:creator>
				<category><![CDATA[Linux tips and tricks]]></category>

		<guid isPermaLink="false">http://gideontsang.wordpress.com/?p=131</guid>
		<description><![CDATA[Make sure these GIT packages are installed: $ aptitude install git git-core gitk gitweb Assume the default apache web server is /var/www/ , gitweb is the directory I want to install gitweb: $ cd /var/www/ $ mkdir gitweb $ cd gitweb copy gitweb graphics and stylesheets(git-favicon.png git-logo.png gitweb.css) to its directory, their path should correspond [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=131&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Make sure these GIT packages are installed:</p>
<pre>
$ aptitude install git git-core gitk gitweb
</pre>
<p>Assume the default apache web server is /var/www/ ,<br />
<strong>gitweb</strong> is the directory I want to install gitweb:</p>
<pre>
$ cd /var/www/
$ mkdir gitweb
$ cd gitweb
</pre>
<p>copy gitweb graphics and stylesheets(git-favicon.png  git-logo.png  gitweb.css) to its directory, their path should correspond to what states in /etc/gitweb.conf:</p>
<pre>
$ cd /var/www/gitweb/
$ cp /usr/share/gitweb/* .
</pre>
<p>add gitweb directory to apache2 configuration by creating a &#8220;gitweb&#8221; file inside apache conf.d directory:</p>
<pre>
$ vi /etc/apache/conf.d/gitweb
</pre>
<p>Paste the following text and modify if your path is different:</p>
<blockquote><p>
Alias /gitweb /var/www/gitweb</p>
<p>Options Indexes FollowSymlinks ExecCGI<br />
DirectoryIndex /cgi-bin/gitweb.cgi<br />
AllowOverride None
</p></blockquote>
<p>Modify gitweb.conf, assuming the public GIT repositories are located in /var/www/repo/</p>
<pre>
$ vi /etc/gitweb.conf
</pre>
<blockquote><p>
$projectroot = &#8220;/var/www/repo/&#8221;;</p>
<p># directory to use for temp files<br />
$git_temp = &#8220;/tmp&#8221;;</p>
<p># target of the home link on top of all pages<br />
#$home_link = $my_uri || &#8220;/&#8221;;</p>
<p># html text to include at home page<br />
$home_text = &#8220;indextext.html&#8221;;</p>
<p># file with project list; by default, simply scan the projectroot dir.<br />
$projects_list = $projectroot;</p>
<p># stylesheet to use<br />
# I took off the prefix / of the following path to put these files inside gitweb directory directly<br />
$stylesheet = &#8220;gitweb.css&#8221;;</p>
<p># logo to use<br />
$logo = &#8220;git-logo.png&#8221;;</p>
<p># the &#8216;favicon&#8217;<br />
$favicon = &#8220;git-favicon.png&#8221;;
</p></blockquote>
<p>restart apache2 web server:</p>
<pre>
$ sudo /etc/init.d/apache2 restart
</pre>
<p>Now you should be able to view gitweb listing all GIT projects under /var/www/repo/:<br />
<a href="http://localhost/gitweb">http://localhost/gitweb</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gideontsang.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gideontsang.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gideontsang.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gideontsang.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gideontsang.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gideontsang.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gideontsang.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gideontsang.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gideontsang.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gideontsang.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gideontsang.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gideontsang.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gideontsang.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gideontsang.wordpress.com/131/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=131&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gideontsang.wordpress.com/2009/10/13/gitweb-on-ubuntujaunty/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/38a29a7e71c273d3bdfd06e60763ae53?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Gideon</media:title>
		</media:content>
	</item>
		<item>
		<title>vi copy and paste format problem</title>
		<link>http://gideontsang.wordpress.com/2008/11/07/vi-copy-and-paste-format-problem/</link>
		<comments>http://gideontsang.wordpress.com/2008/11/07/vi-copy-and-paste-format-problem/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 08:09:11 +0000</pubDate>
		<dc:creator>Gideon</dc:creator>
				<category><![CDATA[Linux tips and tricks]]></category>

		<guid isPermaLink="false">http://gideontsang.wordpress.com/?p=121</guid>
		<description><![CDATA[when copy and paste in vi it automatically inserts many annoying indents and tabs. To disable the auto indents and formatting, use this command before you paste :set paste and paste your codes. After that, set it back :set nopaste<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=121&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>when copy and paste in vi it automatically inserts many annoying indents and tabs.  To disable the auto indents and formatting, use this command before you paste</p>
<blockquote><p>:set paste</p></blockquote>
<p>and paste your codes.  After that, set it back</p>
<blockquote><p>:set nopaste</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gideontsang.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gideontsang.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gideontsang.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gideontsang.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gideontsang.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gideontsang.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gideontsang.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gideontsang.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gideontsang.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gideontsang.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gideontsang.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gideontsang.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gideontsang.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gideontsang.wordpress.com/121/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=121&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gideontsang.wordpress.com/2008/11/07/vi-copy-and-paste-format-problem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/38a29a7e71c273d3bdfd06e60763ae53?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Gideon</media:title>
		</media:content>
	</item>
		<item>
		<title>8051 Linux programmer</title>
		<link>http://gideontsang.wordpress.com/2008/09/22/8051-linux-programmer/</link>
		<comments>http://gideontsang.wordpress.com/2008/09/22/8051-linux-programmer/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 09:28:42 +0000</pubDate>
		<dc:creator>Gideon</dc:creator>
				<category><![CDATA[questions]]></category>

		<guid isPermaLink="false">http://gideontsang.wordpress.com/?p=117</guid>
		<description><![CDATA[I just had no luck searching for this topic. Any one come across the same idea please shed me some lights. Any cheap (universal) programmer out there can be used to compile 8051 C programs and also capable of writing the hex file into 8051 derivatives? I would also like to know what packages/compilers/similators to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=117&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just had no luck searching for this topic. Any one come across the same idea please shed me some lights.</p>
<p>Any cheap (universal) programmer out there can be used to compile 8051 C programs and also capable of writing the hex file into <a href="http://www.8052.com/chips.phtml">8051 derivatives</a>? I would also like to know what packages/compilers/similators to drive this programmer.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gideontsang.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gideontsang.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gideontsang.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gideontsang.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gideontsang.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gideontsang.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gideontsang.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gideontsang.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gideontsang.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gideontsang.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gideontsang.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gideontsang.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gideontsang.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gideontsang.wordpress.com/117/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gideontsang.wordpress.com&amp;blog=588061&amp;post=117&amp;subd=gideontsang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gideontsang.wordpress.com/2008/09/22/8051-linux-programmer/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/38a29a7e71c273d3bdfd06e60763ae53?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Gideon</media:title>
		</media:content>
	</item>
	</channel>
</rss>
