<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='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' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-7051280208802911539</atom:id><lastBuildDate>Mon, 21 May 2012 06:12:37 +0000</lastBuildDate><category>linux</category><category>SMF</category><category>apache</category><category>picasa</category><category>威達</category><category>趨勢</category><category>不合理的事情 都有合理的解釋</category><category>雲端科技</category><category>David Lin</category><category>ubuntu</category><category>噁心</category><category>雲端運算</category><category>google</category><category>chrome</category><title>David Lin</title><description>I know everything, except the things I don't know.</description><link>http://www.twlin.com/</link><managingEditor>noreply@blogger.com (David Lin)</managingEditor><generator>Blogger</generator><openSearch:totalResults>38</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-16576928245376671</guid><pubDate>Mon, 19 Mar 2012 03:03:00 +0000</pubDate><atom:updated>2012-03-19T11:04:37.071+08:00</atom:updated><title>temp monitoring</title><description>&lt;div&gt;# while true; do sensors|grep 'CPU T'|awk -F" " '{print $1 " " $3}';sleep 300;done&lt;/div&gt;&lt;div&gt;&lt;div&gt;$ while true; do hddtemp /dev/sdb; sleep 300; done&lt;/div&gt;&lt;/div&gt;&lt;div&gt;# while true; do sensors|grep 'Sys'|awk -F" " '{print $1 " " $3}';sleep 300;done&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7051280208802911539-16576928245376671?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2012/03/temp-monitoring.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-5970063956215034500</guid><pubDate>Wed, 18 Jan 2012 04:12:00 +0000</pubDate><atom:updated>2012-01-18T12:12:23.771+08:00</atom:updated><title>convert mkv to avi</title><description>for i in `ls *.mkv`; do ffmpeg -i $i -sameq -acodec copy -g 1 $i.avi; done &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7051280208802911539-5970063956215034500?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2012/01/convert-mkv-to-avi.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-2401542859371107170</guid><pubDate>Mon, 01 Aug 2011 13:19:00 +0000</pubDate><atom:updated>2011-08-01T21:22:49.816+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>David Lin</category><title>what i learnt from my acl repair surgery</title><description>1. strengthen your quads way before the surgery, cos you'll lose muscles. &lt;br /&gt;&lt;div&gt;2. anesthesia is a must for the first 2 days, or the pain and spasm will kill you.&lt;/div&gt;&lt;div&gt;3. anesthesia is a bad mofo, keep you dumb for 10 days, dont do drugs.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7051280208802911539-2401542859371107170?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2011/08/what-i-learnt-from-my-acl-repair.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-6269818911441254817</guid><pubDate>Mon, 09 May 2011 13:25:00 +0000</pubDate><atom:updated>2011-05-09T21:25:49.226+08:00</atom:updated><title>convert big5 text into utf8</title><description>iconv -f big5 -t utf8 src_filename -o output_filename &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7051280208802911539-6269818911441254817?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2011/05/convert-big5-text-into-utf8.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-3348503705199647616</guid><pubDate>Tue, 05 Apr 2011 09:54:00 +0000</pubDate><atom:updated>2011-04-05T17:55:12.948+08:00</atom:updated><title>use cron to control deluge download</title><description>55 17 * * * export DISPLAY=:0 &amp;amp;&amp;amp; /usr/bin/deluge&lt;br&gt;56 17 * * * pkill -f deluge&lt;p&gt;Regards,&lt;br&gt;David Lin&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7051280208802911539-3348503705199647616?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2011/04/use-cron-to-control-deluge-download.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-5305441250379874011</guid><pubDate>Wed, 16 Mar 2011 06:26:00 +0000</pubDate><atom:updated>2011-03-16T14:26:27.249+08:00</atom:updated><title>sed to find a block of text</title><description>How do I address all the lines between RE1 and RE2, excluding&lt;br&gt;the lines themselves?&lt;p&gt;Normally, to address the lines between two regular expressions, RE1&lt;br&gt;and RE2, one would do this: &amp;#39;/RE1/,/RE2/{commands;}&amp;#39;. Excluding&lt;br&gt;those lines takes an extra step. To put 2 arrows before each line&lt;br&gt;between RE1 and RE2, except for those lines:&lt;br&gt;sed &amp;#39;1,/RE1/!{ /RE2/,/RE1/!s/^/&amp;gt;&amp;gt;/; }&amp;#39; input.fil&lt;br&gt;The preceding script, though short, may be difficult to follow. It&lt;br&gt;also requires that /RE1/ cannot occur on the first line of the&lt;br&gt;input file. The following script, though it&amp;#39;s not a one-liner, is&lt;br&gt;easier to read and it permits /RE1/ to appear on the first line:&lt;p&gt;/RE1/,/RE2/{&lt;br&gt;/RE1/b&lt;br&gt;/RE2/b&lt;br&gt;s/^/&amp;gt;&amp;gt;/&lt;br&gt;}&lt;p&gt;A solution to the problem :&lt;p&gt;sed -n -e &amp;#39;/A/,/B/{&lt;br&gt;/A/b&lt;br&gt;/B/b&lt;br&gt;p&lt;br&gt;}&amp;#39; File &amp;gt; Target_file&lt;p&gt;The same thing with awk&lt;p&gt;awk &amp;#39;/A/,/B/{ if (/A/ || /B/) next; print }&amp;#39; F &amp;gt; G&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7051280208802911539-5305441250379874011?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2011/03/sed-to-find-block-of-text.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-5839414871733168104</guid><pubDate>Wed, 01 Dec 2010 07:10:00 +0000</pubDate><atom:updated>2010-12-01T15:10:54.198+08:00</atom:updated><title>ubuntu lamp 開發環境</title><description>&lt;meta http-equiv="content-type" content="text/html; charset=utf-8"&gt;&lt;span class="Apple-style-span" style="font-family: &amp;#39;courier bold&amp;#39;; font-size: 15px; white-space: nowrap; "&gt;sudo apt-get install lamp-server^&lt;/span&gt; &lt;div&gt;&lt;span class="Apple-style-span" style="font-family: &amp;#39;courier bold&amp;#39;; font-size: 15px; white-space: nowrap; "&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: &amp;#39;courier bold&amp;#39;; font-size: 15px; white-space: nowrap; "&gt;就只有一行 ^別忘了&lt;/span&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7051280208802911539-5839414871733168104?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2010/12/ubuntu-lamp.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-7378312429090026823</guid><pubDate>Tue, 30 Nov 2010 13:16:00 +0000</pubDate><atom:updated>2010-11-30T21:23:51.942+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>David Lin</category><title>付出與收穫會成正比</title><description>今天有個朋友 Travis Wu 跟偶分享了一個概念 &lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;當每天都多作一點 付出110% 一年下來等於&amp;nbsp;1.1^365 = 1.28330558 × 10^15&lt;/div&gt;&lt;div&gt;當每天都少作一點 付出90% 一年下來等於&amp;nbsp;0.9^365 = 1.98845582 × 10^-17&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;十萬八千里&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;感謝Travis與我分享&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7051280208802911539-7378312429090026823?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2010/11/travis-wu.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>2</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-1041842090787138509</guid><pubDate>Mon, 29 Nov 2010 02:55:00 +0000</pubDate><atom:updated>2010-11-30T21:24:08.162+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>linux</category><title>policy routing for multi homed linux box</title><description>&lt;div&gt;&lt;div&gt;default gw = 192.168.0.1&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;eth0&lt;/div&gt;&lt;div&gt;&lt;a href="http://192.168.0.2/24"&gt;192.168.0.2/24&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;eth1&lt;/div&gt;&lt;div&gt;&lt;a href="http://10.0.0.2/24"&gt;10.0.0.2/24&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;i want &amp;nbsp;traffic coming from eth1 leaving from eth1&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;vi /etc/iproute2/rt_tables&lt;/div&gt;&lt;div&gt;insert&lt;/div&gt;&lt;div&gt;200&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;number2&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;/etc/sysconfig/network-scripts/route-eth1&lt;/div&gt;&lt;div&gt;insert&lt;/div&gt;&lt;div&gt;default table number2 via 10.0.0.1(gw ip)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;vi /etc/sysconfig/network-scripts/rule-eth1&lt;/div&gt;&lt;div&gt;from 10.0.0.2 table number2&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;restart it&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/7051280208802911539-1041842090787138509?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2010/11/policy-routing-for-multi-homed-linux.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-4766573598735130092</guid><pubDate>Wed, 10 Nov 2010 01:57:00 +0000</pubDate><atom:updated>2010-11-30T21:24:22.602+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>chrome</category><category domain='http://www.blogger.com/atom/ns#'>ubuntu</category><title>SCIM中文輸入在chrome無法focus的問題</title><description>&lt;div&gt;sudo vi /etc/X11/xinit/xinput.d/scim&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;and change these two variables:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;GTK_IM_MODULE="SCIM"&lt;/div&gt;&lt;div&gt;QT_IM_MODULE="SCIM"&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7051280208802911539-4766573598735130092?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2010/11/scimchromefocus.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-8853952018238916025</guid><pubDate>Sun, 07 Nov 2010 05:45:00 +0000</pubDate><atom:updated>2010-11-30T21:24:50.552+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>威達</category><title>威達 亂搞 浪費我的時間</title><description>話說 某日想要申裝4G來看看到底是有多快 &lt;br /&gt;&lt;div&gt;說什麼雲端科技 我個人是認為是屁 但是眼見為憑 看看再說&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;心血來潮打給威達 結果發現一件很機車的事情&lt;/div&gt;&lt;div&gt;是怎樣??&amp;nbsp;威達的0800電話如果捨不的付費的話 就不要刊登讓人打 打去都是通話中令人很不舒服&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;打了電話約好隔日9-12點的時候來測收訊及施工&lt;/div&gt;&lt;div&gt;隔日到了11:30都沒有一通電話 到了11:45分的時候我只好主動打去聯絡威達客服&lt;/div&gt;&lt;br /&gt;&lt;div&gt;客服很客氣的說"馬上請工程師跟我聯絡"&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;又過了30分鐘 12:15分 已經超過施工時間 威達客服仍然沒有打來 我只好又回撥&lt;/div&gt;&lt;div&gt;第二次打去已經有點火 所以口氣比較不好&lt;/div&gt;&lt;div&gt;所以一分鐘內馬上回電給我了 也告知我 威達工程師已經測試訊號 我的住家沒有辦法使用4G&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;他媽的... 我苦等了一個早上 沒來施工 撥了很多通去威達客服 才得知我家沒收訊 也不會主動通知&amp;nbsp;浪費的我半天時間&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7051280208802911539-8853952018238916025?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2010/11/blog-post.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-4311787912076951856</guid><pubDate>Wed, 03 Nov 2010 08:23:00 +0000</pubDate><atom:updated>2010-11-30T21:24:59.426+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>SMF</category><title>SMF censored text for post only</title><description>keyword: censorText &lt;br /&gt;&lt;div&gt;lookup the keyword from ./Source/{Display,BoardIndex,MessageIndex}.php and comment out the subject part.&lt;br /&gt;&lt;br /&gt;to avoid html embedded posts:&lt;br /&gt;in Source/Load.php&lt;br /&gt;&lt;br /&gt;1669 if (strrchr($text, html)){&lt;br /&gt;1670 &amp;nbsp; &amp;nbsp; return $text;&lt;br /&gt;1671 } &lt;br /&gt;1672 else {&lt;br /&gt;1673 &amp;nbsp; &amp;nbsp; $text = preg_replace($censor_vulgar, $censor_proper, $text);&lt;br /&gt;1674 &amp;nbsp; &amp;nbsp; return $text;&lt;br /&gt;1675 }&lt;br /&gt;&lt;div&gt;&lt;br /&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/7051280208802911539-4311787912076951856?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2010/11/smf-censored-text-for-post-only.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-6021687242159060472</guid><pubDate>Tue, 02 Nov 2010 01:50:00 +0000</pubDate><atom:updated>2010-11-30T21:25:16.640+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>linux</category><category domain='http://www.blogger.com/atom/ns#'>ubuntu</category><title>Slow SSH Authentication</title><description>&lt;div&gt;using root, change sshd_config as following:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;GSSAPIAuthentication no &lt;br /&gt;&lt;div&gt;UseDns no&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7051280208802911539-6021687242159060472?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2010/11/slow-ssh-authentication.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-6882945528034585661</guid><pubDate>Wed, 20 Oct 2010 07:34:00 +0000</pubDate><atom:updated>2010-11-30T21:25:50.730+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>不合理的事情 都有合理的解釋</category><title>非常不環保的 馬崗豆花</title><description>&lt;div class="mobile-photo"&gt;&lt;a href="http://1.bp.blogspot.com/_u3mSRJiEywY/TL6bhbNHGEI/AAAAAAAAr5M/dhIiHC109ck/s1600/IMG_20101016_164045-768272.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5530028390998284354" src="http://1.bp.blogspot.com/_u3mSRJiEywY/TL6bhbNHGEI/AAAAAAAAr5M/dhIiHC109ck/s320/IMG_20101016_164045-768272.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;話說天氣炎熱 吃個豆花&lt;br /&gt;&lt;div&gt;發現鼎鼎大名的&amp;nbsp;馬崗豆花 在店內用還用外帶杯&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&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/7051280208802911539-6882945528034585661?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2010/10/blog-post.html</link><author>noreply@blogger.com (David Lin)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_u3mSRJiEywY/TL6bhbNHGEI/AAAAAAAAr5M/dhIiHC109ck/s72-c/IMG_20101016_164045-768272.jpg' height='72' width='72'/><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-6651578841334425625</guid><pubDate>Wed, 20 Oct 2010 06:13:00 +0000</pubDate><atom:updated>2010-11-30T21:26:06.267+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>噁心</category><title>uniqlo 之 剛出院的偽畫家style</title><description>&lt;div class="mobile-photo"&gt;&lt;a href="http://3.bp.blogspot.com/_u3mSRJiEywY/TL6Iq0UTX6I/AAAAAAAAr48/M7KJXG96j2c/s1600/uni-743529.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5530007661637230498" src="http://3.bp.blogspot.com/_u3mSRJiEywY/TL6Iq0UTX6I/AAAAAAAAr48/M7KJXG96j2c/s320/uni-743529.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;某天在捷運看到這個style &lt;br /&gt;&lt;div&gt;model一個病奄奄 沒朝氣 又帶著過時的畫家帽子&lt;/div&gt;&lt;div&gt;肯定是剛出院趕著去畫圖&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;最好是有人會這樣穿啦&lt;/div&gt;&lt;div&gt;搞不懂uniqlo在熱什麼 明明就是一堆支那國的東西&lt;/div&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/7051280208802911539-6651578841334425625?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2010/10/uniqlo-style.html</link><author>noreply@blogger.com (David Lin)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_u3mSRJiEywY/TL6Iq0UTX6I/AAAAAAAAr48/M7KJXG96j2c/s72-c/uni-743529.jpg' height='72' width='72'/><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-6666874133160496504</guid><pubDate>Wed, 20 Oct 2010 04:57:00 +0000</pubDate><atom:updated>2010-11-30T21:26:31.143+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>不合理的事情 都有合理的解釋</category><title>Contessa 嚴重氧化</title><description>&lt;div class="mobile-photo"&gt;&lt;a href="http://3.bp.blogspot.com/_u3mSRJiEywY/TL527ppM1eI/AAAAAAAAr4c/iUvZoC_AgUE/s1600/IMG_20101016_120401-700657.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5529988159620568546" src="http://3.bp.blogspot.com/_u3mSRJiEywY/TL527ppM1eI/AAAAAAAAr4c/iUvZoC_AgUE/s320/IMG_20101016_120401-700657.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="mobile-photo"&gt;乍看之下還頗漂亮&lt;/div&gt;&lt;div class="mobile-photo"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="mobile-photo"&gt;&lt;a href="http://3.bp.blogspot.com/_u3mSRJiEywY/TL527wGvCAI/AAAAAAAAr4k/g9ClSm6h0tI/s1600/IMG_20101016_120419-703150.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5529988161355057154" src="http://3.bp.blogspot.com/_u3mSRJiEywY/TL527wGvCAI/AAAAAAAAr4k/g9ClSm6h0tI/s320/IMG_20101016_120419-703150.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="mobile-photo"&gt;黑黑的地方已經氧化了&lt;/div&gt;&lt;div class="mobile-photo"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="mobile-photo"&gt;&lt;a href="http://2.bp.blogspot.com/_u3mSRJiEywY/TL528JKdeJI/AAAAAAAAr4s/eoLsvH_-wYM/s1600/IMG_20101016_120431-704450.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5529988168081569938" src="http://2.bp.blogspot.com/_u3mSRJiEywY/TL528JKdeJI/AAAAAAAAr4s/eoLsvH_-wYM/s320/IMG_20101016_120431-704450.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="mobile-photo"&gt;來個close up&lt;/div&gt;&lt;div class="mobile-photo"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="mobile-photo"&gt;&lt;a href="http://2.bp.blogspot.com/_u3mSRJiEywY/TL528RWwcYI/AAAAAAAAr40/CIunvugfjDM/s1600/IMG_20101016_120446-705311.jpg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5529988170280628610" src="http://2.bp.blogspot.com/_u3mSRJiEywY/TL528RWwcYI/AAAAAAAAr40/CIunvugfjDM/s320/IMG_20101016_120446-705311.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="mobile-photo"&gt;這個地方整個霧化 很糟糕&lt;/div&gt;&lt;div class="mobile-photo"&gt;&lt;br /&gt;&lt;/div&gt;一兩年前買的contessa人體工學椅 不便宜 當初想說每天在電腦桌前這麼久 買個好椅子也是一個好投資&lt;br /&gt;&lt;div&gt;但是.....&lt;/div&gt;&lt;div&gt;Contessa的腳 氧化的程度實在讓整座的質感降低很多 NT4xxxx的椅子 我期待更好的品質&lt;/div&gt;&lt;div&gt;下次買Herman Miller好了&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7051280208802911539-6666874133160496504?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2010/10/contessa.html</link><author>noreply@blogger.com (David Lin)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_u3mSRJiEywY/TL527ppM1eI/AAAAAAAAr4c/iUvZoC_AgUE/s72-c/IMG_20101016_120401-700657.jpg' height='72' width='72'/><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-6171600331484987365</guid><pubDate>Mon, 18 Oct 2010 09:05:00 +0000</pubDate><atom:updated>2010-11-30T21:28:05.243+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>linux</category><title>centos bootable usb</title><description>&lt;div&gt;Using fdisk, partition your key: one partition, VFAT (type b, and toggle&lt;/div&gt;&lt;div&gt;the bootable flag), about 9M or 10M, and a second partition big enough to&lt;/div&gt;&lt;div&gt;hold a DVD. That should be type 83 (Linux native).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;mkfs -t vfat &amp;lt;the DOS partition)&lt;/div&gt;&lt;div&gt;mkfs &amp;lt;the Linux partition&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;liveCD-iso-to-disk &amp;lt;.iso, w/ full path&amp;gt; /dev/&amp;lt;USB DOS partition&amp;gt;&lt;/div&gt;&lt;div&gt;mount &amp;lt;USB Linux partition&amp;gt; /mnt&lt;/div&gt;&lt;div&gt;cp &amp;lt;CentOS.iso&amp;gt; /mnt/&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7051280208802911539-6171600331484987365?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2010/10/centos-bootable-usb.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-1283816531984516433</guid><pubDate>Tue, 03 Aug 2010 04:02:00 +0000</pubDate><atom:updated>2010-11-30T21:27:56.251+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>噁心</category><category domain='http://www.blogger.com/atom/ns#'>不合理的事情 都有合理的解釋</category><title>大猩猩科技 hr打電話來囉唆</title><description>上個月某日 本人換工作後事情很繁忙 一時忘了將人力銀行的profile關掉 &lt;br /&gt;&lt;div&gt;於是大猩猩科技的hr小姐來了一封email 提到想跟我聊聊 但卻也沒寫任何職稱/職務內容的細節 只有草草提了一些大猩猩科技集團的簡介&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;我想那就隨意聯絡 直接詢問職稱/職務內容/薪水範圍或是104連結&lt;/div&gt;&lt;div&gt;沒想到來來回回寫了3/5次email&amp;nbsp;大猩猩科技的hr卻無法給我任何職稱與細節&lt;/div&gt;&lt;div&gt;後來該大猩猩科技的hr經理與我約了一次電話interview&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;到該日大猩猩科技的資深hr經理打來 內容大概如此:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;大猩猩科技hr: &lt;/b&gt;您為什麼想從X公司離開?&lt;/div&gt;&lt;div&gt;&lt;b&gt;David Lin: &lt;/b&gt;喔 不好意思我上個月才從X公司離開 現在已經在Y公司服務 數字人力銀行網站上的資料尚未更新&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;大猩猩科技hr: &lt;/b&gt;現在的年輕人都OOXX 喜歡跳槽 等等等(老媽子囉唆樣 傻眼 然後沒注意聽)&lt;/div&gt;&lt;div&gt;&lt;b&gt;David Lin: &lt;/b&gt;社會現實 我有老婆小孩長輩需要扶養&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;大猩猩科技hr: &lt;/b&gt;年輕人不能為了錢工作&lt;/div&gt;&lt;div&gt;&lt;b&gt;David Lin:&lt;/b&gt; (心想:我糙 你做公德干我屁事 你打來教訓我是怎樣) 生活要顧 (*敷衍一下)&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;大猩猩科技hr: &lt;/b&gt;blah blah blah blah (繼續教訓我)&lt;/div&gt;&lt;div&gt;&lt;b&gt;David Lin: &lt;/b&gt;(心想: 奇怪 這種詭異的工作態度 陳腐的思想 還能做hr經理喔 那這家公司也不是我會想要去的地方啦) *冷笑 哈哈哈 好的 沒問題 那有需要在連絡&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&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/7051280208802911539-1283816531984516433?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2010/08/hr.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>2</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-4019655517858619545</guid><pubDate>Wed, 07 Jul 2010 14:40:00 +0000</pubDate><atom:updated>2010-11-30T21:27:32.584+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>linux</category><category domain='http://www.blogger.com/atom/ns#'>ubuntu</category><title>用ubuntu開rdp rdesktop到windows機器</title><description>&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="smallfont" style="color: black; margin-top: 2px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;strong&gt;How to use&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="display: inline; height: auto; position: absolute; visibility: hidden; width: auto;"&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;strong&gt;rdesktop (Windows remote desktop connection)&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;hr size="1" style="background-color: white; color: white;" /&gt;&lt;div class="vbclean_msgtext" id="post_message_5156024" style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;rdesktop is a client program that allows you to connect from your Ubuntu computer to your Windows computer to remote control the Windows computer. In other words, while you are sitting in front of your Ubuntu computer at home, you can log into and access your Windows computer as if you are sitting in front of the Windows computer. See&lt;a href="http://en.wikipedia.org/wiki/Remote_desktop_software" style="color: #444444; text-decoration: underline;" target="_blank"&gt;remote desktop software&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;b&gt;rdesktop and VNC and Terminal Server Client (comparison)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;There is another similar program called VNC. VNC is slow compared to rdesktop and VNC connection is unencrypted while rdesktop connection is encrypted by default. But there is a&amp;nbsp;&lt;a href="https://help.ubuntu.com/community/VNCOverSSH" style="color: #444444; text-decoration: underline;" target="_blank"&gt;way to use VNC with encrypted connection&lt;/a&gt;. VNC works on almost all operating systems. See&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Comparison_of_remote_desktop_software" style="color: #444444; text-decoration: underline;" target="_blank"&gt;comparison of remote desktop software&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Terminal Server Client (Applications &amp;gt; Internet &amp;gt; Terminal Server Client) is a GUI front-end to VNC and rdesktop. If you open Terminal Server Client, you will see Protocol option (RDP, RDPv5, VNC), RDP and RDPv5 are for rdesktop connection. You should use Terminal Server Client if it works fine and if you are ok with&amp;nbsp;&lt;a href="https://bugs.launchpad.net/ubuntu/+source/rdesktop/+bug/103208" style="color: #444444; text-decoration: underline;" target="_blank"&gt;this bug&lt;/a&gt;. If you want more control (such as connecting a specific local folder or other device redirection, hiding or keeping window manager decoration, using seamlessRDP), use rdesktop following this guide.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;b&gt;What to do on the Windows side (the server side)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;The Windows computer you will connect to must be running Windows XP Pro or a higher version of Windows.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;* If you have a weak Windows login password (such as john1, aaaaaaaaaaaaa, abcabc), change it to a stronger password that is longer than 10 characters and that is not a combination of words that can be found on a dictionary. You need to do this because if you enable Remote Desktop Connection, anybody with internet access can try to log into your Windows computer with automated cracking tools.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;* Enable Remote Desktop Connection on the Windows computer following&amp;nbsp;&lt;a href="http://www.microsoft.com/windowsxp/using/mobility/getstarted/remoteintro.mspx" style="color: #444444; text-decoration: underline;" target="_blank"&gt;this guide&lt;/a&gt;. If the Ubuntu computer you will be connecting from has a static ip address, you can set your Windows Firewall to allow remote desktop connection from only your Ubuntu computer and refuse connection from other computers. To do this, open Windows Firewall, click on the Exceptions tab, Select 'Remote Desktop', click 'Edit', click 'Change Scope...', choose 'Custom list' and enter the IP addresses of computers from which you want to remote connect (See the attached screenshot)&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;b&gt;What to do on the Ubuntu side (client side)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;* On your Ubuntu computer, open a terminal (Application &amp;gt; Accessories &amp;gt; Terminal) and enter the following command:&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;div class="smallfont" style="color: black; margin-bottom: 2px; margin-top: 2px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Code:&lt;/span&gt;&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; color: black; height: 34px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;rdesktop&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;You'll see a long list of options for rdesktop. Think of it as an rdesktop cheatsheet.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;If your windows username and Ubuntu username is the same and if the static IP address of your Windows computer is (suppose) 143.210.123.456, you can now connect to your Windows computer by entering the following command:&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;div class="smallfont" style="color: black; margin-bottom: 2px; margin-top: 2px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Code:&lt;/span&gt;&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; color: black; height: 34px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;rdesktop 143.210.123.456&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;If the usernames are different and your Windows username is (suppose) john, enter:&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;div class="smallfont" style="color: black; margin-bottom: 2px; margin-top: 2px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Code:&lt;/span&gt;&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; color: black; height: 34px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;rdesktop -u john 143.210.123.456&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;To disconnect, open Windows Start menu and click 'Disconnect'.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Most cases, you'll use one of the following two commands:&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;div class="smallfont" style="color: black; margin-bottom: 2px; margin-top: 2px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Code:&lt;/span&gt;&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; color: black; height: 34px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;rdesktop -u john -fP 143.210.123.456&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;div class="smallfont" style="color: black; margin-bottom: 2px; margin-top: 2px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Code:&lt;/span&gt;&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; color: black; height: 34px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;rdesktop -u john -g 100% -PKD 143.210.123.456&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Both commands display remote desktop in full screen (corresponding option : -f, -g 100% -D) and bitmap cache is enabled for speed (-P). There is a bug and&amp;nbsp;&lt;a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=335544" style="color: #444444; text-decoration: underline;" target="_blank"&gt;clipboard functionality (copy paste between remote desktop and local one) doesn't work in full screen mode&lt;/a&gt;. To make clipboard work, you need to escape full screen mode by pressing ctrl+alt+enter. ( Press ctrl+alt+enter again to get back to full screen mode. ) This bug only affects the first command and not the second command. So if you need to copy and paste between two desktops a lot, go with the second command. (Install&amp;nbsp;&lt;a href="http://www.donationcoder.com/Software/Skrommel/index.html#DragKing" style="color: #444444; text-decoration: underline;" target="_blank"&gt;dragking&lt;/a&gt;&amp;nbsp;if you want to copy by selecting a text and paste by middle-click on your Windows desktop. dragking.ahk script requires&amp;nbsp;&lt;a href="http://www.autohotkey.com/forum/viewtopic.php?t=4888" style="color: #444444; text-decoration: underline;" target="_blank"&gt;ahkstructlib.ahk&lt;/a&gt;). The two commands also differs in how the keybindings are handled,&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;* First command : if you press alt+tab (keyboard shortcut for switching windows), it doesn't switch windows from Ubuntu desktop, it switches from the remote Windows desktop. And ctrl+alt+right (for switching to another workspace) doesn't work. This is useful when you want to alt+tab in the remote Windows.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;* Second command : keyboard shortcuts such as ctrl+alt+right and alt+tab works on your Ubuntu desktop. This is useful because you can put the remote desktop on the seperate workspace then you can switch between your local ubuntu workspace and your remote Windows desktop just by pressing ctrl+alt+right and ctrl+alt+left.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;b&gt;Create a launcher&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Opening terminal every time you want to remote connect to Windows is of a hassle. To create a lancher, right click on the top panel, click 'Add to Panel...', select 'Custom Application launcher', click 'Add' button, type your command in the command field. (See the attached screenshot). if the command contains %, replace % with %%.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;b&gt;useful rdesktop options&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;-r disk:doc=/home/john/Documents,pic=/home/john/Pictures&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;With this option, rdesktop connects folders /home/john/Documents and /home/john/Pictures to Windows remote desktop. Open Windows Start menu and click 'My Computer' and you will see the connected folders named doc and pic.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;-r sound:local&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;This option is to hear sound from Windows remote desktop.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;See /usr/share/doc/rdesktop/redirection.txt for more on device redirection.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;-k ko&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;This sets the keyboard layout to Korean. This makes Hangul key work on the remote desktop. See /usr/share/doc/rdesktop/keymap-names.txt&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;b&gt;How to use rdesktop over ssh&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;rdesktop is&amp;nbsp;&lt;a href="http://sourceforge.net/mailarchive/message.php?msg_name=732099.24912.qm%40web45108.mail.sp1.yahoo.com" style="color: #444444; text-decoration: underline;" target="_blank"&gt;vulnerable to man-in-the-middle attacks&lt;/a&gt;. So you might want to use it over ssh.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Follow&amp;nbsp;&lt;a href="http://lifehacker.com/software/home-server/geek-to-live--set-up-a-personal-home-ssh-server-205090.php" style="color: #444444; text-decoration: underline;" target="_blank"&gt;this lifehacker article&lt;/a&gt;&amp;nbsp;to set up an ssh server on the Windows computer. (You can edit sshd_config with a Windows editor supporting UNIX texts such as&amp;nbsp;&lt;a href="http://sourceforge.net/projects/notepad2/" style="color: #444444; text-decoration: underline;" target="_blank"&gt;notepad2&lt;/a&gt;) You might want to set Windows Firewall to disallow ssh access from IP addresses other than your Ubuntu computer's. Take note of the RSA key fingerprint by open a cygwin shell (Start &amp;gt; All Programs &amp;gt; Cygwin &amp;gt; Cygwin Bash Shell) and entering :&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;div class="smallfont" style="color: black; margin-bottom: 2px; margin-top: 2px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Code:&lt;/span&gt;&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; color: black; height: 34px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;ssh-keygen -lf /etc/ssh_host_rsa_key.pub&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;On your Ubuntu computer, check if the local port 3389 (default listening port number for Windows Remote Desktop service) is available:&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;div class="smallfont" style="color: black; margin-bottom: 2px; margin-top: 2px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Code:&lt;/span&gt;&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; color: black; height: 34px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;telnet localhost 3389&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;The output should be similar to :&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;div class="smallfont" style="color: black; margin-bottom: 2px; margin-top: 2px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Code:&lt;/span&gt;&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; color: black; height: 66px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;$ telnet localhost 3389 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;, which means the port is available. If the port is already in use the output should be similar to :&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;div class="smallfont" style="color: black; margin-bottom: 2px; margin-top: 2px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Code:&lt;/span&gt;&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; color: black; height: 82px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;$ telnet localhost 3389 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;If the port is available, connect to windows ssh service with port forward:&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;div class="smallfont" style="color: black; margin-bottom: 2px; margin-top: 2px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Code:&lt;/span&gt;&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; color: black; height: 34px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;ssh -L 3389:localhost:3389 john@143.210.123.456&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;The port 3389 of your Ubuntu is forwarded to the port 3389 of your Windows. The output should be like :&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;div class="smallfont" style="color: black; margin-bottom: 2px; margin-top: 2px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Code:&lt;/span&gt;&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; color: black; height: 82px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;$ ssh -L 3389:localhost:3389 john@143.210.123.456 The authenticity of host '143.210.123.456 (143.210.123.456)' can't be established. RSA key fingerprint is f3:90:3b:70:20:a2:52:fe:fx:a2:90:70:3b:f3:6a:22. Are you sure you want to continue connecting (yes/no)?&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Check if the presented RSA key fingerprint is the same as the one you took note of. If they are different, you should answer no, the host you are connecting to is not your real Windows computer, it may be a&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Man_in_the_middle_attack" style="color: #444444; text-decoration: underline;" target="_blank"&gt;man in the middle&lt;/a&gt;. If they are same, answer yes and proceed. You can get out of the ssh session by entering 'exit' but don't do it now.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Open another terminal and make rdesktop connect to localhost:&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;div class="smallfont" style="color: black; margin-bottom: 2px; margin-top: 2px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Code:&lt;/span&gt;&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; color: black; height: 34px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;rdesktop -u john localhost&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;The remote desktop will be a bit slow. cygwin is slow.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;What if the port 3389 was already in use? Find a different available port (suppose, 3099) and connect to Windows ssh like this :&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;div class="smallfont" style="color: black; margin-bottom: 2px; margin-top: 2px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Code:&lt;/span&gt;&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; color: black; height: 34px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;ssh -L 3099:localhost:3389 john@143.210.123.456&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;The port 3099 of your Ubuntu is forwarded to the port 3389 of your Windows.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Open a new terminal and make rdesktop connect to localhost at the port 3099 :&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;div class="smallfont" style="color: black; margin-bottom: 2px; margin-top: 2px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Code:&lt;/span&gt;&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; color: black; height: 34px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;rdesktop -u john localhost:3099&lt;/span&gt;&lt;/pre&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/7051280208802911539-4019655517858619545?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2010/07/ubunturdp-rdesktopwindows.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-7286698371681238608</guid><pubDate>Wed, 30 Jun 2010 14:30:00 +0000</pubDate><atom:updated>2010-11-30T21:27:20.314+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>linux</category><category domain='http://www.blogger.com/atom/ns#'>google</category><category domain='http://www.blogger.com/atom/ns#'>ubuntu</category><title>GoogleCL Google Command Line</title><description>&lt;div&gt;這個太屌 超多應用&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Install GoogleCL in ubuntu&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sudo apt-get install python-gdata&lt;/div&gt;&lt;div&gt;sudo dpkg -i &lt;a href="http://googlecl.googlecode.com/files/googlecl_0.9.5-1_all.deb"&gt;http://googlecl.googlecode.com/files/googlecl_0.9.5-1_all.deb&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;create album in picasa:&lt;/div&gt;&lt;div&gt;google picasa create –album "Test Photos" ~/photos/admin/*.jpg&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7051280208802911539-7286698371681238608?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2010/06/googlecl-google-command-line.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-5335172193963838450</guid><pubDate>Fri, 25 Jun 2010 14:02:00 +0000</pubDate><atom:updated>2010-10-26T13:06:27.688+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>linux</category><category domain='http://www.blogger.com/atom/ns#'>ubuntu</category><title>mp3 id3 tag的編碼修正</title><description>&lt;div&gt;&lt;b&gt;變檔名的編碼&lt;/b&gt;&lt;br /&gt;convmv -f big5 -t utf8 --notest *.mp3&lt;br /&gt;&lt;br /&gt;&lt;b&gt;變mp3的id tag&lt;/b&gt;&lt;br /&gt;sudo apt-get install python-mutagen&lt;/div&gt;&lt;div&gt;find . -iname "*.mp3" -execdir mid3iconv -e BIG5 "{}" \;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;就這麼簡單&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&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/7051280208802911539-5335172193963838450?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2010/06/ubuntu-convert-mp3-id3-tags-to-utf8.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-6431615780269740878</guid><pubDate>Wed, 23 Jun 2010 16:36:00 +0000</pubDate><atom:updated>2011-02-13T22:02:33.237+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>linux</category><category domain='http://www.blogger.com/atom/ns#'>ubuntu</category><title>微軟正黑體 for ubuntu</title><description>sudo apt-get install msttcorefonts &lt;br /&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/7051280208802911539-6431615780269740878?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2010/06/for-ubuntu.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-8392252680555532067</guid><pubDate>Tue, 22 Jun 2010 02:25:00 +0000</pubDate><atom:updated>2010-06-22T10:25:03.866+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>雲端運算</category><category domain='http://www.blogger.com/atom/ns#'>雲端科技</category><category domain='http://www.blogger.com/atom/ns#'>趨勢</category><title>雲端第一人axa cheng曾經預言過RFID應用會成為主流</title><description>Nokia未來出的手機都會支援NFC&lt;br /&gt;&lt;br /&gt;Nokia副總裁Anssi Vanjoki在前些日子表示未來旗下的智慧型手機機種都會支援NFC（Near-field Communication ），打算在明年，也就是2011年全面導入NFC，不過僅限於智慧型手機部份。那麼，什麼是 "NFC" 呢？NFC中文叫做「近場無線通訊」，是建構在RFID之上，最常見的應用就是HTC Tatoo可以當悠遊卡來用，就是因為RFID嵌入到手機裡，透過NFC的機制來感應。&lt;br /&gt;NFC的有效距離通常為20公分，有主動與被動模式，被動模式不會發射訊號，所以不需要電池，目前以飛利浦Mifare與Sony的Ferlica等兩種規範為大宗。看來支援NFC對Nokia手機是個不錯的加值功能，但是會對節節敗退的智慧型手機佔有率有幫助嗎？讓我們繼續看下去。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7051280208802911539-8392252680555532067?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2010/06/axa-chengrfid.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-4972689153769661535</guid><pubDate>Mon, 21 Jun 2010 15:26:00 +0000</pubDate><atom:updated>2010-06-21T23:41:42.205+08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>linux</category><category domain='http://www.blogger.com/atom/ns#'>chrome</category><category domain='http://www.blogger.com/atom/ns#'>google</category><title>Google Chrome 官方沒有video downloader</title><description>&lt;div&gt;但是很多video太長 download下來比較容易看 所以 請用:&lt;/div&gt;&lt;a href="http://www.chromeextensions.org/music-videos-photos/easy-youtube-video-downloader/"&gt;http://www.chromeextensions.org/music-videos-photos/easy-youtube-video-downloader/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7051280208802911539-4972689153769661535?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2010/06/google-chrome-video-downloader.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7051280208802911539.post-7834090097832133902</guid><pubDate>Thu, 20 May 2010 01:27:00 +0000</pubDate><atom:updated>2010-05-20T09:27:15.069+08:00</atom:updated><title>htaccess redirect when site under maintenance</title><description>&lt;div&gt;Options +FollowSymlinks&lt;/div&gt;&lt;div&gt;RewriteEngine on&lt;/div&gt;&lt;div&gt;RewriteCond %{REQUEST_URI} !/maintenance.html$ &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;RewriteRule $ /maintenance.html [R=302,L]&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7051280208802911539-7834090097832133902?l=www.twlin.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.twlin.com/2010/05/htaccess-redirect-when-site-under.html</link><author>noreply@blogger.com (David Lin)</author><thr:total>0</thr:total></item></channel></rss>
