<?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>林光生活兩光過</title>
	<atom:link href="http://blog.yzlin.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.yzlin.org</link>
	<description>人生就該悠閒地過，忠實地記錄下人生的軌跡</description>
	<lastBuildDate>Thu, 21 Jan 2010 15:46:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=3.0-alpha</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Git &#8211; How to edit incorrect commit messages?</title>
		<link>http://blog.yzlin.org/2010/01/21/96/</link>
		<comments>http://blog.yzlin.org/2010/01/21/96/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 15:44:36 +0000</pubDate>
		<dc:creator>yzlin</dc:creator>
				<category><![CDATA[工具]]></category>
		<category><![CDATA[電腦技術]]></category>
		<category><![CDATA[Git]]></category>

		<guid isPermaLink="false">http://blog.yzlin.org/?p=96</guid>
		<description><![CDATA[一般來說，要修改最近一次的 commit，常見的方式有：

git revert &#38; git commit：這個方式很直覺，直接 revert 回上一個版本，然後重新 commit，不過因為 revert 會連這次 commit 中的記錄也消掉，這樣太麻煩了，我只是想改個 commit message 而已啊！XD
git commit &#8211;amend：這個可以直接翻譯成&#8221;重新修改最近這次 commit&#8221;，其相當於
$ git reset &#8211;soft HEAD^
$ &#8230; do something else to come up with the right tree &#8230;
$ git commit -c ORIG_HEAD


然而，對於要修改較舊的 commit，上面的做法可能就不適用了，據我所知目前的做法有兩種，第一種是使用 git rebase：
git rebase &#8211;interactive &#60;after-this-commit-id&#62;

這樣會跳出介面讓你選擇想要修改的 commit，選擇完畢後，會由舊到新依序停在每個你所選擇的 commit，然後利用
git commit &#8211;amend
來修改該次的 commit，再搭配
git rebase &#8211;continue
來繼續下一個選擇的 commit。這種做法很方便，也可以快速地達到目的，因為是用 rebase，修改 commit [...]]]></description>
			<content:encoded><![CDATA[<p>一般來說，要修改最近一次的 commit，常見的方式有：</p>
<ul>
<li>git revert &amp; git commit：這個方式很直覺，直接 revert 回上一個版本，然後重新 commit，不過因為 revert 會連這次 commit 中的記錄也消掉，這樣太麻煩了，我只是想改個 commit message 而已啊！XD</li>
<li>git commit &#8211;amend：這個可以直接翻譯成&#8221;重新修改最近這次 commit&#8221;，其相當於<br />
<blockquote><p>$ git reset &#8211;soft HEAD^<br />
$ &#8230; do something else to come up with the right tree &#8230;<br />
$ git commit -c ORIG_HEAD</p></blockquote>
</li>
</ul>
<p>然而，對於要修改較舊的 commit，上面的做法可能就不適用了，據我所知目前的做法有兩種，第一種是使用 git rebase：</p>
<blockquote><p>git rebase &#8211;interactive &lt;after-this-commit-id&gt;
</p></blockquote>
<p>這樣會跳出介面讓你選擇想要修改的 commit，選擇完畢後，會由舊到新依序停在每個你所選擇的 commit，然後利用</p>
<blockquote><p>git commit &#8211;amend</p></blockquote>
<p>來修改該次的 commit，再搭配</p>
<blockquote><p>git rebase &#8211;continue</p></blockquote>
<p>來繼續下一個選擇的 commit。這種做法很方便，也可以快速地達到目的，因為是用 rebase，修改 commit message 倒是還好，如果有修改到 content，可能就要注意一下 conflict &amp; merge 的問題了。另外，這個方式對某個我試的結果，對於修改 first commit 會沒輒。這時候可能要使用另一種比較麻煩的做法了。</p>
<p>第二種做法是利用一個由要修改的 commit 產生一個 target commit (在另一個 branch 中)，同樣搭配 git commit &#8211;amend 來修改，最後利用 git rebase 來覆蓋原本的 commit：</p>
<blockquote><p># tag the source commit so we can reference it<br />
git tag source-commit &lt;source-commit-id&gt;<br />
# checkout on its own branch<br />
git checkout -b fake-branch source-commit<br />
# amend the commit<br />
git commit &#8211;amend<br />
# after you changed the commit message, checkout the original branch<br />
git checkout &lt;original-branch&gt;<br />
# and rebase it onto the source commit<br />
git rebase &#8211;onto fake-branch source-commit<br />
# then nuke the temporary branch and tag we created<br />
git branch -d fake-branch<br />
git tag -d source-commit</p></blockquote>
<p>就看情形使用了，大部份還是用第一種做法，不過一開始就把 commit message 寫好最省事 XD</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.yzlin.org/2010/01/21/96/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[QA魂] 敲 tracker 的啟發</title>
		<link>http://blog.yzlin.org/2010/01/21/94/</link>
		<comments>http://blog.yzlin.org/2010/01/21/94/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 12:29:17 +0000</pubDate>
		<dc:creator>yzlin</dc:creator>
				<category><![CDATA[兩光生活]]></category>
		<category><![CDATA[QA]]></category>

		<guid isPermaLink="false">http://blog.yzlin.org/?p=94</guid>
		<description><![CDATA[在公司，我的 mentor 是個很 nice 的人，沒有架子、待人和氣，從他的做事方式讓我學到不少東西。
今天和許多資深的 QA 前輩請教了 L10N 相關的 testing 和敲 tracker 的方式，前輩們教了我很多做法和針對不同情況的處理方式，讓我獲益良多，我也認為單純地這樣分類然後去敲就沒問題了。後來，跑去和我的 mentor 討論了一下，他的回答讓我忽然有種當頭棒喝的感覺，他說：「這樣一次大量敲下去會不會讓 RD 很頭大？或許我們可以換一種方式來敲，讓 RD 可以檢視所有的問題，同時也能夠兼具 tracker 的功用」，他的這番話讓我感受到他是真的努力在幫忙 RD 解決問題，而不是只單方面地回報問題而已。
今天讓我學到了一課，鑽研技術固然重要，但態度和做事的方法更是需要學習的。
]]></description>
			<content:encoded><![CDATA[<p>在公司，我的 mentor 是個很 nice 的人，沒有架子、待人和氣，從他的做事方式讓我學到不少東西。</p>
<p>今天和許多資深的 QA 前輩請教了 L10N 相關的 testing 和敲 tracker 的方式，前輩們教了我很多做法和針對不同情況的處理方式，讓我獲益良多，我也認為單純地這樣分類然後去敲就沒問題了。後來，跑去和我的 mentor 討論了一下，他的回答讓我忽然有種當頭棒喝的感覺，他說：「這樣一次大量敲下去會不會讓 RD 很頭大？或許我們可以換一種方式來敲，讓 RD 可以檢視所有的問題，同時也能夠兼具 tracker 的功用」，他的這番話讓我感受到他是真的努力在幫忙 RD 解決問題，而不是只單方面地回報問題而已。</p>
<p>今天讓我學到了一課，鑽研技術固然重要，但態度和做事的方法更是需要學習的。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.yzlin.org/2010/01/21/94/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fix VMware vSphere Client on Windows 7</title>
		<link>http://blog.yzlin.org/2009/11/05/90/</link>
		<comments>http://blog.yzlin.org/2009/11/05/90/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 03:29:31 +0000</pubDate>
		<dc:creator>yzlin</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[工具]]></category>
		<category><![CDATA[電腦技術]]></category>

		<guid isPermaLink="false">http://blog.yzlin.org/?p=90</guid>
		<description><![CDATA[I&#8217;ve started to use Windows 7 as working desktop OS. When I try to use vSphere Client to connect to ESX Server, it just gives me errors like
Error parsing the server “&#60;server name&#62;” “clients.xml” file.
and
The type initializer for ‘VirtualInfrastructure.Utils.HttpWebRequestProxy’ threw an exception.
After googling, I get some solution. With a little modification from Pank&#8217;s patch, it [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve started to use Windows 7 as working desktop OS. When I try to use vSphere Client to connect to ESX Server, it just gives me errors like</p>
<blockquote><p>Error parsing the server “&lt;server name&gt;” “clients.xml” file.</p></blockquote>
<p>and</p>
<blockquote><p>The type initializer for ‘VirtualInfrastructure.Utils.HttpWebRequestProxy’ threw an exception.</p></blockquote>
<p>After googling, I get some <a href="http://www.techhead.co.uk/running-vmware-vsphere-client-on-windows-7" target="_blank">solution</a>. With a little <a href="http://file.yzlin.org/vsphere_client_win7_fix.zip">modification</a> from <a href="http://pank.org/blog/2009/10/vmware-vsphere-fix-w7.html" target="_blank">Pank&#8217;s patch</a>, it works fine now. <img src='http://blog.yzlin.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>P.S. The newer version 2.0.50727.4927 of system.dll seems not work, so that&#8217;s why to pack version 2.0.50727.3053.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.yzlin.org/2009/11/05/90/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Punish Day</title>
		<link>http://blog.yzlin.org/2009/07/21/88/</link>
		<comments>http://blog.yzlin.org/2009/07/21/88/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 14:02:14 +0000</pubDate>
		<dc:creator>yzlin</dc:creator>
				<category><![CDATA[BSD]]></category>
		<category><![CDATA[兩光生活]]></category>
		<category><![CDATA[電腦技術]]></category>

		<guid isPermaLink="false">http://blog.yzlin.org/?p=88</guid>
		<description><![CDATA[接觸 FreeBSD 也算有蠻長的一段時間了，不過以前的我對 FreeBSD 沒有很深入的了解，上研究所前的暑假到 Y! 實習，也開始慢慢地熟悉 FreeBSD，那時候遇到了很多長輩，rafan 也是那時候進 Y! 的，不過第一年和 rafan 沒有太多交集，只知道他是 Ports Committer 之一，那時候就覺得：「哇！真厲害！」。
後來上了研究所，也進了 NCTU CSCC 當助教，在這裡接觸到了很多強者，還記得 liuyh 要 BSD team 多看 Porter&#8217;s Handbook，剛好另一位 Ports Committer &#8211; lwhsu 也在系計中，那時候我就覺得自己好弱，應該趕快練實力，希望自己有一天也能成為 Ports Committer，lwhsu 要我先練習 send-pr(1) 和 Tinderbox；我也常拿 csports 來練習 XD，DK 大神也幫我收了不少爛攤子。就在那時候送了第一個 PR，不只重複送，Maintainer 還寫錯 orz。
研一的暑假又回到 Y! 當實習生，這個暑假因為實習內容的關係，和 rafan 變得比較熟了，也慢慢從他那邊知道 Ports 的架構和其他有趣的事，還記得 rafan 跟我講：「想當 Ports Committer，先 send [...]]]></description>
			<content:encoded><![CDATA[<p>接觸 FreeBSD 也算有蠻長的一段時間了，不過以前的我對 FreeBSD 沒有很深入的了解，上研究所前的暑假到 Y! 實習，也開始慢慢地熟悉 FreeBSD，那時候遇到了很多長輩，<a href="http://www.rafan.org/">rafan</a> 也是那時候進 Y! 的，不過第一年和 rafan 沒有太多交集，只知道他是 Ports Committer 之一，那時候就覺得：「哇！真厲害！」。</p>
<p>後來上了研究所，也進了 NCTU CSCC 當助教，在這裡接觸到了很多強者，還記得 liuyh 要 BSD team 多看 Porter&#8217;s Handbook，剛好另一位 Ports Committer &#8211; <a href="http://lwhsu.org/">lwhsu</a> 也在系計中，那時候我就覺得自己好弱，應該趕快練實力，希望自己有一天也能成為 Ports Committer，lwhsu 要我先練習 send-pr(1) 和 Tinderbox；我也常拿 csports 來練習 XD，<a href="http://blog.gslin.org/">DK 大神</a>也幫我收了不少爛攤子。就在那時候送了<a href="http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/124129">第一個 PR</a>，不只重複送，Maintainer 還寫錯 orz。</p>
<p>研一的暑假又回到 Y! 當實習生，這個暑假因為實習內容的關係，和 rafan 變得比較熟了，也慢慢從他那邊知道 Ports 的架構和其他有趣的事，還記得 rafan 跟我講：「想當 Ports Committer，先 send 100 個 PR 來再說！」，所以程式寫到很煩的時候就會開 portscout.org 看有沒有什麼 ports 要更新的，PR 數也是這時候不斷地增加，不過 PR 的品質也很差 XD。</p>
<p>研二上算是 PR 送得最勤的時候，那時候常常有事沒事就送，不清楚的就問 lwhsu，不管是更新還是有錯，反正 PR 不用錢嘛！XD 隨著數目增加，也慢慢知道要注意哪些東西，不會送出一些好笑的 PR 了 (還曾經被 pav@ reject XD)。後來，就<a href="http://www.freebsd.org/news/newsflash.html#event20090720:01">被懲罰</a>了。</p>
<p>最要感謝的是我的 mentor &#8211; lwhsu，雖然我 on board 第一天就出包 XD，不過總算是踏出第一步了，接下來還請許多前輩們多多照顧小弟了。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.yzlin.org/2009/07/21/88/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>最近的生活</title>
		<link>http://blog.yzlin.org/2009/06/17/85/</link>
		<comments>http://blog.yzlin.org/2009/06/17/85/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 16:58:05 +0000</pubDate>
		<dc:creator>yzlin</dc:creator>
				<category><![CDATA[Asides]]></category>

		<guid isPermaLink="false">http://blog.yzlin.org/?p=85</guid>
		<description><![CDATA[Blog 停水了一陣子，最近都在忙論文的東西，其實寫得差不多了，口試日期也決定了，剩下的就是好好地為學生生活劃下一個完美的句點 (還有把該還的債還一還 XD)。其實來交大這兩年應該算是我活二十幾年來學到最多東西的一段時間吧！在這邊遇到很多高手和貴人，系計中真是臥虎藏龍，真的要感謝很多人，就趁所剩不多的這段時光，再多糟糕一下吧！XD
接下來就要進入職場了，算是進到人生的另一個不同的階段，也請各位前輩們多多照顧了。:)
(0)]]></description>
			<content:encoded><![CDATA[<p>Blog 停水了一陣子，最近都在忙論文的東西，其實寫得差不多了，口試日期也決定了，剩下的就是好好地為學生生活劃下一個完美的句點 (還有把該還的債還一還 XD)。其實來交大這兩年應該算是我活二十幾年來學到最多東西的一段時間吧！在這邊遇到很多高手和貴人，系計中真是臥虎藏龍，真的要感謝很多人，就趁所剩不多的這段時光，再多糟糕一下吧！XD</p>
<p>接下來就要進入職場了，算是進到人生的另一個不同的階段，也請各位前輩們多多照顧了。:)</p>
<a href="http://blog.yzlin.org/2009/06/17/85/" rel="bookmark" class="asides-permalink" title="Permanent Link to 最近的生活">(0)</a>]]></content:encoded>
			<wfw:commentRss>http://blog.yzlin.org/2009/06/17/85/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>值得尊敬的人</title>
		<link>http://blog.yzlin.org/2009/03/28/82/</link>
		<comments>http://blog.yzlin.org/2009/03/28/82/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 18:20:46 +0000</pubDate>
		<dc:creator>yzlin</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[兩光生活]]></category>

		<guid isPermaLink="false">http://blog.yzlin.org/?p=82</guid>
		<description><![CDATA[工三的垃圾筒都是放在廁所旁的樓梯口角落，經過的時候偶爾會看到一個負責清理這些垃圾筒的阿姨，在我的以往的印象中，看到不少清理垃圾筒的人對待週遭的人不是很友善，不然就是有點冷淡不太想理人；但是這位阿姨對週遭的人態度都很好，我現在經過都會跟她打聲招呼。
不知道為什麼，明明垃圾筒上的紙條寫得很清楚要分類，總是有很多人看也不看就隨便亂丟，每次都看到阿姨整理得很辛苦，雖然總是有分不完的垃圾，但這位阿姨的態度還是很好，我遇過不少邊整理邊罵的人。這些努力付出勞力的人，每天都很盡責地做好自己的事，也許他們的工作不能舒舒服服地坐在冷氣房，也許他們的工作常搞得全身騷臭不堪，但我覺得多歸了他們，這個社會多了一分人情味，在我心中，他們的職業是很值得人尊敬的，這比一大堆高文憑卻連基本的垃圾分類都做不好的人來得更值得敬重。
下次丟垃圾的時候多想想，做好分類花不了你一分鐘，卻可省下他們不少時間。
(1)]]></description>
			<content:encoded><![CDATA[<p>工三的垃圾筒都是放在廁所旁的樓梯口角落，經過的時候偶爾會看到一個負責清理這些垃圾筒的阿姨，在我的以往的印象中，看到不少清理垃圾筒的人對待週遭的人不是很友善，不然就是有點冷淡不太想理人；但是這位阿姨對週遭的人態度都很好，我現在經過都會跟她打聲招呼。</p>
<p>不知道為什麼，明明垃圾筒上的紙條寫得很清楚要分類，總是有很多人看也不看就隨便亂丟，每次都看到阿姨整理得很辛苦，雖然總是有分不完的垃圾，但這位阿姨的態度還是很好，我遇過不少邊整理邊罵的人。這些努力付出勞力的人，每天都很盡責地做好自己的事，也許他們的工作不能舒舒服服地坐在冷氣房，也許他們的工作常搞得全身騷臭不堪，但我覺得多歸了他們，這個社會多了一分人情味，在我心中，他們的職業是很值得人尊敬的，這比一大堆高文憑卻連基本的垃圾分類都做不好的人來得更值得敬重。</p>
<p>下次丟垃圾的時候多想想，做好分類花不了你一分鐘，卻可省下他們不少時間。</p>
<a href="http://blog.yzlin.org/2009/03/28/82/" rel="bookmark" class="asides-permalink" title="Permanent Link to 值得尊敬的人">(1)</a>]]></content:encoded>
			<wfw:commentRss>http://blog.yzlin.org/2009/03/28/82/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VIM: Hack Your Editor!!</title>
		<link>http://blog.yzlin.org/2009/03/09/80/</link>
		<comments>http://blog.yzlin.org/2009/03/09/80/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 13:20:55 +0000</pubDate>
		<dc:creator>yzlin</dc:creator>
				<category><![CDATA[NCTUCS]]></category>
		<category><![CDATA[工作記錄]]></category>
		<category><![CDATA[工具]]></category>
		<category><![CDATA[電腦技術]]></category>

		<guid isPermaLink="false">http://blog.yzlin.org/?p=80</guid>
		<description><![CDATA[在系計中的小分享，這次著重在開發環境和 Plugin，蠻多部份沒有在 Slides 點出來，而是用口頭講述的，也有很多東西來不及準備完所以就沒講了，不過這種東西還是實際去玩學得比較快，也比較容易了解原理。:P
]]></description>
			<content:encoded><![CDATA[<p>在系計中的<a href="http://file.yzlin.org/VIM_Hack_Your_Editor.pdf">小分享</a>，這次著重在開發環境和 Plugin，蠻多部份沒有在 Slides 點出來，而是用口頭講述的，也有很多東西來不及準備完所以就沒講了，不過這種東西還是實際去玩學得比較快，也比較容易了解原理。:P</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.yzlin.org/2009/03/09/80/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Corrinne May &#8211; 難得一見的好聲音</title>
		<link>http://blog.yzlin.org/2009/02/24/77/</link>
		<comments>http://blog.yzlin.org/2009/02/24/77/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 10:03:41 +0000</pubDate>
		<dc:creator>yzlin</dc:creator>
				<category><![CDATA[兩光生活]]></category>
		<category><![CDATA[音樂誌]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://blog.yzlin.org/?p=77</guid>
		<description><![CDATA[Corrinne May (中文名：符美云) ，新加坡女歌手，發行過四張專輯，在台灣其實沒多少人認識她，畢竟她有在台灣上市的專輯僅僅只有第一張 &#8220;Fly Away&#8221; 及最近的一張 &#8220;Beautiful Seed&#8221;，也許她不像時下的流行歌手般令人印象深刻，但聽過一次她的嗓音，會讓人難以忘懷。
第一次聽到她的歌聲是在網路上，忘記是哪了，只聽背景傳來 &#8220;Beautiful Seed&#8221; 專輯中 &#8220;Love Song for #1&#8243; &#8211; &#8220;In the twinkling starts that dance like fireflies&#8230;&#8221;，很舒服的聲音，現在唸書都會放她的歌來聽。
四張專輯：

Corrinne May (Fly Away)
Safe in a Crazy World
The Gift
Beautiful Seed

我最喜歡的是&#8221;Safe in a Crazy World&#8221; &#38; &#8220;Beautiful Seed&#8221;這兩張專輯。:)
P.S. 某人抱怨我都只發表技術性的文章 XD
]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 250px"><img title="Corrinne May - Safe in a Crazy World" src="http://farm4.static.flickr.com/3568/3306332928_8e6a832347_m.jpg" alt="Corrinne May - Safe in a Crazy World" width="240" height="240" /><p class="wp-caption-text">Corrinne May - Safe in a Crazy World</p></div>
<p><a href="http://www.corrinnemay.com/" target="_blank">Corrinne May</a> (中文名：符美云) ，新加坡女歌手，發行過四張專輯，在台灣其實沒多少人認識她，畢竟她有在台灣上市的專輯僅僅只有第一張 &#8220;Fly Away&#8221; 及最近的一張 &#8220;Beautiful Seed&#8221;，也許她不像時下的流行歌手般令人印象深刻，但聽過一次她的嗓音，會讓人難以忘懷。</p>
<p>第一次聽到她的歌聲是在網路上，忘記是哪了，只聽背景傳來 &#8220;Beautiful Seed&#8221; 專輯中 &#8220;Love Song for #1&#8243; &#8211; &#8220;In the twinkling starts that dance like fireflies&#8230;&#8221;，很舒服的聲音，現在唸書都會放她的歌來聽。</p>
<p>四張專輯：</p>
<ul>
<li>Corrinne May (Fly Away)</li>
<li>Safe in a Crazy World</li>
<li>The Gift</li>
<li>Beautiful Seed</li>
</ul>
<p>我最喜歡的是&#8221;Safe in a Crazy World&#8221; &amp; &#8220;Beautiful Seed&#8221;這兩張專輯。:)</p>
<p>P.S. 某人抱怨我都只發表技術性的文章 XD</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.yzlin.org/2009/02/24/77/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tab Completion on Python Shell</title>
		<link>http://blog.yzlin.org/2008/12/22/75/</link>
		<comments>http://blog.yzlin.org/2008/12/22/75/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 17:21:40 +0000</pubDate>
		<dc:creator>yzlin</dc:creator>
				<category><![CDATA[工具]]></category>
		<category><![CDATA[電腦技術]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blog.yzlin.org/?p=75</guid>
		<description><![CDATA[Python 本身的 Interactive Mode (Shell) 其實對於測試一些小功能和 debug，都蠻有用的，不過它的功能一直讓我覺得很陽春，尤其是 Tab Completion，我一直以為沒有實作這個功能，後來在 &#8220;Python for Unix and Linux System Administration&#8221; 這本書看到原來可以手動打開這個功能：

&#62;&#62;&#62; import rlcompleter, readline
&#62;&#62;&#62; readline.parse_and_bind('tab: complete')

這樣便可以使用 Tab Completion 的功能了，結果大致上會是：

&#62;&#62;&#62; import os
&#62;&#62;&#62; os.lis&#60;TAB&#62;
&#62;&#62;&#62; os.listdir
&#62;&#62;&#62; os.li&#60;TAB&#62;&#60;TAB&#62;
os.linesep  os.link    os.listdir

雖然有了基本的 Tab Completion 功能，但說真的，還是挺不習慣 Python 原本的 Shell，後來都改用 IPython 了，比原本的 Python Shell 強大很多，重點是&#8230;它會自動 Indent，我不用再按&#60;TAB&#62;按到死了。
]]></description>
			<content:encoded><![CDATA[<p>Python 本身的 Interactive Mode (Shell) 其實對於測試一些小功能和 debug，都蠻有用的，不過它的功能一直讓我覺得很陽春，尤其是 Tab Completion，我一直以為沒有實作這個功能，後來在 &#8220;Python for Unix and Linux System Administration&#8221; 這本書看到原來可以手動打開這個功能：</p>
<blockquote>
<pre>&gt;&gt;&gt; import rlcompleter, readline
&gt;&gt;&gt; readline.parse_and_bind('tab: complete')</pre>
</blockquote>
<p>這樣便可以使用 Tab Completion 的功能了，結果大致上會是：</p>
<blockquote>
<pre>&gt;&gt;&gt; import os
&gt;&gt;&gt; os.lis&lt;TAB&gt;
&gt;&gt;&gt; os.listdir
&gt;&gt;&gt; os.li&lt;TAB&gt;&lt;TAB&gt;
os.linesep  os.link    os.listdir</pre>
</blockquote>
<p>雖然有了基本的 Tab Completion 功能，但說真的，還是挺不習慣 Python 原本的 Shell，後來都改用 <a href="http://ipython.scipy.org" target="_blank">IPython</a> 了，比原本的 Python Shell 強大很多，重點是&#8230;它會自動 Indent，我不用再按&lt;TAB&gt;按到死了。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.yzlin.org/2008/12/22/75/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Firefox + VIM = vimperator</title>
		<link>http://blog.yzlin.org/2008/12/18/73/</link>
		<comments>http://blog.yzlin.org/2008/12/18/73/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 11:17:18 +0000</pubDate>
		<dc:creator>yzlin</dc:creator>
				<category><![CDATA[工具]]></category>
		<category><![CDATA[電腦技術]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://blog.yzlin.org/?p=73</guid>
		<description><![CDATA[最近看到一個 Firefox Extension &#8220;vimperator&#8220;，我只能說，這個東西真是太棒了，尤其對我這種 VIM 重度使用者來說，真是一大福音啊！
看了一下官網的說明，大部份的常用指令都有實作，而且一裝完介面瞬間感受得到有種 VIM-Style，官網還有 Tips &#38; Tricks 專區，不過目前看來數量沒有很多，google 一下應該可以找到更多人的使用經驗，也有些人直接把設定放出來。
現在正在探索它的設定，畢竟跟原本的 VIM 還是有些許不同，對於網頁瀏覽方面應該會有一些對應的設定和功能以增加方便性。有心得再 post 出來。
]]></description>
			<content:encoded><![CDATA[<p>最近看到一個 Firefox Extension &#8220;<a href="http://vimperator.org/trac/wiki/Vimperator" target="_blank">vimperator</a>&#8220;，我只能說，這個東西真是太棒了，尤其對我這種 VIM 重度使用者來說，真是一大福音啊！</p>
<p>看了一下官網的說明，大部份的常用指令都有實作，而且一裝完介面瞬間感受得到有種 VIM-Style，官網還有 <a href="http://vimperator.org/trac/wiki/Vimperator/Tips&amp;Tricks" target="_blank">Tips &amp; Tricks</a> 專區，不過目前看來數量沒有很多，google 一下應該可以找到更多人的使用經驗，也<a href="http://developernotes.com/post/Vim-2b-Firefox-3d-Vimperator.aspx" target="_blank">有些人</a>直接把設定放出來。</p>
<p>現在正在探索它的設定，畢竟跟原本的 VIM 還是有些許不同，對於網頁瀏覽方面應該會有一些對應的設定和功能以增加方便性。有心得再 post 出來。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.yzlin.org/2008/12/18/73/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
