<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2439774838669390567</id><updated>2011-09-03T20:23:01.245+08:00</updated><category term='mobile'/><category term='google app engine'/><category term='proxy'/><category term='coldfusion'/><category term='decrypt'/><category term='live cd'/><category term='nethack'/><category term='wedding'/><category term='linux tip'/><category term='trace'/><category term='robot'/><category term='wow'/><category term='sar'/><category term='firefox'/><category term='test'/><category term='mutt'/><category term='pgp'/><category term='ssh tunnel'/><category term='python'/><category term='blogger tip'/><category term='resource'/><category term='script'/><category term='linux hack'/><category term='windows'/><category term='ie6 suck'/><category term='code'/><category term='blogger hack'/><category term='social network'/><category term='linux'/><category term='facebook'/><category term='screen'/><category term='virtualbox'/><category term='rogue-like'/><category term='ram disk'/><category term='mysql'/><category term='rock'/><category term='os'/><category term='highlight'/><category term='firefox extension'/><category term='music'/><category term='terminator'/><category term='prettify'/><category term='bash'/><category term='game'/><category term='font'/><category term='vnc'/><category term='remote install'/><category term='wordpress'/><category term='life'/><category term='editor'/><category term='ubuntu tweak'/><category term='android'/><category term='plurk'/><category term='terminal'/><category term='rpg'/><category term='bookmark'/><category term='tmpfs'/><category term='command-line'/><category term='ubuntu'/><category term='cheatsheet'/><category term='blogging'/><category term='msmtp'/><title type='text'>w3 4r3 r0ck</title><subtitle type='html'>life, music, note, openSource &amp;amp; linux</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>83</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-1475020045097654885</id><published>2010-12-06T19:45:00.003+08:00</published><updated>2010-12-06T20:23:09.330+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>Android cooking tools and reference</title><content type='html'>kitchen:&lt;br /&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://forum.xda-developers.com/showthread.php?t=633246"&gt;dsixda's HTC Android Kitchen&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forum.xda-developers.com/showpost.php?p=7628768&amp;amp;postcount=1664"&gt;QUESTION: How do I add a kernel to my kitchen's working folder?&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forum.xda-developers.com/showpost.php?p=8317763&amp;amp;postcount=2102"&gt;some more information about the fundamentals of creating your ROM with this kitchen&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forum.xda-developers.com/showpost.php?p=5626300&amp;amp;postcount=3"&gt;Frequently Asked Questions&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;apk tool:&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://code.google.com/p/android-apktool/"&gt;android-apktool&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forum.xda-developers.com/showthread.php?t=695701"&gt;Apk Manager&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;odex &amp;amp; deodex:&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://forum.xda-developers.com/showpost.php?p=3864655&amp;amp;postcount=36"&gt;dexopt-wrapper&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://android.modaco.com/content/htc-hero-hero-modaco-com/301910/odex-script-for-unodexd-roms/"&gt; ODEX script for unodex'd ROMs&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.netmite.com/android/mydroid/dalvik/docs/dexopt.html"&gt;Dalvik Optimization and Verification With dexopt&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forum.xda-developers.com/showthread.php?t=520411&amp;amp;page=9"&gt;can we use odex file optimization for all apps?&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forum.xda-developers.com/showthread.php?p=7114384&amp;amp;highlight=dexopt-wrapper#post7114384"&gt;odex mini step 1&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://forum.xda-developers.com/showpost.php?p=5325899&amp;amp;postcount=609"&gt;odex mini step 2&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://code.google.com/p/smali/"&gt;smali&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://blog.coralic.nl/2010/01/27/deodexing-com-htc-framework/#more-276"&gt;Deodexing com.htc.framework&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;update-script:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://forum.xda-developers.com/showthread.php?t=641223"&gt;update-script syntax - A guide for ROM devs, modders, and themers&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forum.xda-developers.com/showthread.php?t=524268"&gt;SET_PERM&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;translate:&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://forum.xda-developers.com/showpost.php?p=8268893&amp;amp;postcount=3"&gt;[HOW TO] Create a MIUI Language Pack&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://code.google.com/p/android-php-translator/"&gt;android-php-translator&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-1475020045097654885?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/1475020045097654885/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2010/12/android-cooking-tools-and-reference.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1475020045097654885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1475020045097654885'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2010/12/android-cooking-tools-and-reference.html' title='Android cooking tools and reference'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-1426347619407910302</id><published>2010-12-01T21:41:00.003+08:00</published><updated>2010-12-01T22:11:34.676+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>HTC Desire rom &amp; tool</title><content type='html'>&lt;div&gt;&lt;b&gt;Rom&lt;/b&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.mobile01.com/topicdetail.php?f=566&amp;amp;t=1728441&amp;amp;p=1"&gt;Bravo Desire by 賢@mobile01&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.miui.com/"&gt;MIUI&lt;/a&gt; , &lt;a href="http://forums.miui-dev.com/"&gt;MIUI-dev&lt;/a&gt; , &lt;a href="http://www.miui-au.com/"&gt;MIUI-Au&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.cyanogenmod.com/"&gt;cyanogenmod&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forum.xda-developers.com/showthread.php?t=695667"&gt;Official HTC Desire RUU ROMS and OTA Update URLs&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forum.xda-developers.com/forumdisplay.php?s=28f564be396f74012f64209ab8a6ffc4&amp;amp;f=628"&gt;rom on XDA&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;b&gt;Tool&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://unrevoked.com/"&gt;unrevoked&lt;/a&gt; - 1 click root&lt;/li&gt;&lt;li&gt;&lt;a href="http://alpharev.nl/"&gt;alpharev&lt;/a&gt; - security off a.k.a S-OFF&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.clockworkmod.com/"&gt;clockworkmod&lt;/a&gt; - recovery &lt;/li&gt;&lt;/ul&gt;&lt;div&gt;ref: &lt;a href="http://forum.xda-developers.com/showthread.php?t=809328"&gt;this&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-1426347619407910302?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/1426347619407910302/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2010/12/htc-desire-rom.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1426347619407910302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1426347619407910302'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2010/12/htc-desire-rom.html' title='HTC Desire rom &amp; tool'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-9210524303797645260</id><published>2010-12-01T21:28:00.003+08:00</published><updated>2010-12-01T21:40:10.420+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='android'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>adb on ubuntu 10.04 with HTC Desire</title><content type='html'>&lt;code class="cmd"&gt;su&lt;br /&gt;echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666"' &gt; /etc/udev/rules.d/51-android.rules&lt;br /&gt;exit&lt;br /&gt;cd ~&lt;br /&gt;wget http://dl.google.com/android/android-sdk_r07-linux_x86.tgz&lt;br /&gt;tar zxvf android-sdk_r07-linux_x86.tgz&lt;br /&gt;cd android-sdk-linux_x86/&lt;br /&gt;./tools/adb devices&lt;br /&gt;./tools/adb shell&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;ref: &lt;a href="http://developer.android.com/"&gt;this&lt;/a&gt;, &lt;a href="http://starryalley.twbbs.org/blog/index.php?/archives/1223-udev-rules-in-Ubuntu-10.04-to-enable-adb-HTC-connection.html"&gt;this&lt;/a&gt; and &lt;a href="http://qtadb.wordpress.com/"&gt;this&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-9210524303797645260?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/9210524303797645260/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2010/12/adb-on-ubuntu-1004-with-htc-desire.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/9210524303797645260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/9210524303797645260'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2010/12/adb-on-ubuntu-1004-with-htc-desire.html' title='adb on ubuntu 10.04 with HTC Desire'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-3317009854275421205</id><published>2010-08-25T21:59:00.009+08:00</published><updated>2010-08-25T22:50:04.963+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Replace vino-server with x11vnc on ubuntu 10.04</title><content type='html'>vino-server效能不佳, 故以x11vnc替代之, 記得先停用vino-server:&lt;br /&gt;&lt;code class="cmd"&gt;sudo apt-get install x11vnc vnc4server&lt;br /&gt;vncpasswd&lt;br /&gt;x11vnc --quiet -ncache 10 -bg -reopen -forever \&lt;br /&gt;-rfbauth ~/.vnc/passwd -display :0&lt;/code&gt;&lt;br /&gt;ref: &lt;a href="http://www.karlrunge.com/x11vnc/"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-3317009854275421205?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/3317009854275421205/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/replace-vino-server-with-x11vnc-on.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/3317009854275421205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/3317009854275421205'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/replace-vino-server-with-x11vnc-on.html' title='Replace vino-server with x11vnc on ubuntu 10.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-6815695819203316176</id><published>2010-08-25T21:53:00.002+08:00</published><updated>2010-08-25T21:58:38.731+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='trace'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Strace with tomcat</title><content type='html'>一般的strace使用法如下即可:&lt;br /&gt;&lt;code class="cmd"&gt;strace -p $PID&lt;/code&gt;&lt;br /&gt;但是tomcat必須使用以下參數才可正常顯示:&lt;br /&gt;&lt;code class="cmd"&gt;strace -f -etrace=\!futex,gettimeofday,clock_gettime -p $PID&lt;/code&gt;&lt;br /&gt;ref: &lt;a href="http://www.techienuggets.com/CommentDetail?tx=234863"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-6815695819203316176?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/6815695819203316176/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/strace-with-tomcat.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6815695819203316176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6815695819203316176'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/strace-with-tomcat.html' title='Strace with tomcat'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-6796006082981724677</id><published>2010-08-21T11:04:00.002+08:00</published><updated>2010-08-21T11:07:08.868+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Jdownloader for ubuntu 10.04</title><content type='html'>Another file hosting download manager !&lt;br /&gt;&lt;code class="cmd"&gt;sudo add-apt-repository ppa:jd-team/jdownloader&lt;br /&gt;sudo echo 'deb http://ppa.launchpad.net/jd-team/jdownloader/ubuntu lucid main'  &gt; /etc/apt/sources.list.d/jd-team-ppa-lucid.list # fix wrong url&lt;br /&gt;sudo apt-get update &lt;br /&gt;sudo apt-get install jdownloader&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-6796006082981724677?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/6796006082981724677/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/jdownloader-for-ubuntu-1004.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6796006082981724677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6796006082981724677'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/jdownloader-for-ubuntu-1004.html' title='Jdownloader for ubuntu 10.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-9043524491494114082</id><published>2010-08-17T19:36:00.004+08:00</published><updated>2010-08-21T11:07:59.467+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Open anything from command line in ubuntu</title><content type='html'>try this:&lt;br /&gt;&lt;code class="cmd"&gt;gnome-open ./*&lt;/code&gt;&lt;br /&gt;ref: &lt;a href="http://ubuntuforums.org/showthread.php?t=320437"&gt;this&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-9043524491494114082?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/9043524491494114082/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/open-anything-from-command-line-in.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/9043524491494114082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/9043524491494114082'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/open-anything-from-command-line-in.html' title='Open anything from command line in ubuntu'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-3243326263903560177</id><published>2010-08-15T01:19:00.000+08:00</published><updated>2010-08-15T01:21:07.262+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Disabling the Touchpad Temporarily While Typing</title><content type='html'>打字時暫時停用 touchpad .&lt;br /&gt;&lt;code class="cmd"&gt;syndaemon -i 1 -d&lt;/code&gt;&lt;br /&gt;ref: &lt;a href="https://help.ubuntu.com/community/SynapticsTouchpad#Disabling the Touchpad Temporarily While Typing"&gt;this&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-3243326263903560177?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/3243326263903560177/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/disabling-touchpad-temporarily-while.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/3243326263903560177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/3243326263903560177'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/disabling-touchpad-temporarily-while.html' title='Disabling the Touchpad Temporarily While Typing'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-512797723634624665</id><published>2010-08-14T18:42:00.002+08:00</published><updated>2010-08-14T18:45:53.922+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Equinox GTK Engine for ubuntu</title><content type='html'>不錯的 eye candy , theme &amp;amp; icon set.&lt;br /&gt;&lt;code class="cmd"&gt;sudo add-apt-repository ppa:tiheum/equinox&lt;br /&gt;sudo apt-get update&lt;br /&gt;sudo apt-get install gtk2-engines-equinox equinox-theme equinox-ubuntu-theme faenza-icon-theme&lt;/code&gt;&lt;br /&gt;ref: &lt;a href="http://gnome-look.org/usermanager/search.php?username=tiheum&amp;amp;action=contents"&gt;this &lt;/a&gt; and &lt;a href="http://www.omgubuntu.co.uk/"&gt;this&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-512797723634624665?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/512797723634624665/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/equinox-gtk-engine-for-ubuntu.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/512797723634624665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/512797723634624665'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/equinox-gtk-engine-for-ubuntu.html' title='Equinox GTK Engine for ubuntu'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-6741737643215779334</id><published>2010-08-14T18:31:00.003+08:00</published><updated>2010-08-21T11:08:19.519+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Network manager &amp; reslov.conf</title><content type='html'>防止 network manager 每次開機後修改 /etc/reslov.conf, 一個 dirty 的方法, 加上 immutable 的屬性:&lt;br /&gt;&lt;code class="cmd"&gt;sudo chattr +i /etc/reslov.conf&lt;/code&gt;&lt;br /&gt;如果要修改 reslov.conf, 先將 immutable 的屬性拿掉:&lt;br /&gt;&lt;code class="cmd"&gt;sudo chattr -i /etc/reslov.conf&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-6741737643215779334?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/6741737643215779334/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/network-manager-reslovconf.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6741737643215779334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6741737643215779334'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/network-manager-reslovconf.html' title='Network manager &amp; reslov.conf'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-2351735592799361443</id><published>2010-08-13T01:11:00.004+08:00</published><updated>2010-08-21T11:08:40.476+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>File hosting download manager</title><content type='html'>&lt;ol&gt;&lt;li&gt;&lt;a href="http://rdesc.com/"&gt;rdesc&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.mipony.net/en/"&gt;mipony&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://mdownloader.codeplex.com/"&gt;mdownloader&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-2351735592799361443?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/2351735592799361443/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/file-hosting-download-manager.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2351735592799361443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2351735592799361443'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/file-hosting-download-manager.html' title='File hosting download manager'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-6058644754615987919</id><published>2010-08-13T01:00:00.003+08:00</published><updated>2010-08-21T11:08:56.535+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Windows 7 KB971033 crack</title><content type='html'>&lt;ol&gt;&lt;li&gt;&lt;a href="How to Block Or Uninstall Windows 7 Activation Update KB971033"&gt;移除 KB971033 &amp;amp; block&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://tw.myblog.yahoo.com/www-080/article?mid=963&amp;amp;prev=1053&amp;amp;next=515"&gt;修改 registry &amp;amp; 重設授權狀態&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://tw.myblog.yahoo.com/www-080/article?mid=963&amp;amp;prev=1053&amp;amp;next=515"&gt;移除 &amp;amp; 重裝 loader&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;good lock !&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-6058644754615987919?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/6058644754615987919/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/windows-7-kb971033-crack.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6058644754615987919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6058644754615987919'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/windows-7-kb971033-crack.html' title='Windows 7 KB971033 crack'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-7975795667985576396</id><published>2010-08-13T00:58:00.000+08:00</published><updated>2010-08-13T00:59:56.127+08:00</updated><title type='text'>hi !</title><content type='html'>&lt;span style="font-weight:bold;"&gt;i'm alive ;)&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-7975795667985576396?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/7975795667985576396/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/hi.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7975795667985576396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7975795667985576396'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2010/08/hi.html' title='hi !'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-6071594846224503358</id><published>2010-02-09T12:02:00.003+08:00</published><updated>2010-02-09T12:05:47.406+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux tip'/><title type='text'>colorful log via perl</title><content type='html'>&lt;code class="cmd"&gt;cat /var/log/message | perl -pe 's/ERROR/\e[1;31;43m$&amp;\e[0m/g'&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-6071594846224503358?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/6071594846224503358/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2010/02/colorful-log-via-perl.html#comment-form' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6071594846224503358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6071594846224503358'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2010/02/colorful-log-via-perl.html' title='colorful log via perl'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-7734783666855063701</id><published>2010-02-09T11:56:00.003+08:00</published><updated>2010-02-09T12:01:15.727+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux tip'/><title type='text'>proxy via iptables</title><content type='html'>&lt;code class="prettyprint"&gt;#!/bin/bash&lt;br /&gt;echo 1 &gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;&lt;br /&gt;proxy_host=x.x.x.x&lt;br /&gt;proxy_port=8080&lt;br /&gt;iptables -F&lt;br /&gt;iptables -F -t nat&lt;br /&gt;iptables -t nat -A OUTPUT -p tcp -d 127.0.0.0/8 -j ACCEPT&lt;br /&gt;iptables -t nat -A OUTPUT -p tcp -d 10.0.0.0/8 -j ACCEPT&lt;br /&gt;iptables -t nat -A OUTPUT -p tcp -d 172.16.0.0/16 -j ACCEPT&lt;br /&gt;iptables -t nat -A OUTPUT -p tcp -d 172.19.0.0/16 -j ACCEPT&lt;br /&gt;iptables -t nat -A OUTPUT -p tcp  --dport 80 -j DNAT --to-destination&lt;br /&gt;"$proxy_host":"$proxy_port"&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-7734783666855063701?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/7734783666855063701/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2010/02/proxy-via-iptables.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7734783666855063701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7734783666855063701'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2010/02/proxy-via-iptables.html' title='proxy via iptables'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-303040150647724869</id><published>2009-12-14T23:00:00.000+08:00</published><updated>2009-12-14T23:01:26.262+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wow'/><title type='text'>wow reference</title><content type='html'>&lt;span style="font-weight: bold;font-size:130%;" &gt;Druid:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://forum.gamer.com.tw/C.php?bsn=05219&amp;amp;snA=419965&amp;amp;tnum=77"&gt;肥鳥新手救命大補帖&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://wowbox.tw/bbs/viewtopic.php?f=23&amp;amp;t=16570"&gt;歐服神人團 Ensidia 的恢復樹德指南&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://wowbox.tw/bbs/viewtopic.php?f=23&amp;amp;t=16571"&gt;續．歐服神人團 Ensidia 的恢復樹德指南&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://wow.one-game.com/a/10/2009-05-12/145.html"&gt;如何當個超級補D樹D奶D補德樹德奶德&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.eyny.com/viewthread.php?tid=2825361"&gt;樹D巨集的另類用法&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forum.gamer.com.tw/G2.php?bsn=05219&amp;amp;parent=7737&amp;amp;sn=6746&amp;amp;lorder=1&amp;amp;ptitle=%E3%80%90%E6%81%A2%E5%BE%A9%E5%B7%A8%E9%9B%86%E3%80%91"&gt;恢復德巨集分享 v3.0.3 (主補副坦) &lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forum.gamer.com.tw/Co.php?bsn=05219&amp;amp;sn=3340805"&gt;補職必看 小D巨集 (適用所有補職) &amp;amp; 熱鍵設置簡介 &lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forum.gamer.com.tw/G2.php?bsn=05219&amp;amp;parent=7695&amp;amp;sn=8031&amp;amp;lorder=10&amp;amp;ptitle=%E3%80%90%E6%81%A2%E5%BE%A9%E5%A4%A9%E8%B3%A6%E3%80%91"&gt;sunamber提供的一套被打時保命的方法 &lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;continue ...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-303040150647724869?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/303040150647724869/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/12/wow-reference.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/303040150647724869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/303040150647724869'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/12/wow-reference.html' title='wow reference'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-987770814384677575</id><published>2009-12-14T22:52:00.006+08:00</published><updated>2009-12-14T23:01:44.045+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wow'/><title type='text'>wow ui &amp; marco</title><content type='html'>最近回鍋 wow, 紀錄一些使用到的 ui &amp;amp; marco.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;InterFace:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://bbs.game.mop.com/viewthread.php?tid=1644785&amp;amp;extra=&amp;amp;page=24"&gt;EasyTrinket &lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://wow.curse.com/downloads/wow-addons/details/skull-me.aspx"&gt;Skull Me&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.go-hero.net/opie/"&gt;OPie&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;br /&gt;Combat:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://wow.curse.com/downloads/wow-addons/details/heal-bot-continued.aspx"&gt;HealBot Continued &lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.wowace.com/addons/castyeller2/"&gt;CastYeller2 &lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://wow.curse.com/downloads/wow-addons/details/recount.aspx"&gt;Recount&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;br /&gt;Bag:&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://www.wowinterface.com/downloads/info13376-BaudBag3.1FanUpdate.html"&gt;Baud Bag (Fan Update)&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://wow.curseforge.com/addons/jpack/"&gt;JPack&lt;/a&gt; &lt;a href="http://code.google.com/p/wow-jpack/"&gt;&lt;span style="font-size:85%;"&gt;@googlecode&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;br /&gt;Skill:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://wow.curse.com/downloads/wow-addons/details/gathermate.aspx"&gt;GatherMate &lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://wow.curse.com/downloads/wow-addons/details/gathermate_data.aspx"&gt;GatherMate_Data&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;br /&gt;Map:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://www.wowinterface.com/downloads/info11178-InFlight.html"&gt;InFlight&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://wow.curse.com/downloads/wow-addons/details/flight-map.aspx"&gt;FlightMap&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;br /&gt;Chat:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://wow.curse.com/downloads/wow-addons/details/persistence-of-chattiness.aspx"&gt;Persistence of Chattiness &lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://wow.curse.com/downloads/wow-addons/details/chatter.aspx"&gt;Chatter&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;br /&gt;Sound:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://wow.curse.com/downloads/wow-addons/details/crit-sound-isler/download/311514.aspx"&gt;CritSound &lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://wow.curse.com/downloads/wow-addons/details/comix-the-return.aspx"&gt;Comix&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;br /&gt;UI PACK &amp;amp; web:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://bbs.game.mop.com/forumdisplay.php?fid=569&amp;amp;filter=type&amp;amp;typeid=241"&gt;mop&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.zone-28.com/bbs/forumdisplay.php?fid=136"&gt;zone-28&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.wowace.com/"&gt;WoWAce&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.wowinterface.com/"&gt;WoWInterFace&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://wow.curse.com/downloads/wow-addons/default.aspx"&gt;Curse&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://statue.dyndns.org/%7Eyoungway/"&gt;Youngway's Addons&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://sbsb.myweb.hinet.net/"&gt;SB UI&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;Marco:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;小D趕路用(順發技能).&lt;/li&gt; &lt;code class="prettyprint"&gt;#showtooltip [swimming] 水棲形態(變身); [flyable] 迅捷飛行形態(變身); [noswimming] 旅行形態(變身)&lt;br /&gt;/cancelform&lt;br /&gt;/cast [swimming] 水棲形態(變身); [flyable] 迅捷飛行形態(變身); [noswimming] 旅行形態(變身)&lt;br /&gt;&lt;/code&gt;&lt;li&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;continue ..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-987770814384677575?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/987770814384677575/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/wow-ui-marco.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/987770814384677575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/987770814384677575'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/wow-ui-marco.html' title='wow ui &amp; marco'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-8168668549185956311</id><published>2009-11-27T19:11:00.000+08:00</published><updated>2009-11-27T19:11:00.113+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>windows 7 image</title><content type='html'>try this: &lt;a href="http://www.google.com.tw/search?q=Windows+7%2CWinXP+SP3%2CNoName+XPE&amp;amp;as_qdr=all&amp;amp;btnG=%C3%A6%C2%90%C2%9C%C3%A5%C2%B0%C2%8B&amp;amp;hl=zh-TW&amp;amp;meta=&amp;amp;aq=f&amp;amp;oq="&gt;Windows 7,WinXP SP3,NoName XPE&lt;/a&gt; . ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-8168668549185956311?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/8168668549185956311/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/11/windows-7-image.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/8168668549185956311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/8168668549185956311'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/11/windows-7-image.html' title='windows 7 image'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-6896239671882084098</id><published>2009-11-12T20:04:00.004+08:00</published><updated>2009-11-12T20:11:51.409+08:00</updated><title type='text'>prism in ubuntu 9.04</title><content type='html'>&lt;a href="http://prism.mozilla.com/"&gt;prism&lt;/a&gt;, 一個輕量級的 web browser , 可以將 web service 當成 appaction 來用. 雖然有 firefox 的 plugin, 不過我在 ubuntu 9.04 &amp;amp; 9.10 下都無法正常運作, 必須透過以下方式來獨立安裝.&lt;br /&gt;&lt;code class="cmd"&gt;sudo apt-get install prism&lt;/code&gt;&lt;br /&gt;ref: &lt;a href="http://shibuvarkala.blogspot.com/2009/05/how-to-install-prism-in-ubuntu-904.html"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-6896239671882084098?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/6896239671882084098/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/11/prism-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6896239671882084098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6896239671882084098'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/11/prism-in-ubuntu-904.html' title='prism in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-7720076072304601162</id><published>2009-11-12T19:55:00.005+08:00</published><updated>2009-11-12T20:08:17.906+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>sun java jdk 6 in ubuntu 9.04</title><content type='html'>按照以下步驟安裝 Sun Java(TM) Development Kit (JDK) 6, 並設定為預設 java.&lt;br /&gt;&lt;code class="cmd"&gt;sudo apt-get install sun-java6-jdk&lt;br /&gt;update-java-alternatives -s java-6-sun&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;ref: &lt;a href="http://wiki.ubuntu.org.cn/index.php?title=UbuntuHelp:Java&amp;amp;variant=zh-hant"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-7720076072304601162?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/7720076072304601162/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/11/sun-java-jdk-6-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7720076072304601162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7720076072304601162'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/11/sun-java-jdk-6-in-ubuntu-904.html' title='sun java jdk 6 in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-2885280075504596580</id><published>2009-11-12T19:45:00.006+08:00</published><updated>2009-11-12T20:07:50.616+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='terminal'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>guake in ubuntu 9.04</title><content type='html'>&lt;a href="http://labs.alfaiati.net/guake/"&gt;guake&lt;/a&gt; , 一個 quake like 的 terminal, 只能說好用而已. 不過 9.04 apt soure 裡的版本(0.3.x), 設定 hotkey 有問題, 無法正常辨識 keyboard. 所以從 &lt;a href="http://www.getdeb.net/"&gt;getdeb.net&lt;/a&gt; 下載安裝.&lt;br /&gt;&lt;code class="cmd"&gt;wget http://old.getdeb.net/download/4288/0&lt;br /&gt;sudo dpkg -i guake_0.4.0-1~getdeb1_i386.deb&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-2885280075504596580?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/2885280075504596580/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/11/guake-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2885280075504596580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2885280075504596580'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/11/guake-in-ubuntu-904.html' title='guake in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-2427142533103898719</id><published>2009-10-29T20:15:00.004+08:00</published><updated>2009-10-29T20:31:09.463+08:00</updated><title type='text'>pps totem in ubuntu 9.04</title><content type='html'>在 ubuntu 9.04 裡收看 &lt;a href="http://www.pps.tv/"&gt;ppstream&lt;/a&gt; 的節目, 使用 &lt;a href="http://forum.ubuntu.org.cn/viewtopic.php?f=74&amp;amp;t=223582"&gt;pps totem&lt;/a&gt;, 一個對岸同胞寫的 totem plugin.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;加入 ppa 的 source list. &lt;code class="cmd"&gt;sudo echo '### pps totem&lt;br /&gt;deb http://ppa.launchpad.net/portis25/ppa/ubuntu karmic main&lt;br /&gt;deb-src http://ppa.launchpad.net/portis25/ppa/ubuntu karmic main' &gt;&gt; /etc/apt/sources.list &lt;/code&gt;&lt;/li&gt;&lt;li&gt;安裝. &lt;code class="cmd"&gt;sudo apt-get update&lt;br /&gt;sudo apt-get install totem-pps&lt;/code&gt;&lt;/li&gt;&lt;li&gt;啟動 totem 做以下設定: 選擇 "&lt;span style="font-weight: bold;"&gt;編輯(E)&lt;/span&gt; -&gt; &lt;span style="font-weight: bold;"&gt;外掛程式...&lt;/span&gt;", 勾選 "&lt;span style="font-weight: bold;"&gt;PPStream browser&lt;/span&gt;", 並按下 "&lt;span style="font-weight: bold;"&gt;設定(O)&lt;/span&gt;", 勾選 "&lt;span style="font-weight: bold;"&gt;Show Posters&lt;/span&gt;". &lt;/li&gt;&lt;li&gt;回到 totem 主畫面, 按下 &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;F9&lt;/span&gt;, 右上方的下拉式選單選擇 "&lt;span style="font-weight: bold;"&gt;PPStream&lt;/span&gt;", 開始收看吧 ;D&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-2427142533103898719?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/2427142533103898719/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/pps-totem-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2427142533103898719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2427142533103898719'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/pps-totem-in-ubuntu-904.html' title='pps totem in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-4583908425961944320</id><published>2009-10-21T19:53:00.006+08:00</published><updated>2009-10-21T20:06:55.348+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><title type='text'>cache disk in firefox</title><content type='html'>將 firefox 的 cache disk 指到 tmpfs(&lt;a href="http://marlboromoo.blogspot.com/2009/06/linux-tmpfs-tip.html"&gt;參考這篇&lt;/a&gt;), 增加 firefox 效能. 按照以下步驟設定:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;在 firefox 網址列輸入 &lt;code class="prettyprint"&gt;about:config&lt;/code&gt;&lt;/li&gt;&lt;li&gt;滑鼠右鍵 -&gt; 新增字串值 &lt;code class="prettyprint"&gt;browser.cache.disk.parent_directory&lt;/code&gt;內容填入 &lt;code class="prettyprint"&gt;/dev/shm/&lt;/code&gt;&lt;/li&gt;&lt;li&gt;重啟 firefox 便完成.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;ref: &lt;a href="http://plog.longwin.com.tw/news-application/2007/12/25/firefox_use_ramdisk_windows_linux_2007"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-4583908425961944320?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/4583908425961944320/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/cache-disk-in-firefox.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/4583908425961944320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/4583908425961944320'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/cache-disk-in-firefox.html' title='cache disk in firefox'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-4873859242073194225</id><published>2009-10-19T19:59:00.007+08:00</published><updated>2009-10-22T13:01:13.050+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>create cd/dvd iso in ubuntu 9.04</title><content type='html'>建立 iso 最簡單的方式單然是用 dd 啦, 不然用 cat 也可以! &lt;code class="cmd"&gt;dd if=/dev/cdrom of=/tmp/whatever.iso&lt;br /&gt;cat /dev/cdrom &gt; /tmp/whatever.iso&lt;/code&gt;&lt;br /&gt;不過今天看到有人說這些方法都不好, 因為沒有辦法即時驗證 or 修復檔案, 原文如下:&lt;br /&gt;&lt;blockquote&gt;Many like to use 'dd' for creating CD/DVD iso images. This is bad. Very&lt;br /&gt;bad. The reason this is, is 'dd' doesn't have any built-in error&lt;br /&gt;checking. So, you don't know if you got all the bits or not. As such, it&lt;br /&gt;is not the right tool for the job. Instead, 'reaom' (read optical media)&lt;br /&gt;from the wodim package is what you should be using. It has built-in&lt;br /&gt;error checking. Similarly, if you want to burn your newly creating ISO,&lt;br /&gt;stay away from 'dd', and use:&lt;br /&gt;wodim -v -eject /path/to/image.iso&lt;br /&gt;&lt;/blockquote&gt;那就按照以下步驟使用 readom 吧:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;取得 readom, 位於 wodim 套件裡. &lt;code class="cmd"&gt;sudo apt-get install wodim&lt;/code&gt;&lt;/li&gt;&lt;li&gt;確定 cd/dvd rom 的 device 沒有被 mount 起來. &lt;code class="cmd"&gt;umount /media/cdromX&lt;/code&gt;&lt;/li&gt;&lt;li&gt;建立 iso. &lt;code class="cmd"&gt;readom dev=/dev/cdrom f=/tmp/whatever.iso&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;ref: &lt;a href="http://tuxarena.blogspot.com/2009/03/4-ways-to-create-cddvd-iso-images-in.html"&gt;this&lt;/a&gt;, &lt;a href="http://www.commandlinefu.com/commands/view/1396/create-a-cddvd-iso-image-from-disk."&gt;this&lt;/a&gt; &amp;amp; &lt;a href="http://ulinux-note.blogspot.com/2008/09/iso.html"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-4873859242073194225?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/4873859242073194225/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/create-cddvd-iso-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/4873859242073194225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/4873859242073194225'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/create-cddvd-iso-in-ubuntu-904.html' title='create cd/dvd iso in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-6310288616500073966</id><published>2009-10-16T19:22:00.003+08:00</published><updated>2009-10-16T19:36:30.622+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>emesene in ubuntu 9.04</title><content type='html'>&lt;a href="http://www.emesene.org/"&gt;emesene&lt;/a&gt; 是在 ubuntu 裡可以取代 msn 的好 IM, 不過在 1.5 版之前有一個令人無法忍受的 bug, 在捲動聯絡人清單的時候很卡, 有時還會 hang 住 or 造成 cpu 的 loading, 不過 offical site 上面並沒有提供 9.04 的 deb 檔, 如果不想自己編譯 tarball, 就按照以下方法更新到 &lt;a href="https://launchpad.net/%7Ebjfs/+archive/ppa"&gt;B.J. Stobiecki&lt;/a&gt; 維護的1.5 Weekly SVN build 吧.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;新增 apt source list. &lt;code class="cmd"&gt;sudo echo '### emesene 1.5 from B.J. Stobiecki&lt;br /&gt;deb http://ppa.launchpad.net/bjfs/ppa/ubuntu jaunty main&lt;br /&gt;deb-src http://ppa.launchpad.net/bjfs/ppa/ubuntu jaunty main' &gt;&gt; /etc/apt/sources.list &lt;/code&gt;&lt;/li&gt;&lt;li&gt;安裝. &lt;code class="cmd"&gt;sudo apt-get update&lt;br /&gt;sudo apt-get install emesene&lt;/code&gt;&lt;/li&gt;&lt;li&gt;finish.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;ref: &lt;a href="http://nelson.pixnet.net/blog/post/24023964"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-6310288616500073966?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/6310288616500073966/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/emesene-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6310288616500073966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6310288616500073966'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/emesene-in-ubuntu-904.html' title='emesene in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-5378746853908724628</id><published>2009-10-15T19:49:00.018+08:00</published><updated>2009-10-16T13:48:11.468+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ssh tunnel'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='proxy'/><title type='text'>ssh tunnel with proxychains in ubuntu 9.04</title><content type='html'>如果想要讓所有的應用程式都使用 proxy or ssh tunnel, 可以透過使用 &lt;a href="http://proxychains.sourceforge.net/"&gt;proxychains&lt;/a&gt; 來達成, 目前支援 HTTP, SOCKS4 and SOCKS5 的 proxy servers(&lt;span style="color: rgb(255, 0, 0);"&gt;HTTP proxy server 在某些應用程式, 例如 curl 中會出現 "access denied" 的 error, 用 SOCKS4 &amp;amp; SOCKS5 則一切正常&lt;/span&gt;).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;安裝並使用 proxychains&lt;/span&gt;&lt;ol&gt;&lt;li&gt;使用 apt-get install 來安裝 proxychains &lt;code class="cmd"&gt;sudo apt-get install proxychains&lt;/code&gt;&lt;/li&gt;&lt;li&gt;編輯 proxychains 設定檔: /etc/proxychains.conf, 將其中的 chain 型態改為 dynamic_chain, 並於設定檔最下方加入你的 proxy server(可以有多個), 如果 proxy server 需要帳號密碼, 直接寫在 proxy server 後方, 並以空格分開.&lt;code class="cmd"&gt;sudo vi /etc/proxychains.conf&lt;/code&gt;設定檔範例如下:&lt;br /&gt;&lt;code class="prettyprint"&gt;...&lt;br /&gt;...&lt;br /&gt;dynamic_chain&lt;br /&gt;#strict_chain&lt;br /&gt;#random_chain&lt;br /&gt;...&lt;br /&gt;...&lt;br /&gt;http proxy.hinet.net 80&lt;br /&gt;http proxy.hack.net hack iamhack # username = hack , password= iamhack&lt;/code&gt;&lt;/li&gt;&lt;li&gt;以下列的方法啟動你的應用程式, 以 curl 為例.&lt;code class="cmd"&gt;proxychains firefox&lt;/code&gt;如果覺得每個程式要這樣啟動很麻煩, 也可以直接啟動一個 shell, 只要在這 shell 裡執行程式都可以使用 proxy.&lt;br /&gt;&lt;code class="cmd"&gt;proxychains bash&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;"&gt;讓應用程式使用 ssh tunnel&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;建立 ssh tunnel. &lt;code class="cmd"&gt;ssh -fND 6666 root@remote_host -p 80&lt;/code&gt;&lt;/li&gt;&lt;li&gt;將 ssh tunnel 加入 proxychains 的 proxy list 中. &lt;code class="cmd"&gt;echo 'socks4 127.0.0.1 6666' &gt;&gt; /etc/proxychains.conf&lt;/code&gt;&lt;/li&gt;&lt;li&gt;執行程式. &lt;code class="cmd"&gt;proxychains wget www.google.com.tw&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;ref: &lt;a href="http://sprayfly.com/2009/07/09/%E7%94%A8-tsocks-%E4%BD%BF-linux-%E4%B8%8B%E6%89%80%E6%9C%89%E8%BD%AF%E4%BB%B6%E8%83%BD%E5%A4%9F%E7%BF%BB%E5%A2%99/"&gt;this&lt;/a&gt;, &lt;a href="http://tctianchi.yo2.cn/articles/gvfs%E7%BF%BB%E5%A2%99.html"&gt;this&lt;/a&gt; &amp;amp; &lt;a href="http://proxychains.sourceforge.net/howto.html"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-5378746853908724628?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/5378746853908724628/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/ssh-tunnel-with-proxychains-in-ubuntu.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/5378746853908724628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/5378746853908724628'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/ssh-tunnel-with-proxychains-in-ubuntu.html' title='ssh tunnel with proxychains in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-6312218110676964935</id><published>2009-10-13T19:35:00.014+08:00</published><updated>2009-10-14T14:08:41.857+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ssh tunnel'/><title type='text'>ssh tunnel with openssh on linux box</title><content type='html'>在 linux 底下翻牆啦!&lt;br /&gt;&lt;ol&gt;&lt;li&gt;reverse tunnel: 從家中主機連回公司的主機, 或是 firewall 只有 allow 單向 ssh 的狀況, 由目的主機主動建立 ssh tunnel. &lt;code class="cmd"&gt;#. on destination server (office host or firewall allow host)&lt;br /&gt;ssh -fNR 9999:127.0.0.1:22 root@target_host -p 22&lt;br /&gt;#. on target server (home host or firewall deny host)&lt;br /&gt;ssh root@127.0.0.1 -p 9999&lt;/code&gt;&lt;/li&gt;&lt;li&gt;dynamic application-level port forwarding: 被鎖 port 了, 先在牆的另外一邊搞一個ssh service port 在 80 的主機, 只要應用程式能使用 proxy 並且支援 socks 的, 將 socks server 指向 127.0.0.1:9999, 都可以用這個 ssh tunnel 翻. &lt;code class="cmd"&gt;ssh -fND 9999 root@remote_host -p 80&lt;/code&gt;&lt;/li&gt;&lt;li&gt;combind 上述兩種 tunnel, 使被鎖 port 也無法上網的主機翻牆, 記得於應用程式內將 socks server 指向 127.0.0.1:8888, &lt;span style="color: rgb(255, 0, 0);"&gt;type 選擇 socks4&lt;/span&gt;.&lt;br /&gt;&lt;code class="cmd"&gt;#. on destination server (firewall allow host)&lt;br /&gt;ssh -fNR 9999:127.0.0.1:22 root@target_host -p 22&lt;br /&gt;#. on target server (firewall deny host)&lt;br /&gt;ssh -fND 8888 root@127.0.0.1 -p 9999&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;ref: &lt;a href="http://pank.org/blog/2009/04/ssh-tunnel--l--r.html"&gt;this&lt;/a&gt;, &lt;a href="http://fred-zone.blogspot.com/2009/10/ssh.html"&gt;this&lt;/a&gt;, &lt;a href="http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?viewmode=thread&amp;amp;topic_id=17538&amp;amp;forum=7&amp;amp;post_id=89909"&gt;this&lt;/a&gt; &amp;amp; &lt;a href="http://www.openssh.com/manual.html"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-6312218110676964935?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/6312218110676964935/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/ssh-tunnel-with-openssh.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6312218110676964935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6312218110676964935'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/ssh-tunnel-with-openssh.html' title='ssh tunnel with openssh on linux box'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-5488762862959221365</id><published>2009-10-08T21:08:00.007+08:00</published><updated>2009-10-19T10:39:03.167+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='coldfusion'/><category scheme='http://www.blogger.com/atom/ns#' term='decrypt'/><category scheme='http://www.blogger.com/atom/ns#' term='code'/><title type='text'>decrypt Coldfusion datasource passwords</title><content type='html'>&lt;a href="http://www.adobe.com/products/coldfusion/"&gt;coldfusion&lt;/a&gt; mx7 or mx8 中 data source(neo-query.xml)的 password, 是加密過的(&lt;a href="http://zh.wikipedia.org/wiki/Base64"&gt;base64&lt;/a&gt; &amp;amp; &lt;a href="http://www.slavasoft.com/quickcrypt/help-online/htmlpages/desede3overview.htm"&gt;des-ede3&lt;/a&gt;), 不過可以透過 &lt;a href="http://www.openssl.org/"&gt;openssl&lt;/a&gt; 來解密.&lt;br /&gt;&lt;code class="cmd"&gt;echo 'encrypted-passowrds-string' | openssl des-ede3 -a -d \&lt;br /&gt;-K 30794A21403124723870304C4072312436794A214031726A \&lt;br /&gt;-iv 30794A2140312472&lt;/code&gt;順手寫了一個小 &lt;a href="http://code.google.com/p/marlboromoo-tool/downloads/list"&gt;script&lt;/a&gt;, 用來 parser neo-query.xml 取出 data source name, jdbc, username, password.&lt;br /&gt;&lt;br /&gt;ref: &lt;a href="http://hexale.blogspot.com/2008/07/how-to-decrypt-coldfusion-datasource.html"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-5488762862959221365?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/5488762862959221365/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/decrypt-coldfusion-datasource-passwords.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/5488762862959221365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/5488762862959221365'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/decrypt-coldfusion-datasource-passwords.html' title='decrypt Coldfusion datasource passwords'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-1880350353305775023</id><published>2009-10-08T20:06:00.008+08:00</published><updated>2009-10-08T21:19:00.532+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='live cd'/><title type='text'>can't format or mount device with live cd</title><content type='html'>遇到一則奇怪的問題, 使用 live cd(&lt;a href="http://partedmagic.com/"&gt;parted magic&lt;/a&gt;,&lt;a href="http://www.knoppix.org/"&gt;knoppix&lt;/a&gt;)開機後, 可以對 device 做 fdisk, 但無法 format or mount, 會出先現 message: "&lt;b&gt;/dev/sdx is apparently in use by the system; will not make a filesystem here!&lt;/b&gt;", 疑似為 live cd 中 lvm 的 bug, 需要使用以下指令解決.&lt;br /&gt;&lt;code class="cmd"&gt;/sbin/dmsetup status # Outputs status information for each of the device's targets&lt;br /&gt;/sbin/dmsetup remove_all # remove all device definitions&lt;/code&gt;err.. 改天再來 debug 一下.&lt;br /&gt;&lt;br /&gt;ref: &lt;a href="http://trac.mondorescue.org/ticket/327"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-1880350353305775023?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/1880350353305775023/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/cant-format-mount-device-with-live-cd.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1880350353305775023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1880350353305775023'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/cant-format-mount-device-with-live-cd.html' title='can&apos;t format or mount device with live cd'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-2018501615157081707</id><published>2009-10-08T01:13:00.001+08:00</published><updated>2009-10-08T00:22:47.261+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python'/><title type='text'>SimpleHTTPServer with Python</title><content type='html'>如果需要提供臨時的 http service, 可以透過 Python 內建的 module: &lt;a href="http://docs.python.org/library/simplehttpserver.html"&gt;SimpleHTTPServer&lt;/a&gt; 來達成. python 真的很強大 ;) &lt;code class="cmd"&gt;mkdir -p /tmp/tmp-www-root/&lt;br /&gt;cd /tmp/tmp-www-root/&lt;br /&gt;echo 'hello world' &amp;gt; index.html&lt;br /&gt;python -m SimpleHTTPServer 80 # bind to port 80 &lt;/code&gt;如果要停止服務, 只要按下 ctrl+c 就可以了.&lt;br /&gt;&lt;br /&gt;ref: &lt;a href="http://wiki.ubuntu.org.cn/index.php?title=UbuntuSkills&amp;amp;variant=zh-hant#.E5.BF.AB.E9.80.9F.E4.BD.BF.E7.94.A8http.E6.96.B9.E5.BC.8F.E5.85.B1.E4.BA.AB.E7.9B.AE.E5.BD.95"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-2018501615157081707?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/2018501615157081707/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/simplehttpserver-with-python.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2018501615157081707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2018501615157081707'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/simplehttpserver-with-python.html' title='SimpleHTTPServer with Python'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-2394004830371646963</id><published>2009-10-08T00:29:00.001+08:00</published><updated>2009-10-08T00:30:24.245+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>compile source code in ubuntu 9.04</title><content type='html'>預設 ubuntu 是不會安裝一些 compile 用的 package &amp;amp; library, 需透過以下指令安裝.&lt;br /&gt;&lt;code class="cmd"&gt;sudo apt-get install build-essential&lt;/code&gt;&lt;br /&gt;ref: &lt;a href="http://www.jeffhung.net/blog/articles/jeffhung/1086/"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-2394004830371646963?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/2394004830371646963/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/compile-source-code-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2394004830371646963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2394004830371646963'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/compile-source-code-in-ubuntu-904.html' title='compile source code in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-5479165491303744461</id><published>2009-10-08T00:19:00.000+08:00</published><updated>2009-10-08T00:19:01.169+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Ubuntu Skills</title><content type='html'>只要你是使用 ubuntu, 就應該看看這份文件: &lt;a href="http://wiki.ubuntu.org.cn/index.php?title=UbuntuSkills"&gt;UbuntuSkills&lt;/a&gt;, 位於 &lt;a href="http://ubuntu.org.cn/"&gt;ubuntu.org.cn&lt;/a&gt; 的 &lt;a href="http://wiki.ubuntu.org.cn/"&gt;wiki&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-5479165491303744461?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/5479165491303744461/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/ubuntu-skills.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/5479165491303744461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/5479165491303744461'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/ubuntu-skills.html' title='Ubuntu Skills'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-3063496766749821460</id><published>2009-10-07T11:43:00.007+08:00</published><updated>2009-10-07T12:00:35.808+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='google app engine'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='proxy'/><title type='text'>GAppProxy in ubuntu 9.04</title><content type='html'>什麼是 &lt;a href="http://code.google.com/p/gappproxy/"&gt;GAppProxy&lt;/a&gt;? 一個開源的 HTTP Proxy 軟件, 使用Python編寫, 運行於 &lt;a href="http://code.google.com/appengine/"&gt;Google App Engine&lt;/a&gt; 上. 所以我們可以用 GAppProxy 來翻牆啊啊啊啊啊 !(咳咳, @ o f f i c e ?) 或是使用一些&lt;a href="http://internet.solidot.org/internet/09/10/05/146234.shtml"&gt;限定身處 USA 才能使用的 web service&lt;/a&gt;, let's go !&lt;br /&gt;&lt;ol&gt;&lt;li&gt;申請 &lt;a href="http://appengine.google.com/"&gt;Google App Engine&lt;/a&gt; 帳號.&lt;/li&gt;&lt;li&gt;安裝 Python. &lt;code class="cmd"&gt;sudo apt-get install python &lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://code.google.com/appengine/downolads.html"&gt;下載&lt;/a&gt;並解壓縮 Google App Engine SDK for Python 壓縮檔. &lt;code class="cmd"&gt;mkdir ~/gapp/ &amp;amp;&amp;amp; cd ~/gapp/&lt;br /&gt;wget http://googleappengine.googlecode.com/files/google_appengine_1.2.5.zip&lt;br /&gt;unzip google_appengine_1.2.5.zip&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://code.google.com/p/gappproxy/downolads/"&gt;下載&lt;/a&gt;並解壓縮 GAppProxy 原始碼, 可以使用 &lt;a href="http://gappproxy.googlecode.com/files/fetchserver-1.0.0beta-fix.tar.gz/"&gt; fetchserver-1.0.0beta-fix.tar.gz&lt;/a&gt; 或是 &lt;a href="http://code.google.com/p/gappproxy/source/list"&gt;svn 版本&lt;/a&gt; (r97 已可 fetch 大檔案 &amp;amp; 看 youtube). 按照下面步驟來抓取 svn 版本. &lt;code class="cmd"&gt;cd ~/gapp/&lt;br /&gt;svn checkout http://gappproxy.googlecode.com/svn/trunk/ gappproxy&lt;/code&gt;&lt;/li&gt;&lt;li&gt;編輯 ~/gapp/gappproxy/fetchServer/ 目錄下的 app.yaml(將application: 參數改為你的 Google App Engine 名稱, version: 隨你喜歡更改) 和 index.yaml (除第一行 indexes: 外, 確定其他行的行首都用 # 來 mark 起來) 設定檔, 內容如下:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;app.yaml&lt;/span&gt;&lt;br /&gt;&lt;code class="prettyprint"&gt;application: YOUR_APP_NAME&lt;br /&gt;version: 1&lt;br /&gt;runtime: python&lt;br /&gt;api_version: 1&lt;br /&gt;&lt;br /&gt;handlers:&lt;br /&gt;&lt;br /&gt;- url: /fetch.py&lt;br /&gt;script: fetch.py&lt;br /&gt;&lt;br /&gt;- url: /admin.py&lt;br /&gt;script: admin.py&lt;/code&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;index.yaml&lt;/span&gt;&lt;br /&gt;&lt;code class="prettyprint"&gt;indexes:&lt;br /&gt;&lt;br /&gt;# AUTOGENERATED&lt;br /&gt;&lt;br /&gt;# This index.yaml is automatically updated whenever the dev_appserver&lt;br /&gt;# detects that a new type of query is run.  If you want to manage the&lt;br /&gt;# index.yaml file manually, remove the above marker line (the line&lt;br /&gt;# saying "# AUTOGENERATED").  If you want to manage some indexes&lt;br /&gt;# manually, move them above the marker line.  The index.yaml file is&lt;br /&gt;# automatically upoladed to the admin console when you next depoly&lt;br /&gt;# your application using appcfg.py.&lt;br /&gt;&lt;br /&gt;# Unused in query history -- copied from input.&lt;br /&gt;#- kind: AccessDestination&lt;br /&gt;#  properties:&lt;br /&gt;#  - name: counter&lt;br /&gt;#    direction: desc&lt;br /&gt;&lt;br /&gt;# Unused in query history -- copied from input.&lt;br /&gt;#- kind: AccessFrom&lt;br /&gt;#  properties:&lt;br /&gt;#  - name: counter&lt;br /&gt;#    direction: desc&lt;/code&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;將 fetchserver 上傳到 Google App Engine, 按照以下步驟進行(過程中會要求你輸入 gamil 的帳號和密碼.): &lt;code class="cmd"&gt;cd ~/gapp/&lt;br /&gt;cp -r ./gappproxy/fetchServer/ ./google_appengine/&lt;br /&gt;cd ./google_appengine/&lt;br /&gt;appcfg.py update fetchserver&lt;/code&gt;&lt;/li&gt;&lt;li&gt;編輯 lolcalproxy 設定檔  ~/gapp/gappproxy/lolcalproxy/proxy.conf , 指向你位於 Google App Engine 上的 fetchserver, 內容如下: &lt;code class="prettyprint"&gt;# GAppProxy configuration&lt;br /&gt;&lt;br /&gt;# olcal_proxy&lt;br /&gt;#olcal_proxy = host:port&lt;br /&gt;#&lt;br /&gt;# If olcal proxy needs authentication:&lt;br /&gt;#olcal_proxy = user:passwd@host:port&lt;br /&gt;&lt;br /&gt;# fetch server&lt;br /&gt;#fetch_server = http://127.0.0.1:8080/fetch.py&lt;br /&gt;fetch_server = http://YOUR_APP_NAME.appspot.com/fetch.py&lt;br /&gt;#fetch_server = http://fetchserver-noolg.appspot.com/fetch.py&lt;/code&gt;&lt;/li&gt;&lt;li&gt;啟動 lolcalproxy service, 按照以下指令進行: &lt;code class="cmd"&gt;~/gapp/gappproxy/lolcalproxy/proxy.py&lt;/code&gt;&lt;/li&gt;&lt;li&gt;設定你的 web browser 指向 lolcalproxy(127.0.0.1:8000), firefox 可以使用 &lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/2464"&gt;FoxyProxy&lt;/a&gt; 來方便切換. &lt;/li&gt;&lt;li&gt;Enjoy it ;)&lt;/li&gt;&lt;/ol&gt;ref &lt;a href="http://groups.google.com/group/gappproxy/browse_thread/thread/3d0ad3dd6331311"&gt;this&lt;/a&gt;, &lt;a href="http://imtx.cn/archives/1121.html"&gt;this&lt;/a&gt;, &lt;a href="http://my-net.cc/weblog/post/239/"&gt;this&lt;/a&gt; and &lt;a href="http://emmune.appspot.com/2009/06/5/error400.html"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-3063496766749821460?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/3063496766749821460/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/gappproxy-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/3063496766749821460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/3063496766749821460'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/gappproxy-in-ubuntu-904.html' title='GAppProxy in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-3106240495441226244</id><published>2009-10-05T22:22:00.001+08:00</published><updated>2009-10-05T22:23:22.877+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>slowly ssh in ubuntu 9.04</title><content type='html'>使用以下設定來解決在 ubuntu 9.04 中, ssh 到遠端主機登入畫面緩慢出現的狀況.&lt;br /&gt;&lt;code class="cmd"&gt;echo "GSSAPIAuthentication no" &gt;&gt; ~/.ssh/config&lt;/code&gt;&lt;br /&gt;ref: &lt;a href="http://li2z.cn/2008/06/27/ssh_slow/"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-3106240495441226244?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/3106240495441226244/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/slowly-ssh-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/3106240495441226244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/3106240495441226244'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/slowly-ssh-in-ubuntu-904.html' title='slowly ssh in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-5139565648968017286</id><published>2009-10-04T20:40:00.002+08:00</published><updated>2009-10-05T14:07:41.852+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='linux hack'/><title type='text'>book of linux's hack</title><content type='html'>幾本不錯的 linux hack &amp;amp; tip 的參考書, 要找個時間看完.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Linux 101 Hacks (&lt;a href="http://www.thegeekstuff.com/2009/02/linux-101-hacks-download-free-ebook/"&gt;preview&lt;/a&gt;, &lt;a href="http://www.thegeekstuff.com/book/download.php?f=Linux-101-Hacks.pdf"&gt;download&lt;/a&gt;)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Linux server hacks (&lt;a href="http://oreilly.com/catalog/9780596004613/preview"&gt;preview&lt;/a&gt;, &lt;a href="http://rapidlibrary.com/index.php?q=linux+server+hacks+2003&amp;amp;filetype=0"&gt;download&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;Linux server hacks, Volume 2 (&lt;a href="http://oreilly.com/catalog/9780596100827/preview"&gt;preview&lt;/a&gt;, &lt;a href="http://rapidlibrary.com/index.php?q=linux+server+hacks+2005&amp;amp;filetype=0"&gt;download&lt;/a&gt;)&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-5139565648968017286?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/5139565648968017286/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/book-of-linuxs-hack.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/5139565648968017286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/5139565648968017286'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/book-of-linuxs-hack.html' title='book of linux&apos;s hack'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-9205151422387229163</id><published>2009-10-04T12:58:00.005+08:00</published><updated>2009-10-04T20:27:49.704+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='game'/><title type='text'>world of warcraft in ubuntu 9.04 #2</title><content type='html'>幾個小 tip:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;手動建立 WOW 的 icon, 按照以下步驟執行後, 可以在 "應用程式 -&amp;gt; 遊戲" 找到名為 World of Warcraft 的圖示. &lt;code class="cmd"&gt;wget http://kde-files.org/CONTENT/content-files/41569-wow-icon-scalable.svg&lt;br /&gt;sudo mv 41569-wow-icon-scalable.svg /usr/share/icons/&lt;br /&gt;echo '[Desktop Entry]&lt;br /&gt;Encoding=UTF-8&lt;br /&gt;Name=World of Warcraft&lt;br /&gt;Name[hr]=World of Warcraft&lt;br /&gt;Exec=wine "C:\Program Files\World of Warcraft\Launcher.exe" --opengl&lt;br /&gt;Icon=41569-wow-icon-scalable.svg&lt;br /&gt;Terminal=false&lt;br /&gt;Type=Application&lt;br /&gt;Categories=Application;Game;&lt;br /&gt;StartupNotify=false' &amp;gt; /usr/share/applications/wow.desktop&lt;/code&gt;&lt;/li&gt;&lt;li&gt;可以手動調整 wine 的解析度, 於 wow 中選擇. 執行以下指令啟動 WINE 控制台. &lt;code class="cmd"&gt;winecfg&lt;/code&gt;切換到"&lt;span style="font-weight: bold;"&gt;顯示&lt;/span&gt;"的分頁,"&lt;span style="font-weight: bold;"&gt;視窗設定&lt;/span&gt;"的部份：勾選"&lt;span style="font-weight: bold;"&gt;允許視窗管理器裝飾視窗&lt;/span&gt;", "&lt;span style="font-weight: bold;"&gt;允許視窗管理器控制視窗&lt;/span&gt;", "&lt;span style="font-weight: bold;"&gt;模擬一個虛擬桌面&lt;/span&gt;", 桌面大小填入適合你的解析度.(以 1280x1024 解析度, 填入 &lt;span style="color: rgb(255, 0, 0);"&gt;1280x950&lt;/span&gt; 較適合, 1280x840, 則填入 &lt;span style="color: rgb(255, 0, 0);"&gt;1280x730&lt;/span&gt;).&lt;/li&gt;&lt;li&gt;如果遊戲中出現人物不停搖屁股, 或是控制方向不聽使喚的情況, 請做此設定:&lt;br /&gt;"系統 -&gt; 偏好設定 -&gt; 鍵盤 -&gt; 自動重複按鍵", 取消勾選"&lt;span style="font-weight: bold;"&gt;當按下按鍵不放時重複輸出該字元&lt;/span&gt;".(目前已知為 xorg 的 &lt;a href="http://cgit.freedesktop.org/xorg/xserver/commit/?id=bfb219f532f3c78ba905424365ee7c5f7b5f21a2"&gt;bug&lt;/a&gt;)&lt;/li&gt;&lt;/ol&gt;ref: &lt;a href="http://metamuse.blogspot.com/2007/04/ubuntu-704-wow-world-of-warcraft.html"&gt;this&lt;/a&gt;, &lt;a href="http://gameshogun.ws/libregame/how-to-play-world-of-warcraft-on-ubuntu-linux-smoothly?page=2"&gt;this&lt;/a&gt;, this, &lt;a href="http://ubuntuforums.org/showthread.php?t=1146254"&gt;this&lt;/a&gt; and &lt;a href="http://bugs.winehq.org/show_bug.cgi?id=18296"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-9205151422387229163?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/9205151422387229163/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/world-of-warcraft-in-ubuntu-904-2.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/9205151422387229163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/9205151422387229163'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/10/world-of-warcraft-in-ubuntu-904-2.html' title='world of warcraft in ubuntu 9.04 #2'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-457221386460005053</id><published>2009-09-30T22:18:00.011+08:00</published><updated>2009-10-03T11:28:44.291+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='game'/><title type='text'>world of warcraft in ubuntu 9.04 #1</title><content type='html'>自從烏妖王阿薩司出現不久後, 就 quit WOW 了. 不過最近手癢又想重回愛澤拉斯去晃晃, 提外話. 在 ubuntu 下要安裝 WOW 目前的最佳選擇應該是使用 &lt;a href="http://www.winehq.org/"&gt;WINE&lt;/a&gt; . 按照以下步驟來安裝:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;確認顯示卡是否支援:&lt;/span&gt;&lt;br /&gt;&lt;code class="cmd"&gt;glxinfo | grep rendering&lt;/code&gt;出現以下訊息就 ok 了, 如果不是, 請確定你已經正確的安裝了顯示卡驅動程式.&lt;br /&gt;&lt;code class="prettyprint"&gt;direct rendering: Yes&lt;/code&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;安裝並設定 WINE:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;安裝 WINE,  使用 &lt;a href="http://marlboromoo.blogspot.com/2009/05/ubuntu-tweak-in-ubuntu-904.html"&gt;Ubuntu Tweak&lt;/a&gt;(my option) or 按照以下步驟安裝. &lt;code class="cmd"&gt;wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | \&lt;br /&gt;sudo apt-key add -&lt;br /&gt;sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/jaunty.list \&lt;br /&gt;-O /etc/apt/sources.list.d/winehq.list&lt;br /&gt;sudo apt-get update&lt;br /&gt;sudo apt-get install wine&lt;/code&gt;&lt;/li&gt;&lt;li&gt;調整 WINE 的參數以符合 WOW 的運行環境, 執行以下指令啟動 WINE 控制台. &lt;code class="cmd"&gt;winecfg&lt;/code&gt;&lt;/li&gt;&lt;li&gt;切換到"&lt;span style="font-weight: bold;"&gt;應用程式&lt;/span&gt;"的分頁, "&lt;span style="font-weight: bold;"&gt;Windows 版本&lt;/span&gt;"選擇"&lt;span style="color: rgb(255, 0, 0);"&gt;Windows 2000&lt;/span&gt;".&lt;/li&gt;&lt;li&gt;切換到"&lt;span style="font-weight: bold;"&gt;顯示&lt;/span&gt;"的分頁,&lt;br /&gt;"&lt;span style="font-weight: bold;"&gt;視窗設定&lt;/span&gt;"的部份：除了"&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;允許視窗管理器控制視窗&lt;/span&gt;"之外其餘不勾選.&lt;br /&gt;"&lt;span style="font-weight: bold;"&gt;Direct 3D&lt;/span&gt;"的部份:"&lt;span style="font-weight: bold;"&gt;Vertex Shader 支援&lt;/span&gt;"選擇"&lt;span style="color: rgb(255, 0, 0);"&gt;硬體&lt;/span&gt;"&lt;/li&gt;&lt;li&gt;切換到"&lt;span style="font-weight: bold;"&gt;音效&lt;/span&gt;"的分頁,&lt;br /&gt;"&lt;span style="font-weight: bold;"&gt;音效驅動程式&lt;/span&gt;"的部份:只勾選"&lt;span style="color: rgb(255, 0, 0);"&gt;ALSA驅動&lt;/span&gt;" (如果不行, 試試看 &lt;span style="color: rgb(255, 0, 0);"&gt;OSS驅動&lt;/span&gt; )&lt;br /&gt;"&lt;span style="font-weight: bold;"&gt;Direct Sound&lt;/span&gt;"的部份:"&lt;span style="font-weight: bold;"&gt;硬體加速&lt;/span&gt;"選擇"&lt;span style="color: rgb(255, 0, 0);"&gt;完全&lt;/span&gt;".&lt;/li&gt;&lt;li&gt;使用以下指令啟動 regedit: &lt;code class="cmd"&gt;wine regedit&lt;/code&gt;&lt;/li&gt;&lt;li&gt;於 HKEY_CURRENT_USER -&amp;gt; Software -&amp;gt; Wine 機碼右鍵選擇 新建 -&amp;gt; 關鍵詞, 名稱填入 "&lt;span style="color: rgb(255, 0, 0);"&gt;OpenGL&lt;/span&gt;", 於 HKEY_CURRENT_USER -&amp;gt; Software -&amp;gt; Wine -&amp;gt; OpenGL 機碼右鍵選擇 新建 -&amp;gt; 字符串值, 名稱填入 "&lt;span style="color: rgb(255, 0, 0);"&gt;DisabledExtensions&lt;/span&gt;", 內容填入 "&lt;span style="color: rgb(255, 0, 0);"&gt;GL_ARB_vertex_buffer_object&lt;/span&gt;".&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;安裝並設定 WOW:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;取得安裝程式, 去7-11買(my option) or 從&lt;a href="http://www.wowtaiwan.com.tw/"&gt;官網&lt;/a&gt;下載.&lt;/li&gt;&lt;li&gt;(從官網下載安裝程式請跳過此步驟.) 將安裝光碟中的檔案複製到系統中以方便日後安裝 &lt;code class="cmd"&gt;sudo umount /dev/cdrom&lt;br /&gt;sudo mount -t udf -o ro,unhide,uid=1000 /dev/cdrom /media/cdrom0&lt;br /&gt;mkdir -p ~/wow-iso/&lt;br /&gt;sudo cp -ra /media/cdrom0/* ~/wow-iso/&lt;br /&gt;chmod -R 777 ~/wow-iso/&lt;br /&gt;cd ~/wow-iso/&lt;/code&gt;&lt;/li&gt;&lt;li&gt;使用 WINE 開始安裝, 不要傻傻的等, 去撒尿 + 拉屎 + 洗澡之後, 應該就好了. &lt;code class="cmd"&gt;wine ./Installer.exe&lt;/code&gt;&lt;/li&gt;&lt;li&gt;接著安裝程式應該會自動啟動 Launcher.exe 並準備開始更新, 第一次執行的時候有機會 hang 住 or error(我有遇到), 使用以下指令來重新啟動. &lt;code class="cmd"&gt;wine "C:\Program Files\World of Warcraft\Launcher.exe" --opengl&lt;/code&gt;&lt;/li&gt;&lt;li&gt;看完一份頻果日報應該就更新完畢了 ;) 關閉 Launcher.exe, 並新增設定值至 WOW 安裝目錄下的 *.wtf 檔案之中. &lt;code class="cmd"&gt;cd "~/.wine/drive_c/Program\ Files/World of Warcraft/WTF/"&lt;br /&gt;for this_config in *.wtf&lt;br /&gt;do&lt;br /&gt;echo 'SET gxApi "opengl"&lt;br /&gt;SET ffxDeath "0"&lt;br /&gt;SET ffxGlow "0"&lt;br /&gt;SET ffxNetherWorld "0"&lt;br /&gt;SET MasterSoundEffects "0"&lt;br /&gt;SET SoundBufferSize "150"&lt;br /&gt;SET SoundOutputSystem "1"' &amp;gt;&amp;gt; $this_config&lt;br /&gt;done&lt;/code&gt;&lt;/li&gt;&lt;li&gt;啟動遊戲吧!! "應用程式 -&amp;gt; Wine -&amp;gt; Programs -&amp;gt; 魔獸世界 -&amp;gt; 魔獸世界" or 使用以下指令來執行: &lt;code class="cmd"&gt;wine "C:\Program Files\World of Warcraft\WoW.exe"&lt;/code&gt; &lt;/li&gt;&lt;/ol&gt;ref: &lt;a href="http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?topic_id=1999&amp;amp;viewmode=flat&amp;amp;order=ASC&amp;amp;type=&amp;amp;mode=0&amp;amp;start=0"&gt;this&lt;/a&gt;, &lt;a href="http://metamuse.blogspot.com/2007/04/ubuntu-704-wow-world-of-warcraft.html"&gt;this&lt;/a&gt;, &lt;a href="http://forums.wow-europe.com/thread.html?topicId=8611091191&amp;amp;sid=1"&gt;this&lt;/a&gt;, &lt;a href="http://www.wowwiki.com/Linux/Wine"&gt;this&lt;/a&gt;, and &lt;a href="http://gameshogun.ws/libregame/how-to-play-world-of-warcraft-on-ubuntu-linux-smoothly?page=2"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-457221386460005053?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/457221386460005053/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/09/world-of-warcraft-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/457221386460005053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/457221386460005053'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/09/world-of-warcraft-in-ubuntu-904.html' title='world of warcraft in ubuntu 9.04 #1'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-2459301258015891307</id><published>2009-09-30T19:39:00.004+08:00</published><updated>2009-10-03T10:35:33.742+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>gcin icons in ubuntu 9.04</title><content type='html'>default 的 gcin's icons .. err. 按照下面的步驟來更換.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;到 gcin 的 &lt;a href="http://hyperrate.com/thread.php?tid=14079#14079"&gt;forum&lt;/a&gt; 來選擇喜歡的 set 下載.&lt;code class="cmd"&gt;wget http://hyperrate.com/topic-files-dir/19/919-RP_Q4q6fnw/gcin_icons-20080229.tar.gz&lt;/code&gt;&lt;/li&gt;&lt;li&gt;解壓縮檔案, 並將尬意的 set 中 *.png 檔案(我喜歡那圓滾滾的貓咪)置放於 ~/.gcin/icons/ 目錄下方. &lt;code class="cmd"&gt;tar zxvf ./gcin_icons-20080229.tar.gz&lt;br /&gt;mkdir -p  ~/.gcin/icons/&lt;br /&gt;cp -r ./gcin_icons-20080229/catjiji/*  ~/.gcin/icons/&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;重起 gcin 的服務. &lt;code class="cmd"&gt;killall -9 gcin &amp;amp;&amp;amp; gcin &amp;amp;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Done.&lt;/li&gt;&lt;/ol&gt;ref: &lt;a href="http://hyperrate.com/thread.php?tid=14079#14079"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-2459301258015891307?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/2459301258015891307/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/09/gcin-icons-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2459301258015891307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2459301258015891307'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/09/gcin-icons-in-ubuntu-904.html' title='gcin icons in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-1730612799660622860</id><published>2009-09-10T22:44:00.001+08:00</published><updated>2009-09-10T22:45:47.966+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><title type='text'>MySQL backup tool and reference</title><content type='html'>一些目前找到功能性比較完整且好用的 open source 備份工具:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://www.percona.com/docs/wiki/percona-xtrabackup:start"&gt;percona-xtrabackup&lt;/a&gt; : &lt;a href="http://www.percona.com/mysql/xtrabackup/"&gt;download&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.zmanda.com/backup-mysql.html"&gt;Zmanda Recovery Manager for MySQL&lt;/a&gt; : &lt;a href="http://www.zmanda.com/download-zrm.php"&gt;download&lt;/a&gt; &lt;/li&gt;&lt;/ol&gt;教學和參考:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://www.mysqlperformanceblog.com/2009/05/07/btw-xtrabackup-is-not-only-backup/"&gt;Btw xtrabackup is not only backup..&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://blog.gslin.org/archives/2009/07/04/2054/"&gt;innobackupex&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://blog.chinaunix.net/u/25264/showart_1979755.html"&gt;使用 Xtrabackup 在線備份 innodb 數據庫&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.wenzizone.cn/?p=230"&gt;ZRM for MySQL學習筆記01[技術]&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.wenzizone.cn/?p=237"&gt;ZRM for MySQL備份遠程mysql數據庫[技術]&lt;/a&gt;  &lt;/li&gt;&lt;/ol&gt;單純使用 mysqldump 來備份:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://www.study-area.org/tips/mysql_backup.htm"&gt;MySQL簡易備份方法 &lt;/a&gt; &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-1730612799660622860?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/1730612799660622860/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/09/mysql-backup-tool-and-reference.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1730612799660622860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1730612799660622860'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/09/mysql-backup-tool-and-reference.html' title='MySQL backup tool and reference'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-5123693666640865796</id><published>2009-09-10T22:26:00.000+08:00</published><updated>2009-09-10T22:26:03.021+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><title type='text'>MySQL Conference &amp; Expo 2009 Topics list</title><content type='html'>MySQL Conference &amp;amp; Expo 2009 一些個人覺得不錯的 topics.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://www.mysqlconf.com/mysql2009/public/schedule/detail/6873"&gt;Replication Tutorial&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.mysqlconf.com/mysql2009/public/schedule/detail/6881"&gt;Replication Tricks &amp;amp; Tips&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.mysqlconf.com/mysql2009/public/schedule/detail/6661"&gt;Mastering the Art of Indexing&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.mysqlconf.com/mysql2009/public/schedule/detail/5677"&gt;Make Your Life Easier with Maatkit&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;/ol&gt;ref: &lt;a href="http://blog.gslin.org/archives/2009/04/25/2004/"&gt;this&lt;/a&gt; &amp;amp; &lt;a href="http://www.mysqlconf.com/mysql2009/public/schedule/grid"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-5123693666640865796?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/5123693666640865796/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/09/mysql-conference-expo-2009-topics-list.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/5123693666640865796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/5123693666640865796'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/09/mysql-conference-expo-2009-topics-list.html' title='MySQL Conference &amp; Expo 2009 Topics list'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-577622859536373669</id><published>2009-08-26T20:59:00.007+08:00</published><updated>2009-08-26T21:08:47.355+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux tip'/><title type='text'>epoch(unix timestamp) convert in linux</title><content type='html'>在 linux 計算時間, 通常的作法都是先把時間轉換成 epoch aka unix timestamp(從1970年1月1日0時0分0秒到目前時間的秒數), 再來做計算, 下方為 epoch 的轉換方式.&lt;br /&gt;&lt;code class="prettyprint"&gt;### Convert from human readable date to epoch&lt;br /&gt;date +%s -d "Jan 1, 1980 00:00:01"&lt;br /&gt;### Convert from epoch to human readable date&lt;br /&gt;date -d @1190000000&lt;/code&gt;ref: &lt;a href="http://www.epochconverter.com/"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-577622859536373669?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/577622859536373669/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/08/epochunix-timestamp-convert-in-linux.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/577622859536373669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/577622859536373669'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/08/epochunix-timestamp-convert-in-linux.html' title='epoch(unix timestamp) convert in linux'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-6760730201213241402</id><published>2009-08-26T20:47:00.001+08:00</published><updated>2009-08-26T21:05:57.687+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>7zip in ubuntu 9.04</title><content type='html'>在 ubuntu 9.04 裡要使用 7zip, 需要額外安裝套件, 參考以下步驟安裝.&lt;br /&gt;&lt;code class="cmd"&gt;sudo apt-get install p7zip-full&lt;/code&gt;ref: &lt;a href="http://plog.longwin.com.tw/news-application/2008/02/20/debian_ubuntu_linux_7zip_2008"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-6760730201213241402?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/6760730201213241402/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/08/7zip-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6760730201213241402'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6760730201213241402'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/08/7zip-in-ubuntu-904.html' title='7zip in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-5743999948099688683</id><published>2009-08-20T21:02:00.002+08:00</published><updated>2009-08-20T21:03:48.923+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='firefox extension'/><title type='text'>firefox greasemonkey script list</title><content type='html'>目前使用的 Greasemonkey 的 script list, 做個備忘.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;google:&lt;/b&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;strike&gt;&lt;a href="http://userscripts.org/scripts/show/9310"&gt;GoogleMonkeyR&lt;br /&gt;&lt;/a&gt;&lt;/strike&gt;&lt;/li&gt;&lt;li&gt;&lt;strike&gt;&lt;a href="http://userscripts.org/scripts/show/31950"&gt;Google Fx&lt;/a&gt;&lt;/strike&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://userscripts.org/scripts/show/38800"&gt;Google Date Keeper&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://userscripts.org/scripts/show/52119"&gt;Colorful Search&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://userscripts.org/scripts/show/10299"&gt;Multi-Column View of Google Search Results&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://userscripts.org/scripts/show/30925"&gt;Google Language Code Changer&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://userscripts.org/scripts/show/54078"&gt;Google Pirate v2&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;strike&gt;&lt;a href="http://userstyles.org/styles/10269"&gt;Clean Google Reader &lt;/a&gt;&lt;/strike&gt;(instead by &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/6424"&gt;Better GReader&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;&lt;strike&gt;&lt;a href="http://userscripts.org/scripts/show/38631"&gt;Power Google Reader&lt;/a&gt;&lt;/strike&gt;(instead by &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/6424"&gt;Better GReader&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;&lt;strike&gt;&lt;a href="http://userscripts.org/scripts/show/8782"&gt;Google Reader - Colorful List View&lt;/a&gt;&lt;/strike&gt;(instead by &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/6424"&gt;Better GReader&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;&lt;strike&gt;&lt;a href="http://userscripts.org/scripts/show/24371"&gt;Favicons for Google Reader&lt;/a&gt;&lt;/strike&gt;(instead by &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/6424"&gt;Better GReader&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;&lt;strike&gt;&lt;a href="http://userscripts.org/scripts/show/9455"&gt;Google Reader Preview Enhanced&lt;/a&gt;&lt;/strike&gt;(instead by &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/6424"&gt;Better GReader&lt;/a&gt;)&lt;/li&gt;&lt;/ol&gt;&lt;b&gt;plurk:&lt;/b&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://userscripts.org/scripts/show/45523"&gt;Plurk Time Jumper&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://userscripts.org/scripts/show/39186"&gt;RePlurk&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://userscripts.org/scripts/show/28806"&gt;Plurk Rich Edit&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;strike&gt;&lt;a href="http://userscripts.org/scripts/show/32525"&gt;Simulate Ajax comment in plurk mobile version&lt;/a&gt;&lt;/strike&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://blog.dg-space.com/article.asp?id=417"&gt;PlurkMobile Impress&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://userstyles.org/styles/10269"&gt;Plurk Mobile Small Fonts&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-5743999948099688683?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/5743999948099688683/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/08/firefox-greasemonkey-script-list.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/5743999948099688683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/5743999948099688683'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/08/firefox-greasemonkey-script-list.html' title='firefox greasemonkey script list'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-6466434953141528913</id><published>2009-08-18T20:24:00.003+08:00</published><updated>2009-08-18T21:07:36.141+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>language support in ubuntu</title><content type='html'>按照以下步驟新增語系支援.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;編輯 /var/lib/locales/supported.d/local 設定檔&lt;br /&gt;&lt;code class="cmd"&gt;sudo vi /var/lib/locales/supported.d/local&lt;/code&gt;將欲支援的語系加入檔案中, 以下以簡體中文為例.&lt;br /&gt;&lt;code class="prettyprint"&gt;zh_CN.GBK GBK&lt;br /&gt;zh_CN.GB2312 GB2312&lt;/code&gt;&lt;/li&gt;&lt;li&gt;執行以下指令來強制生效.&lt;br /&gt;&lt;code class="cmd"&gt;sudo dpkg-reconfigure --force locales&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;ref: &lt;a href="http://www.oklinux.cn/html/Basic/jyjq/20080310/49023.html"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-6466434953141528913?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/6466434953141528913/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/08/language-support-in-ubuntu.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6466434953141528913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6466434953141528913'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/08/language-support-in-ubuntu.html' title='language support in ubuntu'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-2546125465873004644</id><published>2009-08-18T20:01:00.011+08:00</published><updated>2009-08-26T21:07:18.764+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux tip'/><title type='text'>language support in centos</title><content type='html'>於 centos(rhel) 安裝過程中沒有於 "新增語系支援" 的步驟中選擇某一語系, 而之後想要使用時, 按照以下步驟設定:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;檢查系統有無支援該語系, 如有支援參考下一步做修改.&lt;br /&gt;&lt;code class="cmd"&gt;locale -a&lt;/code&gt;&lt;/li&gt;&lt;li&gt;修改 /etc/sysconfig/i18n 的設定, 以下內容為簡繁中文並存, 將預設語系設定為繁體中文.&lt;br /&gt;&lt;code class="prettyprint"&gt;LANG="zh_TW.UTF-8" SUPPORTED="zh_TW.UTF-8:zh_TW:zh: zh_CN.utf8:zh_CN: zh:en_US.UTF-8:en_US:en" SYSFONT="latarcyrheb-sun16"&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;p.s 目前還沒有找到 locale -a 未支援語系的新增方法 8-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-2546125465873004644?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/2546125465873004644/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/08/chinese-lang-in-centos.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2546125465873004644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2546125465873004644'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/08/chinese-lang-in-centos.html' title='language support in centos'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-1766125627172670341</id><published>2009-08-07T15:00:00.003+08:00</published><updated>2009-08-07T15:03:55.713+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='plurk'/><category scheme='http://www.blogger.com/atom/ns#' term='command-line'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><title type='text'>convert unicode chartset to utf8 in CLI</title><content type='html'>因為從 plurk 的 &lt;a href="http://www.plurk.com/TimeLine/getPlurks?user_id=881577"&gt;getPlurks&lt;/a&gt; 接回來的資料被轉成 unicode 了,所以使用以下方法轉回 utf8.&lt;br /&gt;&lt;code class="cmd"&gt;echo "\u6c49\u5b57" | \&lt;br /&gt;sed 's/\\u\(..\)\(..\)/\\x\2\\x\1/g' | \&lt;br /&gt;sed 's/.*/\"\\xff\\xfe&amp;amp;\"/g' | \&lt;br /&gt;xargs printf | iconv -f utf-16 -t utf-8&lt;br /&gt;&lt;/code&gt;ref: &lt;a href="http://hi.baidu.com/5p2o5pio5p2w/blog/item/a5f09bb5304917c837d3ca12.html"&gt;this&lt;/a&gt; &amp;amp; &lt;a href="http://mfhsieh.blogspot.com/2005/03/pda-zaurus-c760-35-utf-8-and-bom.html"&gt;this&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-1766125627172670341?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/1766125627172670341/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/08/convert-unicode-chartset-to-utf8-in-cli.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1766125627172670341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1766125627172670341'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/08/convert-unicode-chartset-to-utf8-in-cli.html' title='convert unicode chartset to utf8 in CLI'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-1235983223543900539</id><published>2009-08-04T22:42:00.003+08:00</published><updated>2009-08-07T15:05:42.241+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='social network'/><category scheme='http://www.blogger.com/atom/ns#' term='facebook'/><title type='text'>facebook &amp; facebook &amp; facebook</title><content type='html'>不免俗的也來 &lt;a href="http://www.facebook.com/"&gt;facebook&lt;/a&gt; 一下, 不知不覺就被消磨了一大把的時間, 真的是黏著力很強的社交網站, 而且上面的 application 不但互相 cover, 還很A錢又無腦, 真的是&lt;span style="font-weight: bold;"&gt;***太邪惡太囂張了***&lt;/span&gt;！！！列出目前覺有趣又不用花太多時間的遊戲:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://apps.facebook.com/restaurantcity/"&gt;Restaurant City&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://apps.facebook.com/countrystory/%20"&gt;Country Story &lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://apps.facebook.com/virtualcity/"&gt;MyCity&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://apps.facebook.com/killandrun/"&gt;大逃殺&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;既 &lt;a href="http://www.plurk.com/"&gt;plurk&lt;/a&gt; 之後, 又多了一個制約我人生的東西.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-1235983223543900539?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/1235983223543900539/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/08/facebook-facebook-facebook.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1235983223543900539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1235983223543900539'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/08/facebook-facebook-facebook.html' title='facebook &amp; facebook &amp; facebook'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-9178777815213269544</id><published>2009-08-04T22:17:00.003+08:00</published><updated>2009-08-04T22:19:47.752+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='editor'/><title type='text'>vim hang with huge line</title><content type='html'>使用 vim 編輯減肥過的 xml(or java script .. etc), 就是那種原本幾百行濃縮成一行的檔案, vim 總是不聽使喚的慢, 這一切只需要一個 option 就可以拯救我們, 請在 vim 裡面做如下的設定.&lt;br /&gt;&lt;code class="cmd"&gt;:syntax off&lt;/code&gt;wire ..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-9178777815213269544?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/9178777815213269544/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/08/vim-hang-with-huge-line.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/9178777815213269544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/9178777815213269544'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/08/vim-hang-with-huge-line.html' title='vim hang with huge line'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-8000918293254635749</id><published>2009-07-17T22:44:00.013+08:00</published><updated>2009-08-04T22:44:22.387+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='social network'/><category scheme='http://www.blogger.com/atom/ns#' term='plurk'/><category scheme='http://www.blogger.com/atom/ns#' term='robot'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='script'/><title type='text'>my plurk robot aka robot kingdom</title><content type='html'>自從上次 &lt;a href="http://marlboromoo.blogspot.com/2009/07/plurksh.html"&gt;plurk.sh&lt;/a&gt; release 之後, 便開始製造自己的機器人, 因為我非常喜歡尋找和&lt;span style="font-weight: bold;"&gt;**欣賞**&lt;/span&gt;圖片, 所以機器人的定位就是"&lt;span style="font-weight: bold;"&gt;自動貼圖&lt;/span&gt;", 就這麼單純, 不需要其他多餘的功能.接下來開始構思機器人的運作方式, 首先要有圖片來源, 最方便的方式是使用 RSS, 再來就是取得 RSS 裡面的圖片連結, 且不要縮圖, 而是原始大小的圖檔, 這個部份也很簡單, 通常圖片的命名方式都有規則可尋, 稍微看一下 source 就可以瞭解規則, 知道規則後, 用正規畫表示來取得這些連結, 並且使用先前寫好的plurk script 來發佈. 機器人啟動方式是無限 loop 來檢查是否有新的 RSS 內容.&lt;br /&gt;&lt;br /&gt;機器人可以正常運作後, 發現一個小問題, 那就是圖片品質的控制, 一開始的圖片來源是朝 image bookmarking 的網站來尋找, 如 &lt;a href="http://vi.sualize.us/"&gt;vi.sualize.us&lt;/a&gt; or &lt;a href="http://ffffound.com/"&gt;ffffound&lt;/a&gt;, 然後利用該網站已有的 tag 來取得自己需要的 RSS, 但單純用 tag 是無法分辨圖片的品質的, 達成良好品質的最保險方式, 當然是人工審核, 不過我一個人是單然無法做到的, 太搞肛! 不過倒是可以讓別人來審核, 方法是: 手動挑選一些良好的 RSS 資料來源, 譬如說從 &lt;a href="http://www.tumblr.com/directory"&gt;tumblr&lt;/a&gt; 裡來尋找, by user 的方式來尋找自己喜歡的 style. 經過一番 search 後, 實作了三個機器人, 會以五分鐘的時間做間隔來自動貼圖, plurk 帳號分別是:&lt;a href="http://www.plurk.com/moo_robot"&gt;&lt;br /&gt;&lt;/a&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://www.plurk.com/moo_robot"&gt;moo_robot&lt;br /&gt;&lt;/a&gt;圖片來源為 &lt;a href="http://lookbook.nu/"&gt;lookbook.nu&lt;/a&gt;, 想要表達一些穿衣服的哲學.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.plurk.com/moo_sexy_robot"&gt;moo_sexy_robot&lt;/a&gt;&lt;br /&gt;圖片來源比較廣, 很多 RSS 的聚合, &lt;span style="font-weight: bold;"&gt;**性感**&lt;/span&gt;是重點.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.plurk.com/moo_fffound_robot"&gt;moo_fffound_robot&lt;/a&gt;&lt;br /&gt;圖片來源為 &lt;a href="http://ffffound.com/"&gt;ffffound&lt;/a&gt;, 讓人有另類新奇的發現.&lt;/li&gt;&lt;/ol&gt;ref: &lt;a href="http://www.plurk.com/p/19wcug"&gt;this&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-8000918293254635749?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/8000918293254635749/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/07/my-plurk-robot-aka-robot-kingdom.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/8000918293254635749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/8000918293254635749'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/07/my-plurk-robot-aka-robot-kingdom.html' title='my plurk robot aka robot kingdom'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-8464999362038361365</id><published>2009-07-04T23:22:00.006+08:00</published><updated>2009-08-04T22:44:22.388+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='social network'/><category scheme='http://www.blogger.com/atom/ns#' term='plurk'/><category scheme='http://www.blogger.com/atom/ns#' term='command-line'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='code'/><category scheme='http://www.blogger.com/atom/ns#' term='script'/><title type='text'>plurk.sh</title><content type='html'>會寫這隻 script 的原因很簡單, 我想要 karma 達到 &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;100&lt;/span&gt;, 然後有一隻自己的 robot, 哇哈哈, 雖然已經有高手們寫出 &lt;a href="http://code.google.com/p/rlplurkapi/"&gt;API&lt;/a&gt; 了, 可是我想要重複造輪子, 而且是用 bash script. 這隻 script 的原理很簡單, 用 &lt;a href="http://curl.haxx.se/"&gt;curl&lt;/a&gt; 這個工具來登入 plurk.com 並取得 cookie, 然後 post. 就這樣.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;實作功能:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;噗它&lt;br /&gt;&lt;/li&gt;&lt;li&gt;噗的時候可以指定動作&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;預加入功能:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;取得自己的浪&lt;/li&gt;&lt;li&gt;取得好友的浪&lt;/li&gt;&lt;li&gt;變身成 robot&lt;br /&gt;&lt;/li&gt;&lt;li&gt;...&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;其他說明:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;必須有安裝 curl, ubuntu 直接用 apt-get 來安裝&lt;br /&gt;&lt;/li&gt;&lt;li&gt;請先修改 script 裡的帳號密碼, 還有 uid(登入 plurk 後, 網頁原始碼裡看得見.)&lt;/li&gt;&lt;li&gt;如果無法正常發送, 可以用 -v 的選項來來 debug.&lt;/li&gt;&lt;li&gt;目前只能當"&lt;span style="font-weight: bold;"&gt;偽robot&lt;/span&gt;", 使用 crontab 來定時噗.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;下載位置:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://code.google.com/p/marlboromoo-tool/downloads/list"&gt;http://code.google.com/p/marlboromoo-tool/downloads/list&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;使用方式:&lt;/span&gt;&lt;br /&gt;直接看說明吧.&lt;br /&gt;&lt;code class="cmd"&gt;chmod +x ./plurk.sh&lt;br /&gt;./plurk.sh -h&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;ref: &lt;a href="http://www.jaceju.net/blog/?p=591&amp;amp;cpage=1"&gt;this&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-8464999362038361365?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/8464999362038361365/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/07/plurksh.html#comment-form' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/8464999362038361365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/8464999362038361365'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/07/plurksh.html' title='plurk.sh'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-1769531867112117768</id><published>2009-07-04T14:39:00.003+08:00</published><updated>2009-08-04T22:44:22.388+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='social network'/><category scheme='http://www.blogger.com/atom/ns#' term='plurk'/><category scheme='http://www.blogger.com/atom/ns#' term='firefox extension'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>plurk in ubuntu 9.04 part 2</title><content type='html'>看來我誤會 &lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/1843"&gt;firebug&lt;/a&gt; 了. 原來會不是只有我有遇到這個問題, google 了一下, 沒有幾篇文章, 不過還好有解法, 就是用 proxy 拉, 那就用 &lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/2464"&gt;Foxyproxy&lt;/a&gt; 巴, proxy 用 &lt;span style="font-weight: bold;"&gt;proxy.hinet.net:80&lt;/span&gt;, filter 的部份: &lt;span style="font-weight: bold;"&gt;*.plurk.com/*&lt;/span&gt;, hmm.. 感覺有比較順暢一點, 不過到底為啥 plurk 會這麼慢, 至今還是個謎.(用 &lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/6647"&gt;httpfox&lt;/a&gt; 看了很久, 看不出一點端倪.)&lt;br /&gt;&lt;br /&gt;ref: &lt;a href="http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?topic_id=15390&amp;amp;forum=11&amp;amp;post_id=83655"&gt;this&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-1769531867112117768?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/1769531867112117768/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/07/plurk-in-ubuntu-904-part-2.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1769531867112117768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1769531867112117768'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/07/plurk-in-ubuntu-904-part-2.html' title='plurk in ubuntu 9.04 part 2'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-3376442277382807974</id><published>2009-06-28T14:18:00.021+08:00</published><updated>2009-06-28T17:20:37.209+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='game'/><title type='text'>plants vs zombies in ubuntu 9.04</title><content type='html'>&lt;div style="text-align: left;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_yqYsGOl897k/Skcw-UXkvEI/AAAAAAAAArs/7Z7MYAAQAN8/s1600-h/plants-vs-zombies-20090402114225619_640w.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 200px;" src="http://3.bp.blogspot.com/_yqYsGOl897k/Skcw-UXkvEI/AAAAAAAAArs/7Z7MYAAQAN8/s320/plants-vs-zombies-20090402114225619_640w.jpg" alt="" id="BLOGGER_PHOTO_ID_5352300529330732098" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.popcap.com/games/pvz"&gt;plants vs zombies&lt;/a&gt;, 沒錯就是&lt;span style="font-weight: bold;"&gt;"植物大戰殭屍"&lt;/span&gt;, 是一款類守塔遊戲, 遊戲的目的就是種植一拖拉褲的植物來幹掉殭屍大軍, 遊戲中必須蒐集不停掉落的類似太陽顆粒的光球, 蒐集愈多愈快, 可種植的植物當然愈多拉!! 雖然這是 windows 的遊戲, 不過在 ubuntu 下使用 &lt;a href="http://www.winehq.org/"&gt;wine&lt;/a&gt; 依樣可以爽快的玩.安裝步驟如下方所示:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;如果沒有安裝 wine, &lt;a href="http://marlboromoo.blogspot.com/2009/05/ubuntu-tweak-in-ubuntu-904.html"&gt;參考這篇&lt;/a&gt; 安裝 &lt;a href="http://ubuntu-tweak.com/"&gt;ubuntu-tweak&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;於 ubuntu-tweak 中的&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;應用程式 &gt; 弟三方軟體來源 &gt; 勾選 wine&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;應用程式 &gt; 新增/移除 &gt; 勾選 "Wine Microsoft Windows Compatibility Layer" &gt; 套用&lt;/span&gt;.&lt;br /&gt;就安裝好 wine 囉.&lt;/li&gt;&lt;li&gt;在 &lt;span style="font-weight: bold;"&gt;應用程式 &gt; Wine &gt; Configure Wine &gt; 顯示 &gt; 勾選 "模擬一個虛擬桌面" &gt; 桌面大小填入 800X600&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;到&lt;a href="http://www.qkshare.com/thread281197.html"&gt;這裡&lt;/a&gt;下載&lt;span&gt;植物大戰殭屍&lt;/span&gt;&lt;s&gt;快樂版&lt;/s&gt;.&lt;/li&gt;&lt;li&gt;解壓縮下載的壓縮檔.&lt;/li&gt;&lt;li&gt;在 Plants vs. Zombies 的目錄裡, 對 PlantsVsZombies.exe 按下滑鼠右鍵, 選擇 "&lt;span style="font-weight: bold;"&gt;以Wine Windows Program Loader 開啟&lt;/span&gt;".&lt;br /&gt;&lt;/li&gt;&lt;li&gt;玩它.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;ref: &lt;a href="http://www.plurk.com/p/14abou"&gt;this&lt;/a&gt;, &lt;a href="http://blog.roodo.com/blog_uni/archives/8876789.html"&gt;this&lt;/a&gt; and &lt;a href="http://www.google.com.tw/search?hl=zh-TW&amp;amp;q=Plants+vs+Zombies"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-3376442277382807974?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/3376442277382807974/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/plants-vs-zombies-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/3376442277382807974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/3376442277382807974'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/plants-vs-zombies-in-ubuntu-904.html' title='plants vs zombies in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_yqYsGOl897k/Skcw-UXkvEI/AAAAAAAAArs/7Z7MYAAQAN8/s72-c/plants-vs-zombies-20090402114225619_640w.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-7576600927785512476</id><published>2009-06-27T12:33:00.010+08:00</published><updated>2009-06-27T22:07:04.167+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sar'/><category scheme='http://www.blogger.com/atom/ns#' term='linux tip'/><title type='text'>linux sar tip in rhel4 (centos4)</title><content type='html'>有時 sar 的指令無法正常顯示 cpu idle, 可以透過更新 sysstat 的套件來解決此狀況.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;使用 rhel4 相容版本&lt;a href="http://pagesperso-orange.fr/sebastien.godard/sysstat-8.1.5.tar.gz"&gt; sysstat-8.1.5.tar.gz&lt;/a&gt;, 也可於&lt;a href="http://pagesperso-orange.fr/sebastien.godard/download.html"&gt;官方網站&lt;/a&gt;下載最新版本.&lt;br /&gt;&lt;code class="cmd"&gt;wget http://pagesperso-orange.fr/sebastien.godard/sysstat-8.1.5.tar.gz&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;移除無法正常顯示 cpuidle 的 sysstat 套件.&lt;br /&gt;&lt;code class="cmd"&gt;rpm -e sysstat&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;編譯 sysstat 原始碼, 並且安裝於 /usr.&lt;br /&gt;&lt;code class="cmd"&gt;tar zxvf sysstat-8.1.5.tar.gz&lt;br /&gt;cd sysstat-8.1.5&lt;br /&gt;./configure --prefix=/usr &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;當 sar 的資料檔案與版本不符, 將會出現以下訊息.&lt;blockquote style="font-style: italic;"&gt;sysstat: Invalid system activity file: /var/log/sa/saXX&lt;/blockquote&gt;需執行以下指令來重建.&lt;br /&gt;&lt;code class="cmd"&gt;rm -rf /var/log/sa/*&lt;br /&gt;/usr/lib/sa/sa1&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;將 sar 加入 crontab, 定期產生資料.&lt;br /&gt;&lt;code class="cmd"&gt;echo '# run system activity accounting tool every 10 minutes&lt;br /&gt;*/10 * * * * root /usr/lib/sa/sa1 1 1&lt;br /&gt;# generate a daily summary of process accounting at 23:53&lt;br /&gt;53 23 * * * root /usr/lib/sa/sa2 -A' &gt; /etc/cron.d/sysstat&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;ref: &lt;a href="http://platonic.techfiz.info/2008/11/19/sysstat-invalid-system-activity-file-varlogsasa/"&gt;this&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-7576600927785512476?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/7576600927785512476/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/linux-sar-tip-in-rhel4centos4.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7576600927785512476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7576600927785512476'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/linux-sar-tip-in-rhel4centos4.html' title='linux sar tip in rhel4 (centos4)'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-5568212536633308329</id><published>2009-06-27T12:14:00.006+08:00</published><updated>2009-06-27T12:28:41.069+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux tip'/><category scheme='http://www.blogger.com/atom/ns#' term='tmpfs'/><category scheme='http://www.blogger.com/atom/ns#' term='ram disk'/><title type='text'>linux tmpfs tip</title><content type='html'>當遇到需要大量 I/O 的程式時, 將該程式產生 I/O 的動作於 tmpfs 上執行, 可以大幅改善效能, 因為 tmpfs 是將資料都放在記憶體中. tmpfs 於 linux kernel 2.4 後開始支援.&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt; 切記 tmpfs 於重新啟動系統或系統斷電後, 資料即消失, 請謹慎使用.&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;/dev/shm&lt;/span&gt;&lt;br /&gt;於 kernel 2.4 之後版本的 linux 發行系統(rhel, centos, ubuntu .. etc) 應該預設系統已經有啟用 tmpfs, 掛載路徑為 /dev/shm, 預設為系統可用記憶體的一半, 可以直接使用, 如欲調整大小, 請修改 /etc/fstab&lt;br /&gt;&lt;/li&gt;&lt;code class="cmd"&gt;vi /etc/fstab&lt;br /&gt;&lt;/code&gt;找到 /dev/shm 的部份, 將選項 default 改為 size 並且指定大小.&lt;br /&gt;&lt;code class="prettyprint"&gt;none            /dev/shm        tmpfs   size=256m    0 0&lt;br /&gt;&lt;/code&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;手動建立&lt;/span&gt;&lt;br /&gt;如欲於不同路徑建立 tmpfs , 使用以下指令即可(mount 來源請指定為 none).&lt;br /&gt;&lt;/li&gt;&lt;code class="cmd"&gt;mkdir -p /mnt/tmpfs&lt;br /&gt;mount -t tmpfs -o size=512m none /mnt/tmpfs&lt;/code&gt;&lt;/ul&gt;&lt;br /&gt;ref: &lt;a href="http://zh.wikipedia.org/wiki/TMPFS"&gt;this&lt;/a&gt;, &lt;a href="http://centoshacker.com/kabir/tuning/tuning-tmpfs-filesystemdevshm-for-centos.html"&gt;this&lt;/a&gt; and &lt;a href="http://plog.longwin.com.tw/my_note-unix/2006/01/08/ram_disk_build_method"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-5568212536633308329?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/5568212536633308329/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/linux-tmpfs-tip.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/5568212536633308329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/5568212536633308329'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/linux-tmpfs-tip.html' title='linux tmpfs tip'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-690451046526772895</id><published>2009-06-25T13:14:00.007+08:00</published><updated>2009-08-04T22:44:22.389+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='social network'/><category scheme='http://www.blogger.com/atom/ns#' term='plurk'/><category scheme='http://www.blogger.com/atom/ns#' term='robot'/><title type='text'>plurk robot list</title><content type='html'>plurk 的 robot 愈來愈多了, 目前出現的類型有幾種: 遊戲型, 回噗型, 解答型, 自用型.以下為目前發現的帳號清單.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://www.plurk.com/sheep_knowledge"&gt;sheep_knowledge&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.plurk.com/yawho_knowledge"&gt;yawho_knowledge&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.plurk.com/sakura75662000"&gt;sakura75662000&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.plurk.com/brucepush"&gt;brucepush&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.plurk.com/phd6"&gt;phd6&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;ref: &lt;a href="http://www.plurk.com/p/12gcmw"&gt;this&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-690451046526772895?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/690451046526772895/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/plurk-robot-list.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/690451046526772895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/690451046526772895'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/plurk-robot-list.html' title='plurk robot list'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-7148368963034506297</id><published>2009-06-20T22:17:00.024+08:00</published><updated>2009-06-27T22:04:16.627+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mutt'/><category scheme='http://www.blogger.com/atom/ns#' term='command-line'/><category scheme='http://www.blogger.com/atom/ns#' term='msmtp'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>mutt plus msmtp in ubuntu 9.04</title><content type='html'>有時候單純需要 CLI 的 &lt;a href="http://linux.vbird.org/linux_server/0380sendmail.php#theory_mailtrans"&gt;MUA&lt;/a&gt; 來發送郵件, 如果使用 &lt;a href="http://www.sendmail.org/"&gt;sendmail&lt;/a&gt; 或是 &lt;a href="http://www.postfix.org/"&gt;postfix&lt;/a&gt; 那就太浪費了.可以使用 &lt;a href="http://www.mutt.org/"&gt;mutt&lt;/a&gt; 搭配 &lt;a href="http://msmtp.sourceforge.net/"&gt;msmtp&lt;/a&gt;(smtp client) 來達成, smtp 伺服器用 &lt;a href="http://mail.google.com/"&gt;gmail&lt;/a&gt;. 安裝及設定步驟如下:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;使用 apt-get 來安裝 mutt &amp;amp; msmtp&lt;br /&gt;&lt;/li&gt;&lt;code class="cmd"&gt;sudo apt-get install mutt msmtp&lt;br /&gt;&lt;/code&gt;&lt;li&gt;設定 msmtp, 設定檔放在 ~/.msmtprc&lt;/li&gt;&lt;code class="cmd"&gt;echo '# Smtp account gmail&lt;br /&gt;account gmail&lt;br /&gt;host smtp.gmail.com&lt;br /&gt;from somebody@gmail.com&lt;br /&gt;auth on&lt;br /&gt;user somebosy@gmail.com&lt;br /&gt;password gamilpassword&lt;br /&gt;port 587&lt;br /&gt;# Set default account&lt;br /&gt;account default : gmail' &gt; ~/.msmtprc &lt;/code&gt;&lt;li&gt;修改 ~/.msmtprc 的權限, 不然會出現類似下方的訊息.&lt;/li&gt;&lt;code class="cmd"&gt;chmod 600 ~/.msmtprc&lt;br /&gt;&lt;/code&gt;&lt;blockquote style="font-style: italic;"&gt;msmtp: /home/xxx/.msmtprc: must have no more than user read/write permissions&lt;/blockquote&gt;&lt;li&gt;設定 mutt, 設定檔放在 ~/.muttrc&lt;br /&gt;&lt;/li&gt;&lt;code class="cmd"&gt;echo 'set sendmail="/usr/bin/msmtp"&lt;br /&gt;set from="somebody&amp;lt;somebody@gmail.com&amp;gt;"' &gt; ~/.muttrc&lt;br /&gt;&lt;/code&gt;&lt;li&gt;現在可以使用 mutt 來發郵件拉.&lt;/li&gt;&lt;code class="cmd"&gt;echo 'hello' | mutt -s 'hi' somebody@gmail.com&lt;/code&gt;&lt;/ol&gt;&lt;br /&gt;ref: &lt;a href="http://ken-masterstudy.blogspot.com/2008/07/linux-mutt-msmtp.html"&gt;this&lt;/a&gt;, &lt;a href="http://forum.ubuntu.org.cn/viewtopic.php?p=116401"&gt;this&lt;/a&gt;, &lt;a href="http://www.adamjiang.com/blog/archives/33"&gt;this&lt;/a&gt; &amp;amp; &lt;a href="http://mail.google.com/support/bin/answer.py?answer=86375"&gt;this&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-7148368963034506297?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/7148368963034506297/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/mutt-plus-msmtp-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7148368963034506297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7148368963034506297'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/mutt-plus-msmtp-in-ubuntu-904.html' title='mutt plus msmtp in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-2386739107322845299</id><published>2009-06-13T21:54:00.009+08:00</published><updated>2009-06-27T22:07:39.051+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rpg'/><category scheme='http://www.blogger.com/atom/ns#' term='rogue-like'/><category scheme='http://www.blogger.com/atom/ns#' term='nethack'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='game'/><title type='text'>nethack &amp; slashem in ubuntu 9.04</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_yqYsGOl897k/SjOyoyufOCI/AAAAAAAAAq8/vcOiHp8oTQs/s1600-h/trad-tty.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 131px; height: 127px;" src="http://4.bp.blogspot.com/_yqYsGOl897k/SjOyoyufOCI/AAAAAAAAAq8/vcOiHp8oTQs/s320/trad-tty.png" alt="" id="BLOGGER_PHOTO_ID_5346813596500178978" border="0" /&gt;&lt;/a&gt;Rogue 是一款 1970 年代在 UNIX 系統上以 AD&amp;amp;D 的規則開發出的小型角色扮演遊戲, 但卻和一般角色扮演遊戲不同, 因為不注重劇情, 也沒有華麗畫面, 而使用 ASCII 來表現, 玩家只須在一層層的隨機產生的迷宮中探索, 擊殺怪物, 取得寶物. &lt;a href="http://en.wikipedia.org/wiki/Roguelike"&gt;Rouge-Like&lt;/a&gt; 是 Rouge 的衍生版本, 因為 Rouge 相當吸引人, 且為開放原始碼, 於是有許多玩家, 根據自己的需求來修改原始碼, 而產生許多不同版本的 Rouge, 便是所謂的 Rouge-Like.&lt;br /&gt;&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Nethack"&gt;NetHack&lt;/a&gt; 是為數眾多的 Rouge-Like 中相當受到歡迎的分枝, 它的重點在完整的探勘龐大的地下城, 和發覺遊戲中的秘密, 而不只單純的殺光怪物而已, 而你每一步做的決定, 都有可能讓你邁向死亡, 因為吃到的有毒的食物, 撿到了受詛咒的物品. 於遊戲一開始你必須選擇想要的種族職業, 而且還會有一隻寵物跟隨著你, 開始冒險吧！在 ubuntu 裡安裝 NetHack 和 NetHack 的 GUI, 使用下方的指令.&lt;br /&gt;&lt;code class="cmd"&gt;sudo apt-get install nethack-console&lt;br /&gt;sudo apt-get install nethack-x11&lt;/code&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Slash%27EM"&gt;Slash'EM&lt;/a&gt; 則是基於 NetHack 的加強版, 更多的職業, 更龐大的地下城, 店員系統, 廁所(?), 許多新的怪物和物品, 並且有更方便且增強的 GUI.要在 ubuntu 裡安裝 Slash'EM 和 Slash'EM 的 GUI 同樣也是非常簡單, 使用下方的指令.&lt;br /&gt;&lt;code class="cmd"&gt;sudo apt-get install slashem&lt;br /&gt;sudo apt-get install slashem-gtk&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;一些資源:&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_yqYsGOl897k/SjOyxjxJ4VI/AAAAAAAAArE/fSW9mcjXWMo/s1600-h/3ddrag.png"&gt;&lt;/a&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.nethack.org/"&gt;NetHack Official Site&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.slashem.org/"&gt;The SLASH'EM Homepage&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://users.tkk.fi/eye/roguelike/index.html"&gt;Guide to Roguelike Games&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.statslab.cam.ac.uk/%7Eeva/nethack/spoilerlist.html"&gt;List of Nethack Spoilers&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.statslab.cam.ac.uk/%7Eeva/slashem/index.html"&gt;Differences Between Slash'EM And Nethack&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://nethack.wikia.com/wiki/Main_Page"&gt;Wikihack&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.blogtw.com/blog.php?id=31175"&gt;nethack新手手冊&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;blockquote&gt;&lt;span style="font-style: italic;"&gt;Goodbye marlboromoo the Barbarian...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;You died in The Dungeons of Doom on dungeon level 1 with 54 points,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;and 59 pieces of gold, after 29 moves.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;You were level 1 with a maximum of 15 hit points when you died.&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;ref: &lt;a href="http://www.kennethhon.com/recommend/comp/roguelike/rogue.html"&gt;this&lt;/a&gt;, &lt;a href="http://blog.xuite.net/gasbomb/toybox/3856072"&gt;this&lt;/a&gt; and &lt;a href="http://www.google.com.tw/search?q=%C3%A5%C2%A6%C2%82%C3%A6%C2%9E%C2%9C%C3%A5%C2%A6%C2%B3%C3%A4%C2%B8%C2%80%C3%A7%C2%94%C2%9F%C3%A7%C2%A5%C2%87%C3%A6%C2%89%C2%93%C3%A7%C2%AE%C2%97%C3%A5%C2%81%C2%9A%C3%A4%C2%B8%C2%80%C3%A4%C2%BB%C2%B6%C3%A4%C2%BA%C2%8B%C3%A7%C2%9A%C2%84%C3%A8%C2%A9%C2%B1%C3%AF%C2%BC%C2%8C%C3%A7%C2%8E%C2%A9NetHack+%C3%A3%C2%80%C2%82"&gt;this&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-2386739107322845299?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/2386739107322845299/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/nethack-slashem-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2386739107322845299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2386739107322845299'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/nethack-slashem-in-ubuntu-904.html' title='nethack &amp;amp; slashem in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_yqYsGOl897k/SjOyoyufOCI/AAAAAAAAAq8/vcOiHp8oTQs/s72-c/trad-tty.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-5763571426969188404</id><published>2009-06-13T11:21:00.005+08:00</published><updated>2009-08-04T22:44:22.390+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='social network'/><category scheme='http://www.blogger.com/atom/ns#' term='plurk'/><category scheme='http://www.blogger.com/atom/ns#' term='firefox extension'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>plurk in ubuntu 9.04</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;從某天開始, 我就被 plurk 很慢搞得很不爽, 真的是&lt;b&gt;慢慢慢&lt;/b&gt;勒, 那個 loading 的圖案永遠不會消失！要噗的時候還得用 &lt;a href="http://www.plurk.com/imhelp"&gt;M$N 機器人&lt;/a&gt;？ 一開始因為在 windows 下沒有這個問題, 還以為問題是 firefox 在 ubuntu 裡的效能太差, 不然就是有蟲. 然後今天早上在整理 &lt;a href="http://marlboromoo.blogspot.com/2009/06/firefox-extension-list.html"&gt;firefox extension&lt;/a&gt;, 把 &lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/1843"&gt;firebug&lt;/a&gt; 移除後, 一切都恢復正常了. 會裝這個 extension 是為了抓那些影響瀏覽速度的怪雞斯, 沒想到反而更慢勒！wtF.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-5763571426969188404?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/5763571426969188404/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/plurk-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/5763571426969188404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/5763571426969188404'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/plurk-in-ubuntu-904.html' title='plurk in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-201717313256960887</id><published>2009-06-12T23:01:00.008+08:00</published><updated>2009-06-13T09:54:08.211+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='os'/><category scheme='http://www.blogger.com/atom/ns#' term='vnc'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='remote install'/><title type='text'>remote install linux OS via VNC</title><content type='html'>通常進機房放完安裝光碟後, 應該不會想在那吵雜又寒冷的地方待太久, 這時候可以透過 VNC 遠端安裝的方式來避免這個問題！以下為流程：&lt;br /&gt;&lt;ol&gt;&lt;li&gt;刷卡進機房&lt;br /&gt;&lt;/li&gt;&lt;li&gt;於欲重新安裝之主機放入安裝光碟&lt;/li&gt;&lt;li&gt;到 console 等待 boot: 提示畫面出現&lt;/li&gt;&lt;li&gt;輸入相關安裝參數.&lt;br /&gt;&lt;/li&gt;&lt;code class="cmd"&gt;linux vnc vncpassword=PASSWORD&lt;/code&gt;&lt;li&gt;待設定完網路組態, 安裝程式提示 VNC 伺服器的 IP 位置.&lt;/li&gt;&lt;li&gt;離開機房&lt;/li&gt;&lt;li&gt;使用 vnc clinet 繼續安裝&lt;/li&gt;&lt;/ol&gt;另外還有許多常用的參數可以搭配使用, 下面的例子為使用額外驅動程式磁碟, 並且選擇安裝方式(nfs, kickstart ..), 於安裝過程不使用 gui.&lt;br /&gt;&lt;code class="cmd"&gt;linux text askmethod dd&lt;/code&gt;&lt;br /&gt;ref: &lt;a href="http://ericbbs.blogspot.com/2007/10/fedora-core-linux.html"&gt;this&lt;/a&gt; ant &lt;a href="http://www.centos.org/docs/5/html/5.1/Installation_Guide/ch-bootopts-x86.html"&gt;this&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-201717313256960887?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/201717313256960887/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/install-linux-os-via-vnc.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/201717313256960887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/201717313256960887'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/install-linux-os-via-vnc.html' title='remote install linux OS via VNC'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-3244983139969946623</id><published>2009-06-09T22:44:00.003+08:00</published><updated>2009-06-10T08:47:49.404+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wedding'/><category scheme='http://www.blogger.com/atom/ns#' term='life'/><category scheme='http://www.blogger.com/atom/ns#' term='music'/><title type='text'>wedding song list</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;要開始籌備婚禮了, 一些可能會播放到歌曲, 做個備忘:&lt;br/&gt;&lt;ol&gt;&lt;li&gt;&lt;a href='http://www.youtube.com/watch?v=LPTbzPHkEGA'&gt;I Can't Give You Anything But My Love &lt;/a&gt;(The Stylistics)&lt;/li&gt;&lt;blockquote&gt;&lt;b&gt;I Can't Give You Anything But My Love&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;If I had money I'd go wild buy you furs dress you like a queen&lt;br/&gt;And in a chauffered limousine&lt;br/&gt;we'd look so fine.&lt;br/&gt;But I'm an ordinary guy and my pockets are empty&lt;br/&gt;Just an ordinary guy&lt;br/&gt;but I'm yours till I die.&lt;br/&gt;I can't give you anything&lt;br/&gt;but my love&lt;br/&gt;but my love&lt;br/&gt;I can't give you anything&lt;br/&gt;but my love&lt;br/&gt;but my love.&lt;br/&gt;I cannot promise you the world&lt;br/&gt;can't afford any fancy things&lt;br/&gt;I cannot buy you diamond rings&lt;br/&gt;no string of pearls.&lt;br/&gt;But my devotion I will give all my life just to you girl&lt;br/&gt;My devotion I will give for as long as I live.&lt;br/&gt;I can't give you anything. but my love. but my love . . .&lt;/blockquote&gt;&lt;li&gt;&lt;a href='http://www.youtube.com/watch?v=r8xXN9gdMqg'&gt;Fly Me To The Moon&lt;/a&gt; (Ed Madden)&lt;/li&gt;&lt;blockquote&gt;Fly me to the moon&lt;br/&gt;And let me play among the stars&lt;br/&gt;Let me see what spring is like&lt;br/&gt;On Jupiter and Mars&lt;br/&gt;In other words hold my hand&lt;br/&gt;In other words darling kiss me&lt;br/&gt;&lt;br/&gt;Fill my life with song&lt;br/&gt;And let me sing forevermore&lt;br/&gt;You are all I hope for&lt;br/&gt;All I worship and adore&lt;br/&gt;In other words please be true&lt;br/&gt;In other words I love you &lt;/blockquote&gt;&lt;li&gt;&lt;a href='http://www.youtube.com/watch?v=D0spfVGWvzs'&gt;Better Together&lt;/a&gt; (Jack Johnson)&lt;br/&gt;&lt;/li&gt;&lt;blockquote&gt;[Verse 1:]&lt;br/&gt;There's no combination of words &lt;br/&gt;I could put on the back of a postcard, &lt;br/&gt;No song that I could sing &lt;br/&gt;But I can try for your heart, &lt;br/&gt;Our dreams, and they are made out of real things, &lt;br/&gt;Like a shoebox of photographs, &lt;br/&gt;With sepiatone loving,&lt;br/&gt;Love is the answer &lt;br/&gt;At least for most of the questions in my heart ,&lt;br/&gt;Like why are we here? And where do we go? &lt;br/&gt;And how come it's so hard? &lt;br/&gt;It's not always easy,&lt;br/&gt;And sometimes life can be deceiving, &lt;br/&gt;I'll tell you one thing, its always better when we're together &lt;br/&gt;&lt;br/&gt;[Chorus:] &lt;br/&gt;MMM, it's always better when we're together &lt;br/&gt;Yeah, we'll look at the stars when we're together &lt;br/&gt;Well, it's always better when we're together &lt;br/&gt;Yeah, it's always better when we're together &lt;br/&gt;&lt;br/&gt;[Verse 2:]&lt;br/&gt;And all of these moments &lt;br/&gt;Just might find their way into my dreams tonight &lt;br/&gt;But I know that they'll be gone, &lt;br/&gt;When the morning light sings &lt;br/&gt;And brings new things,&lt;br/&gt;But tomorrow night you see &lt;br/&gt;That they'll be gone too, &lt;br/&gt;Too many things I have to do, &lt;br/&gt;But if all of these dreams might find their way &lt;br/&gt;Into my day to day scene &lt;br/&gt;I'll be under the impression, &lt;br/&gt;I was somewhere in-between &lt;br/&gt;With only two, &lt;br/&gt;Just me and you &lt;br/&gt;Not so many things we got to do, &lt;br/&gt;Or places we got to be &lt;br/&gt;We'll sit beneath the mango tree now&lt;br/&gt;&lt;br/&gt;Yeah, it's always better when we're together &lt;br/&gt;MMM, We're somewhere in-between together &lt;br/&gt;Well, it's always better when we're together &lt;br/&gt;Yeah, it's always better when we're together &lt;br/&gt;&lt;br/&gt;Mmmmm Mmmmm Mmmmm &lt;br/&gt;I believe in memories &lt;br/&gt;They look so, so pretty when I sleep &lt;br/&gt;Hey now, and when, and when I wake up, &lt;br/&gt;You look so pretty sleeping next to me &lt;br/&gt;But there is not enough time, &lt;br/&gt;And there is no, no song I could sing &lt;br/&gt;And there is no combination of words I could say &lt;br/&gt;But I will still tell you one thing, &lt;br/&gt;We're better together&lt;/blockquote&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-3244983139969946623?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/3244983139969946623/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/wedding-song-list.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/3244983139969946623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/3244983139969946623'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/wedding-song-list.html' title='wedding song list'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-7573630435829752500</id><published>2009-06-04T22:10:00.005+08:00</published><updated>2009-06-05T23:40:44.801+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='screen'/><category scheme='http://www.blogger.com/atom/ns#' term='command-line'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='editor'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='resource'/><category scheme='http://www.blogger.com/atom/ns#' term='cheatsheet'/><category scheme='http://www.blogger.com/atom/ns#' term='terminal'/><title type='text'>Linux cheatsheet</title><content type='html'>不知道是缺乏安全感, 強迫症, 還是檔案松鼠 ;&gt; 只要是關於 &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Linux" title="Linux" rel="wikipedia"&gt;linux&lt;/a&gt; command 的任何東西, 都想要收集, 嘿嘿, 不過這些 cheatcheet 真的很好用, 對於 linux 的千千萬萬的指令來說, 有時候很容易就失憶, 把這些 cheatsheet 印在一張張的 A4 紙, 釘在 partition 上, 就無敵拉！！！！！&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://cb.vu/unixtoolbox.xhtml"&gt;Unix Toolbox&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://fosswire.com/post/2008/04/ubuntu-cheat-sheet/"&gt;Ubuntu Cheat Sheet&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://technotes.1000lines.net/?p=47"&gt;iptables cheat sheet #1&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://heim.ifi.uio.no/%7Epatrickr/cms/wordpress/?p=37"&gt;iptables cheat sheet #2&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.catonmat.net/blog/the-definitive-guide-to-bash-command-line-history/"&gt;Bash History Cheat Sheet&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.catonmat.net/blog/awk-nawk-and-gawk-cheat-sheet/"&gt;Awk, Nawk and GNU Awk Cheat Sheet&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.catonmat.net/blog/sed-stream-editor-cheat-sheet/"&gt;Sed - UNIX Stream Editor - Cheat Sheet&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.catonmat.net/blog/bash-vi-editing-mode-cheat-sheet/"&gt;Bash's Vi Command Line Editing Mode&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.catonmat.net/blog/screen-terminal-emulator-cheat-sheet/"&gt;Screen Terminal Emulator Cheat Sheet&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://ask.metafilter.com/68309/vi-cheat-sheet"&gt;vi cheat sheet&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-7573630435829752500?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/7573630435829752500/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/linux-cheatsheet.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7573630435829752500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7573630435829752500'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/linux-cheatsheet.html' title='Linux cheatsheet'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-2860809997006956389</id><published>2009-06-02T21:42:00.001+08:00</published><updated>2009-06-02T21:46:52.933+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='screen'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>screen in unutnu 9.04</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;升級 ubuntu 9.04 後, 透過 screen 並 ssh 到遠端主機使用 vim, 發現無法使用 backspace 來刪除字元, 而是出現 ^? 這個字元. 因為在 9.04 中 backspace 被定義成 ^? , 而如果遠端機器的 backspace 定義為 ^h , 送出的 backspace 就無法被正確辨識,  解決方法有兩種：&lt;br/&gt;&lt;ol&gt;&lt;li&gt;設定所使用的 term, 以 gnome-terminal 為例, 在 &lt;b&gt;編輯(&lt;u&gt;E&lt;/u&gt;)&amp;gt; 設定組合偏好設定(&lt;u&gt;O&lt;/u&gt;)&amp;gt; 間容性&lt;/b&gt; 的分頁, 將 &lt;b&gt;後退鍵會產生(&lt;u&gt;B&lt;/u&gt;):&lt;/b&gt; 的選項選到 &lt;font color='#ff0000'&gt;&lt;b&gt;Control-H&lt;/b&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;使用以下指令重新定義 backspace 的字元.&lt;/li&gt;&lt;code class='cmd'&gt;stty erase '^h'&lt;br/&gt;&lt;/code&gt;&lt;/ol&gt;ref: &lt;a href='http://plog.longwin.com.tw/post/1/405'&gt;this&lt;/a&gt; and &lt;a href='http://blog.xuite.net/jerryjcw/blog/18201112'&gt;this&lt;/a&gt;.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-2860809997006956389?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/2860809997006956389/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/screen-in-unutnu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2860809997006956389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2860809997006956389'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/screen-in-unutnu-904.html' title='screen in unutnu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-1410952591276367600</id><published>2009-06-01T23:05:00.003+08:00</published><updated>2009-06-15T22:07:41.756+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='bookmark'/><title type='text'>can't save bookmark in firefox3</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;遇到一個怪問題, 只要新增書籤或刪除書籤後, 重新啟動 firefox 會回溯到最後一次備份的書籤, 本以為是 &lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/2410"&gt;foxmarks&lt;/a&gt; 的問題, 但移除也無法改善, google 一番消化理解後, 得到以下結論:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;刪除 profile 目錄下所有 *.sqlite 的資料檔, 但記得要先&lt;b&gt;備份書籤&lt;/b&gt;.&lt;/li&gt;&lt;code class="cmd"&gt;cp -a ~/.mozilla/firefox/*.default/places.sqlite \&lt;br /&gt;~/places.sqlite.`date +"%Y%m%d"`&lt;br /&gt;rm -f ~/.mozilla/firefox/*.default/*.sqlite&lt;/code&gt;&lt;li&gt;刪除 profile 目錄下的 bookmarkbackups/ 目錄.&lt;/li&gt;&lt;code class="cmd"&gt;rm -rf ~/.mozilla/firefox/*.default/bookmarkbackups/&lt;br /&gt;&lt;/code&gt;&lt;/ul&gt;我是使用後者恢復健康的, hmm..n..&lt;br /&gt;ref: &lt;a href="http://forum.moztw.org/viewtopic.php?p=135140"&gt;this&lt;/a&gt; and &lt;a href="http://kb.mozillazine.org/Bookmarks_not_saved#Places_preferences_-_Firefox_3"&gt;this&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-1410952591276367600?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/1410952591276367600/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/can-save-bookmark-in-firefox3.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1410952591276367600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1410952591276367600'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/can-save-bookmark-in-firefox3.html' title='can&amp;#39;t save bookmark in firefox3'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-7171324677920723291</id><published>2009-06-01T22:02:00.007+08:00</published><updated>2009-08-20T21:08:12.829+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='firefox extension'/><title type='text'>firefox extension list</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;列出正在使用的 &lt;a href="https://addons.mozilla.org/zh-TW/firefox/"&gt;firefox extension&lt;/a&gt;.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/1865"&gt;Adblock Plus&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/1931"&gt;Line Marke&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/9260"&gt;Column Bookmarks&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/26"&gt;Download Statusbar&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/6639"&gt;Easy DragToGo&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/2410"&gt;Foxmarks&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/748"&gt;Greasemonkey&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/1931"&gt;Line Marker&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/7528"&gt;pdfit&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/1730"&gt;ScribeFire Blog Editor&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/11243"&gt;SkipScreen&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;strike&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/4287"&gt;Split Browser&lt;/a&gt;&lt;/strike&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/6113"&gt;tongwen&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/59"&gt;User Agent Switcher&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;strike&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/4891"&gt;Vimperator&lt;/a&gt;&lt;/strike&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/5791"&gt;flagfox&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.mrtech.com/extensions/local_install/"&gt;MR Tech's Toolkit&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/6543"&gt;Nightly Tester Tools&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/1122"&gt;Tab Mix Plus&lt;/a&gt; (&lt;a href="http://tmp.garyr.net/forum/viewtopic.php?t=9864"&gt;Dev-Build&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/11047"&gt;YouTube to MP3&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/6647"&gt;HttpFox&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/2464"&gt;FoxyProxy&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/6424"&gt;Better GReader&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/6460" style="font-weight: bold;"&gt;Better YouTube&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/8493"&gt;Charset Switcher&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/4808"&gt;Google Reader Watcher&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/8352"&gt;Greasefire&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/3576"&gt;GButts - All Google Services at a glance&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/zh-TW/firefox/addon/918"&gt;gTranslate &lt;/a&gt;&lt;br /&gt;&lt;a href="http://draft.blogger.com/"&gt;&lt;/a&gt; &lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-7171324677920723291?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/7171324677920723291/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/firefox-extension-list.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7171324677920723291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7171324677920723291'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/06/firefox-extension-list.html' title='firefox extension list'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-5911257403109599045</id><published>2009-05-31T03:48:00.005+08:00</published><updated>2009-05-31T04:05:27.400+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu tweak'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>ubuntu tweak in ubuntu 9.04</title><content type='html'>安裝完 &lt;a href="http://www.ubuntu.com/"&gt;ubuntu&lt;/a&gt; 需要做一些調整, 或是安裝一些常用的軟體, &lt;a href="http://ubuntu-tweak.com/"&gt;ubuntu tweak&lt;/a&gt; 是一個很好的工具, 一些常用軟體的 source list 都包含在裡面, 對於 gnome gui 的設定很直觀, 不需要開 &lt;a href="http://en.wikipedia.org/wiki/Gconf-editor"&gt;gconf-editor&lt;/a&gt; 慢慢找. 安裝方法如下.&lt;br /&gt;&lt;code class="cmd"&gt;wget http://ubuntu-tweak.googlecode.com/files/ubuntu-tweak_0.4.7.1-1%7Ejaunty1_all.deb&lt;br /&gt;dpkg -i 'ubuntu-tweak_0.4.7.1-1~jaunty1_all.deb'&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;ref: &lt;a href="http://wiki.ubuntu-tw.org/index.php?title=Ubuntu_Tweak"&gt;this&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-5911257403109599045?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/5911257403109599045/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/ubuntu-tweak-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/5911257403109599045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/5911257403109599045'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/ubuntu-tweak-in-ubuntu-904.html' title='ubuntu tweak in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-4839908744429234125</id><published>2009-05-31T03:13:00.007+08:00</published><updated>2009-06-02T21:21:17.682+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='screen'/><category scheme='http://www.blogger.com/atom/ns#' term='terminator'/><category scheme='http://www.blogger.com/atom/ns#' term='terminal'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>terminator in ubuntu 9.04</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;工作上需要開很多的 terminal, 但是螢幕就這麼一丁點大, 除了用 &lt;a href='http://en.gentoo-wiki.com/wiki/Screen'&gt;screen&lt;/a&gt; 之外, 另外一個選擇就是使用 &lt;a href='http://www.tenshu.net/terminator/'&gt;terminator&lt;/a&gt;(&lt;a href='https://launchpad.net/terminator'&gt;host at launchpad&lt;/a&gt;), 它可以將畫面做切割, 比使用 tab 的方式直觀多了, 在觀察 loading, 或是 coding 的時候都非常好用, 而且分割的畫面可以用滑鼠拖拉, 真的很正點.&lt;br/&gt;&lt;blockquote&gt;&lt;span style='font-weight: bold;'&gt;Terminator&lt;/span&gt;&lt;br/&gt;The goal of this project is to produce a useful tool for arranging terminals.&lt;br/&gt;It is inspired by programs such as gnome-multi-term, quadkonsole, etc. in that the main focus is arranging terminals in grids (tabs is the most common default method, which Terminator also supports).&lt;br/&gt;&lt;br/&gt;Much of the behaviour of Terminator is based on GNOME Terminal, and we are adding more features from that as time goes by, but we also want to extend out in different directions with useful features for sysadmins and other users. If you have any suggestions, please file wishlist bugs!&lt;/blockquote&gt;安裝方式如下：&lt;br/&gt;&lt;code class='cmd'&gt;wget http://launchpadlibrarian.net/23910566/terminator_0.12-2_all.deb&lt;br/&gt;dpkg -i terminator_0.12-2_all.deb&lt;br/&gt;&lt;/code&gt;&lt;br/&gt;ref: &lt;a href='http://people.debian.org.tw/%7Echihchun/2008/07/24/terminator-09/'&gt;this&lt;/a&gt; and &lt;a href='http://www.tenshu.net/terminator/'&gt;this&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-4839908744429234125?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/4839908744429234125/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/terminator-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/4839908744429234125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/4839908744429234125'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/terminator-in-ubuntu-904.html' title='terminator in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-8060826308888188105</id><published>2009-05-30T17:32:00.032+08:00</published><updated>2009-07-06T14:08:23.833+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wordpress'/><category scheme='http://www.blogger.com/atom/ns#' term='command-line'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='code'/><category scheme='http://www.blogger.com/atom/ns#' term='blogging'/><category scheme='http://www.blogger.com/atom/ns#' term='script'/><title type='text'>postwp-mu.sh</title><content type='html'>因為工作的關係, 用 bash 寫了一隻 script 可以從 command line 直接 blogging, 原理是將資料轉換成 xml, 並使用 &lt;a href="http://en.wikipedia.org/wiki/Netcat"&gt;netcat&lt;/a&gt; 將 xml 透過 &lt;a href="http://en.wikipedia.org/wiki/XML-RPC"&gt;xml-rpc&lt;/a&gt; protocol 塞給伺服器, 不過是這個 script 是給 &lt;a href="http://wordpress.org/"&gt;wordpress&lt;/a&gt; 用的.. 如果 blogger 有支援 xm-rpc 的話, 我會生一個 for blogger 的版本, 應該會很黑皮, 嘎嘎嘎 !&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;實作功能:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;發佈文章&lt;/li&gt;&lt;li&gt;發佈頁面(page)&lt;/li&gt;&lt;li&gt;發佈文章 or 頁面可指定分類(Categorie)和標籤(tag)&lt;/li&gt;&lt;li&gt;列出文章 or 頁面&lt;/li&gt;&lt;li&gt;刪除頁面(page)&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;預加入功能:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;刪除文章&lt;/li&gt;&lt;li&gt;...&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;其他說明:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;請先修改 script 裡的帳號密碼.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;可以先編輯一篇文章, 再將檔案指定給 script.&lt;/li&gt;&lt;li&gt;wordpress 支援的 html tag 都可以使用, 如 &amp;lt;pre&amp;gt; &amp;lt;code&amp;gt; &amp;lt;blockquote&amp;gt;.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;下載位置:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://code.google.com/p/marlboromoo-tool/downloads/list"&gt;http://code.google.com/p/marlboromoo-tool/downloads/list&lt;br /&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;使用方式:&lt;/span&gt;&lt;br /&gt;直接使用以下指令來看說明.&lt;br /&gt;&lt;code class="cmd"&gt;chmod +x ./postwp-mu.sh&lt;br /&gt;./postwp-mu.sh -h&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;ref: &lt;a href="http://www.acooke.org/cute/XMLRPCwith0.html"&gt;this&lt;/a&gt;, &lt;a href="http://blog.5ubliminal.com/posts/remote-control-wordpress-blog-xmlrpc-api/"&gt;this&lt;/a&gt; and &lt;a href="http://codex.wordpress.org/XML-RPC"&gt;this&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-8060826308888188105?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/8060826308888188105/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/postwp-mush.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/8060826308888188105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/8060826308888188105'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/postwp-mush.html' title='postwp-mu.sh'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-2445592489291696441</id><published>2009-05-30T15:46:00.016+08:00</published><updated>2009-05-31T05:01:35.693+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blogger hack'/><category scheme='http://www.blogger.com/atom/ns#' term='ie6 suck'/><title type='text'>Internet Explorer 6 SUCK !!</title><content type='html'>What the fuck, ie6 問題真的有夠多, 都不照 W3C 的規範走, 用它來瀏覽常有莫名其妙的東西出現, 為了抓這些奇奇怪怪的蟲子, 浪費了我很多的生命, M$ 真是造孽. 列出幾個這幾天碰到的問題. 請大家務必愛用 &lt;a href="http://www.moztw.org/"&gt;firefox&lt;/a&gt; 啊 ...&lt;br /&gt;&lt;ol&gt;&lt;li&gt;如果 div 同時設定 float 和 margin, pixel 會加倍, 10px 變成 20px. 必須透過加上 display:inline; 來修正.&lt;br /&gt;&lt;/li&gt;&lt;code class="prettyprint"&gt;#IamFloat{&lt;br /&gt;float:left;&lt;br /&gt;margin:10px;&lt;br /&gt;display:inline;}&lt;br /&gt;&lt;br /&gt;&amp;lt; #div id="imfloat"&amp;gt;&lt;/code&gt;&lt;li&gt;文字 or 圖片常度過寬未手動斷行, 整個 layout 爆炸, 於 main-wrapper 或是 sidebar-wrapper 的 css 加入 word-wrap 還有 overflow 的參數來修正.&lt;br /&gt;&lt;/li&gt;&lt;code class="prettyprint"&gt;width: 410px;&lt;br /&gt;float: left;&lt;br /&gt;word-wrap: break-word; /* fix for long text breaking sidebar float in IE */&lt;br /&gt;overflow: hidden; /* fix for long non-text content breaking IE sidebar float */&lt;br /&gt;....... }&lt;br /&gt;&lt;br /&gt;#sidebar-wrapper {&lt;br /&gt;width: 220px;&lt;br /&gt;float: right;&lt;br /&gt;word-wrap: break-word; /* fix for long text breaking sidebar float in IE */&lt;br /&gt;overflow: hidden; /* fix for long non-text content breaking IE sidebar float */&lt;br /&gt;........ }&lt;/code&gt;&lt;li&gt;圖檔為 png 格式的透明背景在 ie6 無法正常顯示, 必須使用 gif ! 嘖嘖. &lt;/li&gt;&lt;/ol&gt;另外有一個可以用來確認 layout 的網站 &lt;a href="http://browsershots.org/"&gt;Browsershots&lt;/a&gt;, 很方便.&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold;"&gt;What is Browsershots?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Browsershots makes screenshots of your web design in different browsers. It is a free open-source online service created by Johann C. Rocholl. When you submit your web address, it will be added to the job queue. A number of distributed computers will open your website in their browser. Then they will make screenshots and upload them to the central server here.&lt;br /&gt;&lt;/blockquote&gt;ref: &lt;a href="http://mygaf.jack-ck.com/viewthread.php?tid=81710"&gt;this&lt;/a&gt;, &lt;a href="http://chenkaie.blogspot.com/2006/11/blog-overflow-problems-in-ie-sidebar.html"&gt;this&lt;/a&gt; and &lt;a href="http://moto.debian.org.tw/viewtopic.php?p=27026&amp;amp;sid=b66f5fe12472e28f62dd66f19c16410c"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-2445592489291696441?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/2445592489291696441/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/internet-explorer-6-suck.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2445592489291696441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/2445592489291696441'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/internet-explorer-6-suck.html' title='Internet Explorer 6 SUCK !!'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-4917961752912879864</id><published>2009-05-28T23:25:00.009+08:00</published><updated>2009-05-29T15:29:37.011+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rock'/><category scheme='http://www.blogger.com/atom/ns#' term='music'/><title type='text'>My Chemical Romance</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_yqYsGOl897k/Sh6tT70XXdI/AAAAAAAAAik/S1DATzXH1CQ/s1600-h/fea5820dd7a0b21441c8e010.L.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 283px;" src="http://3.bp.blogspot.com/_yqYsGOl897k/Sh6tT70XXdI/AAAAAAAAAik/S1DATzXH1CQ/s320/fea5820dd7a0b21441c8e010.L.jpg" alt="" id="BLOGGER_PHOTO_ID_5340896766094433746" border="0" /&gt;&lt;/a&gt;&lt;a href="http://www.mychemicalromance.com/"&gt;My Chemical Romance&lt;/a&gt; (&lt;a href="http://en.wikipedia.org/wiki/My_Chemical_Romance"&gt;wiki&lt;/a&gt;) 雖然是老團, 不過還是很正點, 每次聽 &lt;a href="http://www.youtube.com/watch?v=fqUJ8nB18sQ"&gt;welcome to the black parade&lt;/a&gt; (&lt;a href="http://vids.myspace.com/index.cfm?fuseaction=vids.individual&amp;amp;videoid=2867245"&gt;mv&lt;/a&gt;), 還是會起雞皮疙瘩.&lt;br /&gt;&lt;br /&gt;The Black Parade track listing&lt;br /&gt;#     Title     Length&lt;br /&gt;1.     "The End."       1:52&lt;br /&gt;2.     "Dead!"       3:15&lt;br /&gt;3.     "This Is How I Disappear"       4:02&lt;br /&gt;4.     "The Sharpest Lives"       3:20&lt;br /&gt;5.     "Welcome to the Black Parade"       5:11&lt;br /&gt;6.     "&lt;a href="http://www.youtube.com/watch?v=ghOqudYGhnk"&gt;I Don't Love You&lt;/a&gt;"       4:00&lt;br /&gt;7.     "House of Wolves"       3:04&lt;br /&gt;8.     "Cancer"       2:22&lt;br /&gt;9.     "Mama"       4:41&lt;br /&gt;10.     "Sleep"       4:43&lt;br /&gt;11.     "Teenagers"       2:41&lt;br /&gt;12.     "Disenchanted"       4:55&lt;br /&gt;13.     "Famous Last Words"       5:01&lt;br /&gt;14.     "Blood" (hidden track)     2:53&lt;br /&gt;B-sides&lt;br /&gt;#     Title     Length&lt;br /&gt;1.     "Kill All Your Friends"       4:28&lt;br /&gt;2.     "Welcome to the Black Parade (Live)"       5:29&lt;br /&gt;3.     "Heaven Help Us"       2:54&lt;br /&gt;4.     "My Way Home Is Through You"       2:59&lt;br /&gt;5.     "Famous Last Words (Live)"       4:53&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;Welcome to the Black Parade&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When I was a young boy my father took me into the city&lt;br /&gt;to see a marching band&lt;br /&gt;He said 'Son when you grow up, would you be,&lt;br /&gt;the saviour of the broken, the beaten and the damned?'&lt;br /&gt;He said 'Will you, defeat them, your demons,&lt;br /&gt;and all the non-believers, the plans that they have made?&lt;br /&gt;Because one day I'll leave you a phantom&lt;br /&gt;to lead you in the summer to join the Black Parade.'&lt;br /&gt;&lt;br /&gt;WHEN I WAS A YOUNG BOY, MY FATHER TOOK ME INTO THE CITY&lt;br /&gt;TO SEE A MARCHING BAND!&lt;br /&gt;HE SAID 'SON WHEN YOU GROW UP, WOULD YOU BE,&lt;br /&gt;THE SAVIOUR OF THE BROKEN, THE BEATEN AND THE DAMNED?!'&lt;br /&gt;&lt;br /&gt;Sometimes I get the feeling&lt;br /&gt;She's watching over me&lt;br /&gt;And other times I feel like I should go&lt;br /&gt;And through it all; the rise and fall,&lt;br /&gt;the bodies in the streets&lt;br /&gt;And when you come we watch you want to know&lt;br /&gt;We'll carry on&lt;br /&gt;We'll carry on&lt;br /&gt;and though you're singing, god believe me&lt;br /&gt;Your memory will carry on&lt;br /&gt;You'll carry on&lt;br /&gt;And in my heart I can't contain it&lt;br /&gt;The end of world is waiting&lt;br /&gt;Your romances you reel in from decimated dreams&lt;br /&gt;Your misery and hate will kill us all!&lt;br /&gt;So paint it black and take it back&lt;br /&gt;And let's shout aloud at prayer!&lt;br /&gt;Defy unto the end we hear the call!&lt;br /&gt;So carry on&lt;br /&gt;We'll carry on&lt;br /&gt;and though your singing, god believe me&lt;br /&gt;Your memory will carry on&lt;br /&gt;And carry on&lt;br /&gt;And though you're broken and defeated&lt;br /&gt;Your weary widow marches&lt;br /&gt;On and on we carry through the fears&lt;br /&gt;Disappointed faces of your peers&lt;br /&gt;Take a look at me&lt;br /&gt;Cause I could not care at all&lt;br /&gt;Do or die&lt;br /&gt;You'll never make me&lt;br /&gt;Because I won't&lt;br /&gt;You'll never take my heart&lt;br /&gt;And though they try&lt;br /&gt;They'll never break me&lt;br /&gt;They want it all&lt;br /&gt;They wanna break this heart&lt;br /&gt;I won't explain&lt;br /&gt;Or say I'm sorry&lt;br /&gt;I'm not ashamed&lt;br /&gt;I'm gonna show my scar&lt;br /&gt;Give the chair&lt;br /&gt;Now while I'm broken&lt;br /&gt;Listen here!&lt;br /&gt;And listen to me!&lt;br /&gt;I'm just a man,&lt;br /&gt;I'm not a hero&lt;br /&gt;Just a boy&lt;br /&gt;Now let him sing this song&lt;br /&gt;I'm just a man&lt;br /&gt;I'm not a hero&lt;br /&gt;I don't care&lt;br /&gt;We'll carry on&lt;br /&gt;We'll carry on&lt;br /&gt;And though you're singing, god believe me&lt;br /&gt;Your memory will carry on&lt;br /&gt;You'll carry on&lt;br /&gt;And though you're broken and defeated&lt;br /&gt;Your weary widow marches on!&lt;br /&gt;Do or die&lt;br /&gt;You'll never make me&lt;br /&gt;Because I won't&lt;br /&gt;You'll never take my heart&lt;br /&gt;And though they try&lt;br /&gt;They'll never break me&lt;br /&gt;They want it all&lt;br /&gt;They wanna break this heart&lt;br /&gt;Do or die&lt;br /&gt;You'll never make me&lt;br /&gt;Because I won't&lt;br /&gt;You'll never take my heart&lt;br /&gt;And though they try&lt;br /&gt;They'll never break me&lt;br /&gt;They want it all&lt;br /&gt;They wanna break this heart&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-4917961752912879864?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/4917961752912879864/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/my-chemical-romance.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/4917961752912879864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/4917961752912879864'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/my-chemical-romance.html' title='My Chemical Romance'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_yqYsGOl897k/Sh6tT70XXdI/AAAAAAAAAik/S1DATzXH1CQ/s72-c/fea5820dd7a0b21441c8e010.L.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-3809837539999207977</id><published>2009-05-28T16:48:00.012+08:00</published><updated>2009-05-30T15:20:03.180+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='pgp'/><title type='text'>apt-key in ubuntu 9.04</title><content type='html'>有時候需要增加一些非官方的 repositories 到 apt 的 source list 裡面, 使用以下指令手動下載並新增 pgp key, "5A9BF3BB4E5E17B5" 這一串數值是 keyid. 因 repositorie 而異.&lt;br /&gt;&lt;code class="cmd"&gt;sudo apt-key adv --recv-keys --keyserver subkeys.pgp.net \&lt;br /&gt;5A9BF3BB4E5E17B5&lt;/code&gt;&lt;br /&gt;但是 pgp keyserver 的 port 預設不是開在 80, 如過公司的 firewall 有檔的話, 就必須另外找有 80 port 的 keyserver 了, 使用下面的方式指定.&lt;br /&gt;&lt;code class="cmd"&gt;sudo apt-key adv --recv-keys --keyserver hkp://sks.nanofortnight.org:80 \&lt;br /&gt;5A9BF3BB4E5E17B5&lt;/code&gt;&lt;br /&gt;p.s &lt;a href="http://www.pramberger.at/peter/services/keyserver/network/"&gt;這裡&lt;/a&gt;可以找到許多的 80 pgp keyserver.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-3809837539999207977?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/3809837539999207977/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/apt-key-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/3809837539999207977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/3809837539999207977'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/apt-key-in-ubuntu-904.html' title='apt-key in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-348876175271348434</id><published>2009-05-28T15:56:00.036+08:00</published><updated>2009-05-30T15:35:22.949+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mobile'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>syncCE with windows mobile 6.1 plus evolution2 in ubuntu 9.04</title><content type='html'>在 ubuntu 裡要同步 windows mobile 的聯絡人, 當然無法用 activesync, 不過有 opensource 的 project 可以替代, &lt;a href="http://www.synce.org/"&gt;syncCE&lt;/a&gt;.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;因為要安裝的東西真不少, 這次用 apt-get 的方式, 加入 syncCE 位於 &lt;a href="https://launchpad.net/"&gt;launchpad.net&lt;/a&gt; 的 repositories.&lt;/li&gt;&lt;code class="cmd"&gt;sudo echo '&lt;br /&gt;#syncCE&lt;br /&gt;deb http://ppa.launchpad.net/synce/ubuntu jaunty main&lt;br /&gt;deb-src http://ppa.launchpad.net/synce/ubuntu jaunty main' &gt;&gt; /etc/apt/sources.list&lt;/code&gt;&lt;li&gt;加入這個 repositories 的 pgp key.&lt;br /&gt;&lt;/li&gt;&lt;code class="cmd"&gt;sudo apt-key adv --recv-keys --keyserver subkeys.pgp.net \&lt;br /&gt;5A9BF3BB4E5E17B5&lt;br /&gt;sudo apt-key adv --recv-keys --keyserver subkeys.pgp.net \&lt;br /&gt;B152F042D246C25D&lt;br /&gt;sudo apt-get update&lt;/code&gt;&lt;li&gt;開始安裝相關套件, 其中 opensync-plugin-evolution 如其名, 就是 evolution2 的 plugin, multisync0.90 則是 gui.&lt;/li&gt;&lt;code class="cmd"&gt;sudo apt-get install synce-hal librra-tools librapi2-tools&lt;br /&gt;sudo apt-get install multisync-tools opensync-plugin-synce synce-sync-engine&lt;br /&gt;sudo apt-get install opensync-plugin-evolution&lt;br /&gt;sudo apt-get install multisync0.90  &lt;/code&gt;&lt;li&gt;安裝完後, 可以使用以下的指令來啟動服務並確認是否正常連線 windows mobile, 沒有意外應該可以看見一些 mobile 裡面的資料夾.&lt;/li&gt;&lt;code class="cmd"&gt;synce-sync-engine &amp;amp;&lt;br /&gt;synce-pls&lt;/code&gt;&lt;li&gt;如同使用 activesync, 要先建立 profile, 因為 windows mobile 的限制, 最多只能建立兩個 profile, 如果要再建立, 必須先刪除, 使用以下指令來查詢,或是刪除.&lt;/li&gt;&lt;code class="cmd"&gt;synce-list-partnerships #查尋&lt;br /&gt;synce-delete-partnership #刪除&lt;/code&gt;&lt;li&gt;如過沒問題, 就開始建立 profile, 下方的範例是建立一個名稱為 "Ubuntu notebook", 並且同步聯絡人和行事曆的 profile.有四種同步的類型做選擇, 分別為 Contacts(聯絡人), Calendar(行事曆), Tasks(事件), Files(檔案).&lt;/li&gt;&lt;code class="cmd"&gt;synce-create-partnership "Ubuntu notebook" "Contacts,Calendar"&lt;/code&gt;&lt;li&gt;設定 sync 群組, 將 snycCE 透過 opensync 的 plugin 同步到 evolution2.&lt;br /&gt;&lt;/li&gt;&lt;code class="cmd"&gt;msynctool --addgroup synce-sync&lt;br /&gt;msynctool --addmember synce-sync synce-opensync-plugin&lt;br /&gt;msynctool --addmember synce-sync evo2-sync&lt;/code&gt;&lt;li&gt;終於可以同步了, 推薦使用 gui, 輸入以下指令.&lt;/li&gt;&lt;code class="cmd"&gt;multisync0.90&lt;/code&gt;&lt;li&gt;也可以使用 command line.&lt;/li&gt;&lt;code class="cmd"&gt;msynctool --sync synce-sync&lt;/code&gt;&lt;li&gt;打開 evolution2, 可愛的聯絡人都出現了, ya !!&lt;/li&gt;&lt;/ol&gt;p.s 如果同步異常, evolution2 裡面新增一個英文名稱的通訊錄試試看.&lt;br /&gt;ref: &lt;a href="http://eric925.blogbus.com/logs/34147866.html"&gt;this&lt;/a&gt;, &lt;a href="http://gd-jing.blog.sohu.com/100580769.html"&gt;this&lt;/a&gt; and &lt;a href="http://www.synce.org/moin/SynceInstallation/Ubuntu/ModernDevice"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-348876175271348434?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/348876175271348434/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/syncce-with-windows-mobile-61-plus.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/348876175271348434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/348876175271348434'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/syncce-with-windows-mobile-61-plus.html' title='syncCE with windows mobile 6.1 plus evolution2 in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-9203008154800283548</id><published>2009-05-28T10:41:00.015+08:00</published><updated>2009-05-30T15:34:40.484+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='virtualbox'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>virtualbox in ubuntu 9.04</title><content type='html'>雖然歐若扣收購了太陽, 還是要用 &lt;a href="http://www.virtualbox.org/"&gt;virtuallbox&lt;/a&gt;, 我喜歡從 &lt;a href="http://www.virtualbox.org/wiki/Downloads"&gt;offcial site&lt;/a&gt; 抓, 安裝完還要針對 guest os 無法使用 usb 的 bug 做修正, 順便安裝 "額外客端功能"(&lt;a href="http://www.virtualbox.org/manual/UserManual.html#id2636938"&gt;guest additions&lt;/a&gt;) , 可以和 guest os 有更方便的互動.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;我不喜歡加到 source list 的方式, 還要新增 gpg key, 真麻煩, 直接抓, 然後 install, 要加入 source list, 請看&lt;a href="http://www.virtualbox.org/wiki/Linux_Downloads"&gt;這裡&lt;/a&gt;.&lt;br /&gt;&lt;/li&gt;&lt;code class="cmd"&gt;wget http://download.virtualbox.org/virtualbox/2.2.2/virtualbox-2.2_2.2.2-46594_Ubuntu_jaunty_i386.deb&lt;br /&gt;dpkg -i virtualbox-2.2_2.2.2-46594_Ubuntu_jaunty_i386.deb&lt;br /&gt;&lt;/code&gt;&lt;li&gt;修正 guest os 無法使用 usb 的 bug, 先將你的帳號加入 vboxusers 的群組.&lt;/li&gt;&lt;code class="cmd"&gt;sudo usermod -G vboxusers -a `whoami`&lt;/code&gt;&lt;li&gt;取得群組 vboxusers id 並且修改 usbfs 的權限, 讓 vboxusers 群組可以存取.&lt;br /&gt;&lt;/li&gt;&lt;code class="cmd"&gt;vboxusers_id=`sudo grep vboxusers /etc/group | cut -d':' -f3`&lt;br /&gt;sudo echo "&lt;br /&gt;# /dev/usb&lt;br /&gt;none  /proc/bus/usb  usbfs  auto,busgid=$vboxusers_id,\&lt;br /&gt;busmode=0775,devgid=$vboxusers_id,devmode=0664  0  0" &gt;&gt; /etc/fstab&lt;br /&gt;&lt;/code&gt;&lt;li&gt;最好的方式, 重起你的 os !&lt;br /&gt;&lt;/li&gt;&lt;code class="cmd"&gt;sync;sync;sync&lt;br /&gt;sudo reboot&lt;br /&gt;&lt;/code&gt;&lt;li&gt;Finishhhhhhh !&lt;/li&gt;&lt;/ol&gt;ref: &lt;a href="http://www.virtualbox.org/manual/UserManual.html"&gt;this&lt;/a&gt;, &lt;a href="http://ubuntuforums.org/showthread.php?p=2082674"&gt;this&lt;/a&gt; and &lt;a href="http://www.tmes.mlc.edu.tw/wiki/index.php/VirtualBox"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-9203008154800283548?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/9203008154800283548/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/virtualbox-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/9203008154800283548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/9203008154800283548'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/virtualbox-in-ubuntu-904.html' title='virtualbox in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-7736689150675371584</id><published>2009-05-28T04:03:00.010+08:00</published><updated>2009-05-28T04:32:09.758+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blogger hack'/><title type='text'>blogger post always show date</title><content type='html'>為了使用 update time 的 hack, 所以也得讓每篇文章都顯示日期, google 一下找到 hack 的方法, 用 java script 把日期存入變數再印出.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;將下方 script 放在 &amp;lt;head&amp;gt; 後, &amp;lt;b:skin&amp;gt; 前.&lt;br /&gt;&lt;/li&gt;&lt;code class="prettyprint"&gt;&amp;lt;script type='text/Javascript'&amp;gt;&lt;br /&gt;var d;&lt;br /&gt;function saveDate(c){&lt;br /&gt;if(c!=&amp;amp;#39;&amp;amp;#39;) d=c;&lt;br /&gt;document.write(d);&lt;br /&gt;}&lt;br /&gt;function showDate(a){&lt;br /&gt;document.write(d);&lt;br /&gt;}&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;li&gt;找到類似下方 data:post.dateHeader 的區段.&lt;br /&gt;&lt;/li&gt;&lt;code class="prettyprint"&gt;&amp;lt;b:if cond='data:post.dateHeader'&amp;gt;&lt;br /&gt;&amp;lt;data:post.dateHeader/&amp;gt;&lt;br /&gt;&amp;lt;/b:if&amp;gt;&lt;/code&gt;&lt;li&gt;參考成下方的 code 做修改, 依 teamplate 而異&lt;br /&gt;&lt;/li&gt;&lt;code class="prettyprint"&gt;&amp;lt;b:if cond='data:post.dateHeader'&amp;gt;&lt;br /&gt;&amp;lt;script&amp;gt;saveDate(&amp;amp;#39;&amp;lt;data:post.dateHeader/&amp;gt;&amp;amp;#39;);&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;b:else/&amp;gt;&lt;br /&gt;&amp;lt;script&amp;gt;showDate();&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/b:if&amp;gt;&lt;/code&gt;&lt;li&gt;weeeeeeeeeee ;D&lt;/li&gt;&lt;/ol&gt;ref: &lt;a href="http://varkalin.blogspot.com/2008/11/blogger.html"&gt;this&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-7736689150675371584?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/7736689150675371584/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/blogger-post-always-show-date.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7736689150675371584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7736689150675371584'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/blogger-post-always-show-date.html' title='blogger post always show date'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-687947324024616707</id><published>2009-05-27T23:53:00.007+08:00</published><updated>2009-05-30T15:29:51.161+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blogger tip'/><title type='text'>blogger post template</title><content type='html'>常常需要在 blogger 裡用 custom 的 tag, 覺得很麻煩, 直接把這些 tag 加到&lt;span&gt;文章範本&lt;/span&gt;裡就 ok 了,步驟如下:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;登入 blogger 的後臺&lt;/li&gt;&lt;li&gt;設定 -&gt; 格式 -&gt; 文章範本&lt;/li&gt;&lt;li&gt;加入你常用的 tag&lt;/li&gt;&lt;code class="prettyprint"&gt;&amp;lt;code class="prettyprint"&amp;gt;&lt;br /&gt;&amp;lt;/code&amp;gt;&lt;br /&gt;&amp;lt;code class="cmd"&amp;gt;&lt;br /&gt;&amp;lt;/code&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;li&gt;發表新文章, 切換到修改Html的tab&lt;/li&gt;&lt;li&gt;done.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;ref: &lt;a href="http://help.blogger.com/bin/answer.py?answer=41401"&gt;this&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-687947324024616707?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/687947324024616707/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/blogger.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/687947324024616707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/687947324024616707'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/blogger.html' title='blogger post template'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-4232769541951329604</id><published>2009-05-24T15:28:00.025+08:00</published><updated>2009-08-04T22:59:38.384+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blogger hack'/><title type='text'>blogger hack list</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;已實裝的:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://abintech.azhai.org/2008/01/recent-comments.html"&gt;recent comments&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://abintech.twidv.com/2008/01/blog-post.html"&gt;recent posts&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;a href="http://abintech.azhai.org/2007/03/blog-post.html"&gt;&lt;span id="detail"&gt;page generation time&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span id="detail"&gt;&lt;a href="http://chenkaie.blogspot.com/2006/12/javascript-selectable-post-font-size.html"&gt;font size&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://chenkaie.blogspot.com/2006/11/blog-peek-boo-view-of-posts-in.html"&gt;&lt;span id="detail"&gt;blog peek boo view of posts in&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span id="detail"&gt;&lt;a href="http://www.xavierliu.com/2009/03/page-menu.html"&gt;page menu&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span id="detail"&gt;&lt;a href="http://widgetsforfree.blogspot.com/2008/01/blogger-search-bar-form_24.html"&gt;search bar&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span id="detail"&gt;&lt;a href="http://marlboromoo.blogspot.com/2009/05/blogger-plus-google-code-prettify-code.html"&gt;blogger plus google code prettify code&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span id="detail"&gt;&lt;a href="http://varkalin.blogspot.com/2008/11/blogger.html"&gt;always show post time&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://abintech.azhai.org/2009/03/show-post-update-time.html"&gt;show post update time&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://abintech.azhai.org/2006/12/blog-post_15.html"&gt;bookmark icon feat post icon&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://abintech.azhai.org/2007/03/related-post.html"&gt;related post&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://abintech.azhai.org/2006/11/label-cloud.html"&gt;label cloud&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://abintech.azhai.org/2008/10/archives-default-collapsed.html"&gt;archives default collapsed&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://abintech.azhai.org/2007/02/sidebar-element-toggling.html"&gt;sidebar element toggling&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;感興趣的:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://abintech.azhai.org/2006/11/author-comment-highlighting.html"&gt;author comment highlighting&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://chenkaie.blogspot.com/2007/04/javascript-style-sheet-switcher.html"&gt;javascript style sheet switcher&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://chenkaie.blogspot.com/2007/03/javascript-encrypt-your-private-blog.html"&gt;javascript encrypt your private blog&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.xavierliu.com/2009/05/blogger-hack-auto-read-more.html"&gt;blogger hack auto read more&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://cjhtech.blogspot.com/"&gt;繼續閱讀懶人加強版&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;p.s blogger 真是殺時間的玩具.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-4232769541951329604?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/4232769541951329604/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/blogger-hack-list.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/4232769541951329604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/4232769541951329604'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/blogger-hack-list.html' title='blogger hack list'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-7604185359987715835</id><published>2009-05-24T15:02:00.016+08:00</published><updated>2009-05-30T14:29:56.153+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blogger hack'/><category scheme='http://www.blogger.com/atom/ns#' term='resource'/><title type='text'>blogger hack resource</title><content type='html'>hack reference:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://abintech.azhai.org/search/label/BLOGGER%20HACK"&gt;http://abintech.azhai.org/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://chenkaie.blogspot.com/search/label/blogger%20hack"&gt;http://chenkaie.blogspot.com/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.xavierliu.com/search/label/Blogger%20Hack"&gt;http://www.xavierliu.com/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://themelib.com/category/blogger-tutorials/"&gt;http://themelib.com/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.techieblogger.com/search/label/Blogger%20Hack"&gt;http://www.techieblogger.com/&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;widgets:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://widgetsforfree.blogspot.com/"&gt;http://widgetsforfree.blogspot.com/&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;teamplate:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://btemplates.com/"&gt;http://btemplates.com/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://quiterandom.com/"&gt;http://quiterandom.com/&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.blogger.com/category/free-blogger-templates/"&gt;http://themelib.com/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.bloggerstyles.com/"&gt;http://www.bloggerstyles.com/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://falconhive.com/"&gt;http://falconhive.com/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.deluxetemplates.net/"&gt;http://www.deluxetemplates.net/&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;resource:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://bgpatterns.com/"&gt;http://bgpatterns.com/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.lucazappa.com/brilliantMaker/buttonImage.php"&gt;http://www.lucazappa.com/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://code.google.com/p/google-code-prettify/"&gt;http://code.google.com/p/google-code-prettify/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://browsershots.org/"&gt;http://browsershots.org/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.addthis.com/"&gt;http://www.addthis.com/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://sharethis.com/"&gt;http://sharethis.com/&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-7604185359987715835?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/7604185359987715835/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/blooger-hack-list.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7604185359987715835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7604185359987715835'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/blooger-hack-list.html' title='blogger hack resource'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-1102007210362474035</id><published>2009-05-23T11:16:00.036+08:00</published><updated>2009-05-30T15:44:52.495+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='highlight'/><category scheme='http://www.blogger.com/atom/ns#' term='blogger hack'/><category scheme='http://www.blogger.com/atom/ns#' term='prettify'/><title type='text'>blogger plus google-code-prettify = code block hightlight</title><content type='html'>為了 blogger 的 code block hightlight 搞了好幾天, 先後試了 &lt;a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter"&gt;SyntaxHighlighter&lt;/a&gt; 和 &lt;a href="http://code.google.com/p/google-code-prettify/"&gt;google-code-prettify&lt;/a&gt; , 最後決定用後者, 因為 SyntaxHighlighter 的 js 實在太多了, blogger 打開的速度慢的嚇人, 雖然有很多方便的功能(&lt;a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter:Demo:toolbar"&gt;toolbar&lt;/a&gt;), 且有不同的 &lt;a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter:Themes"&gt;theme&lt;/a&gt; 可以選擇, 不過為了效能, 還是算了吧 :( . 下列做一些安裝筆記.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;先下載 &lt;a href="http://code.google.com/p/google-code-prettify/downloads/list"&gt;google-code-prettify&lt;/a&gt; , 將壓縮檔解開目錄下的 /src 都上傳到你的網頁空間(推薦 &lt;a href="http://www.hostse.com/"&gt;hostse.com&lt;/a&gt;). &lt;/li&gt;&lt;li&gt;修改 blogger teamplate(版面配置 &gt; 修改 HTML), 找到 &amp;lt;head&amp;gt; 於下方加入以下的 code.&lt;/li&gt;&lt;code class="prettyprint"&gt;&amp;lt;!-- google prettify --&amp;gt;&lt;br /&gt;&amp;lt;link href='http://你的網頁空間網址/prettify.css' rel='stylesheet' type='text/css'/&amp;gt;&lt;br /&gt;&amp;lt;script src='http://你的網頁空間網址/prettify.js' type='text/javascript'/&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;li&gt;再找到 &amp;lt;body&gt;, 將它修改成下方的 code.&lt;/li&gt;&lt;code class="prettyprint"&gt;&amp;lt;!-- load google prettify --&amp;gt;&lt;br /&gt;&amp;lt;body onload='prettyPrint()'&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;li&gt;自訂 css 給 &amp;lt;code&gt; tag 用.&lt;/li&gt;&lt;code class="prettyprint"&gt;/* CSS for Code Block and Cmd Block in content */&lt;br /&gt;code {&lt;br /&gt;display: block; /* fixes a strange ie margin bug */&lt;br /&gt;white-space: pre-wrap;       /* css-3 */&lt;br /&gt;white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */&lt;br /&gt;white-space: -pre-wrap;      /* Opera 4-6 */&lt;br /&gt;white-space: -o-pre-wrap;    /* Opera 7 */&lt;br /&gt;word-wrap: break-word;       /* Internet Explorer 5.5+ */&lt;br /&gt;font: normal normal 100% Verdana, Arial, Sans-serif;&lt;br /&gt;font-size: 10pt;&lt;br /&gt;color:#000000;&lt;br /&gt;overflow:auto;&lt;br /&gt;background: #fbfaf7 url('http://你的網頁空間網址/Code_BG.gif') left top repeat-y;&lt;br /&gt;border: 1px solid #000000;&lt;br /&gt;padding: 10px 5px 10px 20px;&lt;br /&gt;margin: 5px 15px 5px 15px;&lt;br /&gt;max-height:250px;&lt;br /&gt;height: expression(this.offsetHeight&amp;gt;205?205:'');   /*fix for IE without max-height*/&lt;br /&gt;line-height: 1.2em;&lt;br /&gt;text-decoration: none;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;code.cmd {&lt;br /&gt;color:#ffffff;&lt;br /&gt;background: #000000 url('http://你的網頁空間網址/BG_CMD.gif') left top repeat-y;&lt;br /&gt;border: 1px solid #ffffff;&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;li&gt;&amp;lt;code&gt; tag 使用方式如下, 以後就有 hightlight 啦, ohya.&lt;/li&gt;&lt;code class="prettyprint"&gt;&amp;lt;code class="prettyprint"&amp;gt;&lt;br /&gt;你的 code.&lt;br /&gt;&amp;lt;/code&amp;gt;&lt;br /&gt;&amp;lt;code class=&amp;quot;cmd&amp;quot;&amp;gt;&lt;br /&gt;你的 command.&lt;br /&gt;&amp;lt;/code&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/ol&gt;&lt;br /&gt;p.s 一些字元還是需要手動轉換的, like &lt; &gt; &amp;amp; " , 就用 &lt;a href="http://www.dan.co.jp/cases/javascript/encode_entities.html"&gt;Text -&gt; HTML Entities Encoder&lt;/a&gt; 吧.&lt;br /&gt;ref: &lt;a href="http://nxforce.blogspot.com/2009/02/blog-google-code-prettify.html"&gt;this&lt;/a&gt;, &lt;a href="http://blog-spin.blogspot.com/2008/03/bloggercode-block.html"&gt;this&lt;/a&gt;, &lt;a href="http://www.kissuki.com/2009/03/google-code-prettify-blogspot.html"&gt;this&lt;/a&gt;, and &lt;a href="http://google-code-prettify.googlecode.com/svn/trunk/README.html"&gt;this&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-1102007210362474035?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/1102007210362474035/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/blogger-plus-google-code-prettify-code.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1102007210362474035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1102007210362474035'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/blogger-plus-google-code-prettify-code.html' title='blogger plus google-code-prettify = code block hightlight'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-7948836503602559061</id><published>2009-05-21T23:03:00.044+08:00</published><updated>2009-05-23T11:06:35.288+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='test'/><title type='text'>syntax highlight test.</title><content type='html'>&lt;code class="prettyprint"&gt;#!/bin/sh&lt;br /&gt;echo 'hello world!'&lt;br /&gt;echo 123:456 | cut -d':' -f2 | sort &gt; /tmp/123.log&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-7948836503602559061?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/7948836503602559061/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/syntaxhighlighter-test.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7948836503602559061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7948836503602559061'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/syntaxhighlighter-test.html' title='syntax highlight test.'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-1148403784353781690</id><published>2009-05-17T22:10:00.010+08:00</published><updated>2009-05-30T15:33:52.703+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='editor'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>gedit in ubuntu 9.04</title><content type='html'>在 ubuntu 9.04 的 deault $LANG 是 zh_TW.UTF-8, gedit 也就無法自動偵測 big5 or gbk 的檔案, 用 gconftool 來設定一下就搞定拉 !&lt;br /&gt;&lt;code class="cmd"&gt;gconftool-2 --set --type=list --list-type=string /apps/gedit-2/preferences/encodings/auto_detected "[UTF-8,CURRENT,GBK,BIG5-HKSCS,UTF-16]"&lt;/code&gt;&lt;br /&gt;ref: &lt;a href="http://www.mail-archive.com/debian-chinese-gb@lists.debian.org/msg15092.html"&gt;this&lt;/a&gt; and &lt;a href="http://www.diybl.com/course/6_system/linux/Linuxjs/200865/122383.html"&gt;this&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-1148403784353781690?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/1148403784353781690/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/gedit-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1148403784353781690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/1148403784353781690'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/gedit-in-ubuntu-904.html' title='gedit in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-7565673628245091397</id><published>2009-05-16T23:30:00.032+08:00</published><updated>2009-10-30T18:03:03.214+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='font'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>font in ubuntu 9.04</title><content type='html'>一些 ubutnu 9.04 的字型 note, 我還是不怎麼喜歡黑體字 !!&lt;br /&gt;&lt;ol&gt;&lt;li&gt;英文字型：目前使用點陣字型 &lt;a href="http://packages.debian.org/xfonts-terminus"&gt;Terminus&lt;/a&gt;, 可以直接 apt-get install.&lt;/li&gt;&lt;code class="cmd"&gt;sudo apt-get install xfonts-terminus&lt;/code&gt;&lt;li&gt;中文字型：改用點陣字型 &lt;a href="http://wenq.org/index.cgi?BitmapSong"&gt;WenQuanYi Zen Hei&lt;/a&gt;, 預設已安裝, 另外字型模糊的部份, 請修改以下檔案的三個數值, 並做連結, 或是直接安裝新版的&lt;a href="http://wenq.org/index.cgi?ZenHei"&gt;文泉驛正黑體&lt;/a&gt;.&lt;/li&gt;&lt;code class="cmd"&gt;sudo vi /etc/fonts/conf.avail/66-wqy-zenhei-sharp.conf&lt;/code&gt;&lt;code class="prettyprint"&gt;&amp;lt;test compare="more_eq" name="pixelsize"&amp;gt;&amp;lt;double&amp;gt;12&amp;lt;/double&amp;gt;&amp;lt;/test&amp;gt;&lt;br /&gt;&amp;lt;test compare="less_eq" name="pixelsize"&amp;gt;&amp;lt;double&amp;gt;17&amp;lt;/double&amp;gt;&amp;lt;/test&amp;gt;&lt;br /&gt;&amp;lt;edit name="antialias" mode="assign"&amp;gt;&amp;lt;bool&amp;gt;false&amp;lt;/bool&amp;gt;&amp;lt;/edit&amp;gt;&lt;/code&gt;&lt;code class="cmd"&gt;sudo ln -s /etc/fonts/conf.avail/66-wqy-zenhei-sharp.conf /etc/fonts/conf.d/&lt;/code&gt;&lt;li&gt;Flashl亂碼：修改以下檔案裡的字型名稱.&lt;/li&gt;&lt;code class="cmd"&gt;sudo vi /etc/fonts/conf.d/49-sansserif.conf&lt;/code&gt;&lt;code class="prettyprint"&gt;&amp;lt;edit name="family" mode="append_last"&amp;gt;&lt;br /&gt;&amp;lt;string&amp;gt;WenQuanYi Zen Hei&amp;lt;/string&amp;gt;&lt;br /&gt;&amp;lt;/edit&amp;gt;&lt;/code&gt;&lt;/ol&gt;&lt;br /&gt;ref: &lt;a href="http://people.debian.org.tw/%7Echihchun/2008/12/31/free-as-speech-font-droid/"&gt;this&lt;/a&gt;, &lt;a href="http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?viewmode=flat&amp;amp;type=&amp;amp;topic_id=14290&amp;amp;forum=2"&gt;this&lt;/a&gt; and &lt;a href="http://freeskyman.pixnet.net/blog/post/21897606"&gt;this&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-7565673628245091397?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/7565673628245091397/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/font-in-ubuntu-904.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7565673628245091397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/7565673628245091397'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/font-in-ubuntu-904.html' title='font in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-6536109484020161447</id><published>2009-05-16T11:09:00.022+08:00</published><updated>2009-05-29T14:42:41.974+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='screen'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>screen-profile in ubuntu 9.04</title><content type='html'>今天在 cofig .screenrc 的時候無意發現 , 原來 ubuntu 9.04 裡面有 screen-profile 這種方便的工具，裡面預設有四套 profile, 終於不用自己手動編輯啦 ;&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold;"&gt;NAME&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;       screen-profiles - Configuration utility for screen-profiles&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;DESCRIPTION&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;       screen-profiles  is an application that can configure a number of options available in the screen-profiles&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; utility.&lt;/span&gt;&lt;/blockquote&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-6536109484020161447?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/6536109484020161447/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/screen-profile.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6536109484020161447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/6536109484020161447'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/screen-profile.html' title='screen-profile in ubuntu 9.04'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-146646938571565652</id><published>2009-05-14T21:40:00.004+08:00</published><updated>2009-05-17T02:56:27.358+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bookmark'/><title type='text'>20090514 bookmark</title><content type='html'>&lt;ol&gt;&lt;li&gt;&lt;a href="http://armorize-cht.blogspot.com/2008/08/black-hat-2008.html"&gt;美國駭客年會 Black Hat 2008 觀察--第一天&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://armorize-cht.blogspot.com/2008/08/black-hat-2008_18.html"&gt;美國駭客年會 Black Hat 2008 觀察--第二天&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://armorize-cht.blogspot.com/2008/08/defcon-2008.html"&gt;美國駭客年會 DEFCON 2008 觀察--第一天&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.maximumpc.com/"&gt;MAXIMUMPC&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.virustotal.com/"&gt;VirusTotal&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.cha88.cn/"&gt;cha88.cn&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.metasploit.com/"&gt;Metasploit&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://1v1.name/show-88-1.html"&gt;請問U盤寫入數據以後會變重嗎？&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://nmap.org/zenmap/"&gt;Zenmap GUI&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-146646938571565652?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/146646938571565652/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/20090514-bookmark.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/146646938571565652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/146646938571565652'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/20090514-bookmark.html' title='20090514 bookmark'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2439774838669390567.post-3660294303766427930</id><published>2009-05-13T23:27:00.002+08:00</published><updated>2009-05-24T09:11:56.333+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='test'/><title type='text'>hi ;)</title><content type='html'>hello world !t&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2439774838669390567-3660294303766427930?l=marlboromoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marlboromoo.blogspot.com/feeds/3660294303766427930/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/hi.html#comment-form' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/3660294303766427930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2439774838669390567/posts/default/3660294303766427930'/><link rel='alternate' type='text/html' href='http://marlboromoo.blogspot.com/2009/05/hi.html' title='hi ;)'/><author><name>MarlboroMoo</name><uri>http://www.blogger.com/profile/00169916444498250936</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-5DX0RccMVpg/TZXPhvEg1qI/AAAAAAAAAyc/64qbZxckIac/s220/jason.png'/></author><thr:total>2</thr:total></entry></feed>
