<?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:blogger='http://schemas.google.com/blogger/2008' 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-7095753795302608275</id><updated>2024-09-09T01:13:40.030-07:00</updated><category term="上班筆記"/><category term="讀書心得"/><category term="Android"/><category term="Ubuntu"/><category term="生活"/><category term="Eclipse"/><category term="Java"/><category term="電影"/><category term="C"/><category term="Mylyn"/><category term="PSP"/><category term="讀書"/><category term="隨筆"/><title type='text'>Ponson&#39;s Tribe</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>143</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-3393236077275755440</id><published>2015-11-25T00:53:00.002-08:00</published><updated>2018-05-14T02:46:02.171-07:00</updated><title type='text'></title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiU8tMY9sG3L5A6Azjql8ZVdgFq-ydtowT8Uhpx0UZxQRa9zVtlKamIHyGOVKYYyERQvNhrs3hZKq0f75v-YbQHldWSLRaIzpjmlzhoo2EW_GaS27olx3thqQic0rlQ757hKqYYcoxXfCI/s1600/Book-Evernote.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiU8tMY9sG3L5A6Azjql8ZVdgFq-ydtowT8Uhpx0UZxQRa9zVtlKamIHyGOVKYYyERQvNhrs3hZKq0f75v-YbQHldWSLRaIzpjmlzhoo2EW_GaS27olx3thqQic0rlQ757hKqYYcoxXfCI/s320/Book-Evernote.png&quot; width=&quot;251&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
書中介紹了幾個好用的tool，可以提升作筆記的效率。&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/3393236077275755440/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2015/11/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/3393236077275755440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/3393236077275755440'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2015/11/blog-post.html' title=''/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiU8tMY9sG3L5A6Azjql8ZVdgFq-ydtowT8Uhpx0UZxQRa9zVtlKamIHyGOVKYYyERQvNhrs3hZKq0f75v-YbQHldWSLRaIzpjmlzhoo2EW_GaS27olx3thqQic0rlQ757hKqYYcoxXfCI/s72-c/Book-Evernote.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-7472114661683480763</id><published>2015-10-29T00:37:00.001-07:00</published><updated>2018-05-14T02:46:02.565-07:00</updated><title type='text'>[Book]這才是數學</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSWEBUxz9l7k77cueGG0e_D4QkPLNvHsmFKabEfC1Za7w9lc_5gAyRXdVkwcoiwRsgG9gx4IPtXdf2QsXyzWd8GMjMkbixZITLBbVhFXNyRg6MUVM4lRhMx6Xb3j_gJf4IvriQrP0-F9w/s1600/%25E8%259E%25A2%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7+2015-10-29+%25E4%25B8%258B%25E5%258D%25883.15.52.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSWEBUxz9l7k77cueGG0e_D4QkPLNvHsmFKabEfC1Za7w9lc_5gAyRXdVkwcoiwRsgG9gx4IPtXdf2QsXyzWd8GMjMkbixZITLBbVhFXNyRg6MUVM4lRhMx6Xb3j_gJf4IvriQrP0-F9w/s1600/%25E8%259E%25A2%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7+2015-10-29+%25E4%25B8%258B%25E5%258D%25883.15.52.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.books.com.tw/products/0010667435?loc=P_asb_001&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&amp;lt;&amp;lt;這才是數學&amp;gt;&amp;gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;; font-size: 14px;&quot;&gt;感覺可從作者的著作中了解到數學的本質，數學的本質是什麼？可以從&amp;lt;&amp;lt;這才是數學&amp;gt;&amp;gt;這本書中了解到，有一些以前所背誦的公式，其實本身並沒有太多深奧的道理，只要用心多想想，其實，很容易就可以舉一反三，但仍是要動動腦，是一本需要花時間好好研讀、「計算」的書。只不過，有一個可惜的地方是，書中常會提出很多留給你思考的問題，但沒有給出答案。其實，這樣很好，只是我急著想繼續看下去，也一時沒有想法，沒辦法像一個數學家那樣好好地把玩「數學實在」裡的有趣事物，或許把整本書看完之後，「有空」會找其中幾個問題來想想、驗證，不過，我可能還是會繼續以看其他的書為優先吧！圖書館借書已到期，沒辦法只能先還，以後有機會再借來看看了。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;; font-size: 14px;&quot;&gt;看到 p.68，對角線度量方法還沒看......(待續)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;以下列舉書中的句子&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Helvetica Neue;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;你自己訂的題目，就是最好的題目。(p.25)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Helvetica Neue;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;數學家的特質並不是學術技能或淵博知識，而是永不滿足的好奇心，以及對簡單之美的渴望。做自己，去你想去的地方。與其裹足不前、害怕挫折或是困惑，不如試著擁抱這份恐懼和神秘感，開開心心大玩特玩一番。&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;; font-size: 14px;&quot;&gt;(p.25)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;; font-size: 14px;&quot;&gt;在許多方面，對稱是最強大的數學工具。(請把它放進你的求生背包裡。)&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;; font-size: 14px;&quot;&gt;(p.26)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;; font-size: 14px;&quot;&gt;藉由不只一種方法，能夠對問題有更深一層的理解和認識。&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;; font-size: 14px;&quot;&gt;(p.29)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;; font-size: 14px;&quot;&gt;數學家總是先做假設，再看看會發生什麼情況(古希臘人甚至創了一個詞來形容他-稱為分析，analysis)&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;; font-size: 14px;&quot;&gt;(p.32)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;; font-size: 14px;&quot;&gt;本質上說，作數學就是在玩耍、觀察和發現、建構例子(以及反例)，提出猜想，然後證明 --- 這也是最困難的部份。&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;; font-size: 14px;&quot;&gt;(p.32)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/7472114661683480763/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2015/10/book.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/7472114661683480763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/7472114661683480763'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2015/10/book.html' title='[Book]這才是數學'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSWEBUxz9l7k77cueGG0e_D4QkPLNvHsmFKabEfC1Za7w9lc_5gAyRXdVkwcoiwRsgG9gx4IPtXdf2QsXyzWd8GMjMkbixZITLBbVhFXNyRg6MUVM4lRhMx6Xb3j_gJf4IvriQrP0-F9w/s72-c/%25E8%259E%25A2%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7+2015-10-29+%25E4%25B8%258B%25E5%258D%25883.15.52.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-7153049734040604740</id><published>2014-11-02T04:15:00.000-08:00</published><updated>2014-11-02T04:15:26.180-08:00</updated><title type='text'>[Linux][InputMethod] gcin install and setup. Hsu style keyboard </title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigb-JACcfQZltFaJxUsT5hDrrMuDykTJVVqZQtSOsltZuXIqvHpWWFgr5wcNIA_ilQV97M2T-CVKaIvBqNtU9gcHzgXis1xF91LooI0S0l7vudb4U7iAZpgZgV94D1g729-mDewT4ig6w/s1600/Hsu.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigb-JACcfQZltFaJxUsT5hDrrMuDykTJVVqZQtSOsltZuXIqvHpWWFgr5wcNIA_ilQV97M2T-CVKaIvBqNtU9gcHzgXis1xF91LooI0S0l7vudb4U7iAZpgZgV94D1g729-mDewT4ig6w/s1600/Hsu.jpeg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
安裝完Linux後的幾件事之一就是要安裝好中文輸入法，偏偏敝人只會使用許式鍵盤注音，因此必須尋找的合適的輸入法才行。目前在Linux上，詞音輸入法應該是其中一個不錯的選擇。&lt;br /&gt;
One of those things you should do after you have installed Linux is to install the Chinese input method. The only input method I have learned is Hsu&#39;s input method, so I need find out the input method which support Hsu&#39;s keyboard. 「詞音」is&amp;nbsp; a good choice to use it.&lt;br /&gt;
&lt;br /&gt;
在Linux Lmint 17必須先自行安裝gcin，可透過 Synaptic 套件管理程式直接進行安裝，安裝完後執行command &quot;im-config&quot;，將預設的輸入法框架改為gcin後，須重新啟動X window一次。&lt;br /&gt;
You should install gcin by yourself after installed Linux Lmint 17. You can use Synaptic Package Manager to install it directly. Then type the command &quot;im-config&quot; in terminal to setup gcin as your active input method framework. Then you&#39;ll be asked to restart X window again. &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQEOeD_ZvVqetLZL6u368lYIB7FOtR-WqxSatMx9B6LOA5XoDT-9m7YmEygfBSvyBRQVpFvraN695T37rK7ejwNyOVOBQvCSxSFAPaKM2TBM-kJ9JBCw02yY7RVrJ5CXs13j2b2XiQLYA/s1600/imconfig1.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQEOeD_ZvVqetLZL6u368lYIB7FOtR-WqxSatMx9B6LOA5XoDT-9m7YmEygfBSvyBRQVpFvraN695T37rK7ejwNyOVOBQvCSxSFAPaKM2TBM-kJ9JBCw02yY7RVrJ5CXs13j2b2XiQLYA/s1600/imconfig1.jpeg&quot; height=&quot;250&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
之後就能按Ctrl + Space去切換到詞音輸入法了。&lt;br /&gt;
After that, you can use Ctrl + Space to switch the input method to 「詞音」 input method.&lt;br /&gt;
&lt;br /&gt;
到選單，選擇「gcin 輸入法設定」，選擇「詞音」的設定選項，就可在其中設定鍵盤為「許式鍵盤」&lt;br /&gt;
For the menu, type &#39;gcin&#39;, then select 「gcin input method setup」。Then select the setting item of 「詞音」，you can setup the Hsu&#39;s keyboard there.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuvRSv8UDiEDS6xbJOnClmR2fVTjTFDdBQMyNPTLeZtzwTtOxvkWto33gVts0yG0HVw64uQkBQ38eTqUFHOjROmn8hkc5a0PZrB_NsOzFqzPrvxb02XqFKONAXxOi3jx_4zwfQrnFMDXc/s1600/gcin.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuvRSv8UDiEDS6xbJOnClmR2fVTjTFDdBQMyNPTLeZtzwTtOxvkWto33gVts0yG0HVw64uQkBQ38eTqUFHOjROmn8hkc5a0PZrB_NsOzFqzPrvxb02XqFKONAXxOi3jx_4zwfQrnFMDXc/s1600/gcin.jpeg&quot; height=&quot;285&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/7153049734040604740/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2014/11/linuxinputmethod-gcin-install-and-setup.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/7153049734040604740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/7153049734040604740'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2014/11/linuxinputmethod-gcin-install-and-setup.html' title='[Linux][InputMethod] gcin install and setup. Hsu style keyboard '/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigb-JACcfQZltFaJxUsT5hDrrMuDykTJVVqZQtSOsltZuXIqvHpWWFgr5wcNIA_ilQV97M2T-CVKaIvBqNtU9gcHzgXis1xF91LooI0S0l7vudb4U7iAZpgZgV94D1g729-mDewT4ig6w/s72-c/Hsu.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-8313392159864021269</id><published>2013-10-11T09:03:00.000-07:00</published><updated>2014-11-02T01:14:48.154-08:00</updated><title type='text'>[Linux][WiFi]How to install the driver of WiFi USB SAPIDO AU4912 (Realtek 8192cu)</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9Cf7iC0pTL8VKC1Ea40ySEL0-javjrHGziRyuxYT-xX_PFIPnTdCwxNlkrzCvBZdUmYYS4bd2XU5cKbsI3VYI43E5_b_3mJRs_4jh_nXCBzQI2TRAkp56gLn7QOsWlHVoR2B5kUxWY2Q/s1600/SAPIDO_AU4912.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9Cf7iC0pTL8VKC1Ea40ySEL0-javjrHGziRyuxYT-xX_PFIPnTdCwxNlkrzCvBZdUmYYS4bd2XU5cKbsI3VYI43E5_b_3mJRs_4jh_nXCBzQI2TRAkp56gLn7QOsWlHVoR2B5kUxWY2Q/s1600/SAPIDO_AU4912.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
因為他很小，而且號稱支援Linux，因此就買了這顆WiFi USB dongle &quot;SAPIDO AU-4912&quot;。但在Linux CentOS上使用一直有問題，之前的解決方法，是打電話給SAPIDO客服，他提供給我另一個driver，要我自行編譯、安裝此driver，過程有些辛苦，compile的過程一直出錯，缺東缺西的，因為compile所需對應的檔案都太過老舊，都需要一個一個另外從網路下載回來，終於搞定。但感覺連線的速度很慢，可是因為能用，也就將就著用了。&lt;br /&gt;
Because it&#39;s small and announced to support Linux. I buy the WiFi dongle &quot;SAPIDO AU-4912&quot;. But it can&#39;t be used in CentOS. The first solution that I used was to call SAPIDO customer service for help. He gave me another driver but need to compile by myself. It&#39;s hard to fix the compile errors because the version of driver was too old. I need to download some related packages to fix the errors. But it worked. Although the speed of data is a little slow, at least, it worked.&lt;br /&gt;
&lt;br /&gt;
最近改裝Ubuntu 13.04 (真的滿難用的，幾小時後馬上改成 Linux Mint，LUbuntu 也不錯啦，適合硬體等級較低的電腦，但make, gcc等，都要另外裝)，以上三套發行版安裝好後，都可以連上WiFi AP，但很難連，又很容易斷線，而且因為跟CentOS屬於不同的package方式，實在不想重找一次，只好繼續爬文，後來看到有網友建議，直接安裝Realtek 的driver來試試看,但還是會compile error，目前有找到兩個solution可以解決此問題，建議可先用solution1。&lt;br /&gt;
Solution 1:&lt;br /&gt;
&lt;a href=&quot;https://github.com/pvaret/rtl8192cu-fixes&quot;&gt;https://github.com/pvaret/rtl8192cu-fixes&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
頁面下方直接提供安裝的commands，一步接一步就可完成了。&lt;br /&gt;
&amp;nbsp;The page contains the commands of installation. It&#39;s easy to follow the steps to finish the installation.&lt;br /&gt;
&lt;br /&gt;
Solution 2: &lt;br /&gt;
從&lt;a href=&quot;http://askubuntu.com/questions/290452/installing-workaround-realtek-drivers-for-edimax-but-getting-error&quot;&gt;http://askubuntu.com/questions/290452/installing-workaround-realtek-drivers-for-edimax-but-getting-error&lt;/a&gt; 裡有網友修正的patch並放在git上，實在是太感恩了！終於可以正常連線，而且連線速度看起來也恢復正常水準。&lt;br /&gt;
Recently, I tried to install Ubuntu 13.04(it&#39;s really hard to use. After several hours, I changed it to Linux lint. LUbuntu is also not bad. It&#39;s suitable for old computers, but you need to install make, gcc, etc by yourself first), it can use the WiFi dongle without install additional drivers, but not stable and very easy to disconnect. So frustrated. I don&#39;t want to compile the old version of driver which SAPID customer service provided again, because the package is not the same as CentOS needed. I keep to find out solution on web. Some suggest to use the Realtek&#39;s driver directly, but it also failed to compile successfully. But in the link &lt;a href=&quot;http://askubuntu.com/questions/290452/installing-workaround-realtek-drivers-for-edimax-but-getting-error&quot;&gt;http://askubuntu.com/questions/290452/installing-workaround-realtek-drivers-for-edimax-but-getting-error&lt;/a&gt; someone fixed the bug and share his code. Thanks God! Finally it worked again, and the speed is normal.&lt;br /&gt;
&lt;br /&gt;
cmd 節錄如下：&lt;br /&gt;
/* Get code and compile */&lt;br /&gt;
&lt;span style=&quot;color: #674ea7;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;git clone https://github.com/dz0ny/rt8192cu.git&lt;br /&gt;cd rt8192cu&lt;br /&gt;make&lt;br /&gt;sudo make install&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
/* Rmove old WiFi module and install new one */&lt;br /&gt;
&lt;span style=&quot;color: #674ea7;&quot;&gt;sudo modprobe -r rtl8192cu&lt;br /&gt;sudo modprobe 8192cu&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
如果要讓每次開機都能用到新的driver，在&lt;span style=&quot;color: #674ea7;&quot;&gt;/etc/modprobe.d/blacklist.conf&lt;/span&gt; 的最後加上一行&lt;br /&gt;
/* Prevent to use the old one when power on the computer */&lt;br /&gt;
&lt;span style=&quot;color: #674ea7;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;blacklist rtl8192cu&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/8313392159864021269/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2013/10/linuxwifi-usb-dongle-sapido-au.html#comment-form' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/8313392159864021269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/8313392159864021269'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2013/10/linuxwifi-usb-dongle-sapido-au.html' title='[Linux][WiFi]How to install the driver of WiFi USB SAPIDO AU4912 (Realtek 8192cu)'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9Cf7iC0pTL8VKC1Ea40ySEL0-javjrHGziRyuxYT-xX_PFIPnTdCwxNlkrzCvBZdUmYYS4bd2XU5cKbsI3VYI43E5_b_3mJRs_4jh_nXCBzQI2TRAkp56gLn7QOsWlHVoR2B5kUxWY2Q/s72-c/SAPIDO_AU4912.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-4478600637345934448</id><published>2013-10-11T03:24:00.002-07:00</published><updated>2018-05-14T02:46:02.366-07:00</updated><title type='text'></title><content type='html'></content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/4478600637345934448/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2013/10/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/4478600637345934448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/4478600637345934448'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2013/10/blog-post.html' title=''/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-9170741887722010939</id><published>2012-09-30T08:41:00.000-07:00</published><updated>2012-09-30T08:41:01.557-07:00</updated><title type='text'>[OpenSUSE][Github]How to generate SSH public key in Linux for github</title><content type='html'>How to generate SSH public key in Linux for github&lt;br /&gt;&lt;br /&gt;When you first use github in Linux, for example: Open SUSE, you may suffer one problem is Error: Permission denied (public key). You can follow these steps below to generate public key and use it on github.&lt;br /&gt;&lt;br /&gt;1. &lt;b&gt;&lt;i&gt;cd ~/.ssh&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; Check the folder is exist or not? If yes, got to 2. to backup and remove existing SSH keys. If no, got to 3.&lt;br /&gt;&lt;br /&gt;2. &lt;i&gt;&lt;b&gt;mkdir backup_folder&lt;br /&gt;&amp;nbsp;&amp;nbsp; cp id_rsa* backup_folder&lt;br /&gt;&amp;nbsp;&amp;nbsp; rm id_rsa*&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;3. &lt;i&gt;&lt;b&gt;ssh-keygen -t rsa -C &quot;your_email@youremail.com&quot;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;4. create pbcopy, pbpaste cmds which are useful in Mac OS.&lt;br /&gt;&amp;nbsp;4.1 install XSel tool. You can use cnf xsel to check the cmd to install XSel. The install cmd is&lt;b&gt;&lt;i&gt; sudo zypper install xsel&lt;/i&gt;&lt;/b&gt;.&lt;br /&gt;&amp;nbsp;4.2 add these 2 lines in ~/.bashrc&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;i&gt;alias pbcopy=&#39;xsel --clipboard --input&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alias pbpaste=&#39;xsel --clipboard --output&#39;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;5. &lt;b&gt;&lt;i&gt;pbcopy &amp;lt; ~/.ssh/id_rsa.pub&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; This cmd is used to copy public key content to system clipboard for later use.&lt;br /&gt;&lt;br /&gt;6. Go to your github account setting page. Click &quot;SSH Keys&quot; column. Then click &quot;Add SSH key&quot; and paste the public key conent.&lt;br /&gt;&lt;br /&gt;7. &lt;b&gt;&lt;i&gt;ssh -T git@github.com&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; Check to see you&#39;re authenticated from github. Done.</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/9170741887722010939/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2012/09/opensusegithubhow-to-generate-ssh.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/9170741887722010939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/9170741887722010939'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2012/09/opensusegithubhow-to-generate-ssh.html' title='[OpenSUSE][Github]How to generate SSH public key in Linux for github'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-4724600599436203339</id><published>2012-08-22T08:06:00.000-07:00</published><updated>2012-08-22T08:06:07.669-07:00</updated><title type='text'>[OpenSUSE][Java] Install JDK in OpenSUSE 12.1</title><content type='html'>1. Download &lt;b&gt;jdk&lt;/b&gt;, &lt;b&gt;jre&lt;/b&gt;, then install&lt;br /&gt;
&amp;nbsp; &amp;nbsp; jre-7u6-linux-i586.rpm&lt;br /&gt;
&amp;nbsp; &amp;nbsp; jdk-7u6-linux-i586.rpm&lt;br /&gt;
&lt;br /&gt;
2.&amp;nbsp; &lt;i&gt;sudo rm /etc/alternatives/java&lt;/i&gt;&lt;br /&gt;
3.&amp;nbsp; &lt;i&gt;sudo ln -s /usr/java/jre1.7.0_06/bin/java /etc/alternatives/java&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/4724600599436203339/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2012/08/opensusejava-install-jdk-in-opensuse-121.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/4724600599436203339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/4724600599436203339'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2012/08/opensusejava-install-jdk-in-opensuse-121.html' title='[OpenSUSE][Java] Install JDK in OpenSUSE 12.1'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-8609228118023701571</id><published>2011-05-24T02:35:00.000-07:00</published><updated>2011-05-24T02:36:56.948-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>[Ubuntu] 查詢某個目錄下的總容量</title><content type='html'>du -sh &quot;path&quot;</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/8609228118023701571/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2011/05/ubuntu.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/8609228118023701571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/8609228118023701571'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2011/05/ubuntu.html' title='[Ubuntu] 查詢某個目錄下的總容量'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-2433987119053461262</id><published>2011-02-22T06:42:00.000-08:00</published><updated>2011-02-22T06:44:54.194-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>[Ubuntu]查詢某個目錄下的特定檔案中的字串</title><content type='html'>find . -name &quot;*.java&quot; -print -exec grep -n CameraHolder {} \;&lt;br /&gt;&lt;br /&gt;查詢目前目錄下，檔案名稱為 *.java 之中，含有CameraHolder的字串</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/2433987119053461262/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2011/02/ubuntu.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/2433987119053461262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/2433987119053461262'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2011/02/ubuntu.html' title='[Ubuntu]查詢某個目錄下的特定檔案中的字串'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-4237340038668428088</id><published>2010-12-24T02:01:00.000-08:00</published><updated>2010-12-24T02:02:48.262-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>[Android]ERROR/Database(241):     at  android.database.sqlite.SQLiteDatabase.native_setLocale(Native Method)</title><content type='html'>&lt;code&gt;synchronized(this) {&quot;&lt;span style=&quot;font-weight: bold;&quot;&gt;put your database code here&lt;/span&gt;&quot;}&lt;br /&gt;&lt;br /&gt;ps: need time to prove it. :)&lt;br /&gt;&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/4237340038668428088/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2010/12/androiderrordatabase241-at.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/4237340038668428088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/4237340038668428088'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2010/12/androiderrordatabase241-at.html' title='[Android]ERROR/Database(241):     at  android.database.sqlite.SQLiteDatabase.native_setLocale(Native Method)'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-4182906066192995665</id><published>2010-11-30T23:31:00.000-08:00</published><updated>2010-11-30T23:36:32.075-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>[Android] How to set default input method</title><content type='html'>If you want to build a system which default input method is not Android default keyboard. You can use this way.&lt;br /&gt;&lt;br /&gt;LINUX\android\frameworks\base\services\java\com\android\server\InputMethodManagerService.java&lt;br /&gt;&lt;br /&gt;private boolean &lt;span style=&quot;font-weight: bold;&quot;&gt;chooseNewDefaultIMELocked&lt;/span&gt;() --&gt; modify what you want here.</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/4182906066192995665/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2010/11/android-how-to-set-default-input-method.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/4182906066192995665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/4182906066192995665'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2010/11/android-how-to-set-default-input-method.html' title='[Android] How to set default input method'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-910089007696300593</id><published>2010-10-21T04:22:00.000-07:00</published><updated>2010-10-21T04:25:46.233-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>[Android] Android market can&#39;t download</title><content type='html'>Fxxk, fuxk, fxuk!!!&lt;br /&gt;&lt;br /&gt;Finally, this should be a &quot;Temp&quot; solution. Google! Please fix it soon!!!!&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;wpcpiiCSS wpcpscCSS&quot;&gt; Popular answer &lt;/div&gt; So far this is the best answer I got. A bit tedious but it worked great  for me.&lt;br /&gt;&lt;br /&gt;1. go to your settings&lt;br /&gt;2. select &quot;applications&quot;&lt;br /&gt;3.  then select &quot;manage applications&quot;&lt;br /&gt;4. press menu and select &quot;filter&quot;  then &quot;All&quot;&lt;br /&gt;5. scroll down to:&lt;br /&gt;&lt;br /&gt;    a) &quot;Checkin Service&quot; then  select &quot;clear data&quot;&lt;br /&gt;    b) &quot;Download Manager&quot; then select &quot;clear  data&quot;&lt;br /&gt;    c) &quot;Google Apps&quot; then &quot;clear data&quot;&lt;br /&gt;    d) &quot;Google Talk  Service&quot;  then select &quot;clear data&quot;&lt;br /&gt;    e) &quot; Market&quot; then select  &quot;clear cache&quot;&lt;br /&gt;&lt;br /&gt;solution is from &lt;span title=&quot;&quot; class=&quot;focus-hover&quot; gid=&quot;103930400261620559036&quot;&gt;&lt;/span&gt;&lt;a class=&quot;lCSS&quot; href=&quot;http://www.google.com.tw/support/forum/p/Android+Market/thread?tid=1cb892a5687721eb&amp;amp;hl=en&quot;&gt;VicViper2k5&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/910089007696300593/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2010/10/android-android-market-cant-download.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/910089007696300593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/910089007696300593'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2010/10/android-android-market-cant-download.html' title='[Android] Android market can&#39;t download'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-3812152763629805340</id><published>2010-10-18T04:39:00.000-07:00</published><updated>2010-10-18T04:56:18.266-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>[Android]How to simulate SD card without a real SD card?</title><content type='html'>Only test for Froyo 2.2&lt;br /&gt;&lt;br /&gt;If your SD card of develop target was broken or something else, the temp solution may keep you going...&lt;br /&gt;&lt;br /&gt;We mount an internal folder to replace the read SD card.&lt;br /&gt;&lt;br /&gt;There are 2 files need to be modified.&lt;br /&gt;1. init.rc&lt;br /&gt;    *  &lt;span style=&quot;font-weight: bold;&quot;&gt;export EXTERNAL_STORAGE /mnt/sdcard&lt;/span&gt;&lt;br /&gt;        change it to&lt;br /&gt;        &lt;span style=&quot;font-weight: bold;&quot;&gt;export EXTERNAL_STORAGE /data/sdcard&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    *&lt;span style=&quot;font-weight: bold;&quot;&gt;mkdir /mnt/sdcard 0000 system system&lt;/span&gt;&lt;br /&gt;      disable this line&lt;br /&gt;&lt;br /&gt;    * add below lines under mkdir &lt;span style=&quot;font-weight: bold;&quot;&gt;/acct/uid&lt;/span&gt;&lt;br /&gt;      &lt;span style=&quot;font-weight: bold;&quot;&gt; mkdir /data/sdcard 0777 system system&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;       symlink /data/sdcard /sdcard&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;       mkdir /data/sdcard/DCIM 0777 system system&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;       mkdir /data/sdcard/DCIM/100ANDRO 0777 system system&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    * &lt;span style=&quot;font-weight: bold;&quot;&gt;symlink /mnt/sdcard /sdcard&lt;/span&gt;&lt;br /&gt;      disable this line&lt;br /&gt;&lt;br /&gt;    * add below lines under &lt;span style=&quot;font-weight: bold;&quot;&gt;chmod 0771 /data&lt;/span&gt;&lt;br /&gt;     &lt;span style=&quot;font-weight: bold;&quot;&gt; chown system system /data/sdcard&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;      chmod 0777 /data/sdcard&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2. Environment.java&lt;br /&gt;&lt;br /&gt;    Always return &lt;span style=&quot;font-weight: bold;&quot;&gt;MEDIA_MOUNTED&lt;/span&gt; in function &lt;span style=&quot;font-weight: bold;&quot;&gt;getExternalStorageState()&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3. Modify related code if need in your application</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/3812152763629805340/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2010/10/androidhow-to-simulate-sd-card-without.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/3812152763629805340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/3812152763629805340'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2010/10/androidhow-to-simulate-sd-card-without.html' title='[Android]How to simulate SD card without a real SD card?'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-8891532397375039145</id><published>2010-10-18T04:32:00.000-07:00</published><updated>2010-10-18T04:36:47.760-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>[Android]Why the lib didn&#39;t build into target?</title><content type='html'>In fact, the module of lib will build into target if we don&#39;t write specific tag into Android.mk.&lt;br /&gt;&lt;br /&gt;For example, if we write this line into Android.mk&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;LOCAL_MODULE_TAGS := optional&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Build system will skip this module, not build it into target.</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/8891532397375039145/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2010/10/androidwhy-lib-didnt-build-into-target.html#comment-form' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/8891532397375039145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/8891532397375039145'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2010/10/androidwhy-lib-didnt-build-into-target.html' title='[Android]Why the lib didn&#39;t build into target?'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-8793170251072532038</id><published>2010-08-29T07:07:00.000-07:00</published><updated>2018-05-14T02:46:02.788-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>[Android]How to use PopupWindow class</title><content type='html'>Search key words:&lt;br /&gt;1.&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/8793170251072532038/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2010/08/androidhow-to-use-popupwindow-class.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/8793170251072532038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/8793170251072532038'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2010/08/androidhow-to-use-popupwindow-class.html' title='[Android]How to use PopupWindow class'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-5395243980211015654</id><published>2010-07-31T06:19:00.000-07:00</published><updated>2010-07-31T06:41:50.545-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="上班筆記"/><title type='text'>[RD]開發階段前應該要有的準備工作</title><content type='html'>Step1: Survey solution&lt;br /&gt;要盡可能的找到可以運用的Resource，把所有可能性在最短時間列出來，然後跟老闆報告全部需要Survey的時間，這樣才能說服老闆你需要花多久時間來Survey?&lt;br /&gt;&lt;br /&gt;Step2: Candidate proposal&lt;br /&gt;把可能的選擇性列出來，必須對相關的code base 以及所有資料詳加研讀，至少要涵蓋到state machine以及main function flow&lt;br /&gt;&lt;br /&gt;Step3: Psudo implementation&lt;br /&gt;把要新增或修改的功能，實際上想過一遍，要將過程中任何可能會造成Risk的地方都必須先寫出test sample，確認一下可行性。&lt;br /&gt;&lt;br /&gt;Step4: Write SHD (Softeware High level Design)&lt;br /&gt;前面3點都確實執行完畢之後，再來寫Design spec。&lt;br /&gt;&lt;br /&gt;重點是:我們必須要先提出我們確實想要進行的項目有哪些？(包括Survey, Study, and Verify the possiblity等階段)，才有具體的理由爭取到時間。</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/5395243980211015654/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2010/07/rd.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/5395243980211015654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/5395243980211015654'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2010/07/rd.html' title='[RD]開發階段前應該要有的準備工作'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-337294011697846259</id><published>2010-07-26T08:34:00.000-07:00</published><updated>2010-07-26T08:47:25.164-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="Mylyn"/><title type='text'>[Eclipse]What is Mylyn?</title><content type='html'>You can said &quot;Mylyn&quot; project is a task management project. It can help you to trace your tasks.&lt;br /&gt;&lt;br /&gt;In the &lt;a href=&quot;http://www.vogella.de/articles/Mylyn/article.html&quot;&gt;tutorial &lt;/a&gt; and the &lt;a href=&quot;http://wiki.eclipse.org/index.php/Mylyn/User_Guide&quot;&gt;official user guide&lt;/a&gt; ,both said you can Window -&gt; Show View -&gt; Other... -&gt; Mylyn -&gt; Task List. In fact, you can&#39;t follow it successfully. In the new version (Greater than 3.5) seems remove the path Mylyn. It should be Window -&gt; Show View -&gt; Other... -&gt; Task List.&lt;br /&gt;&lt;br /&gt;Besides, it&#39;s better has a bugzilla repository or others. It should be more useful for a team work. I like the function to record the spending time on a task. But I have no idea how to use it from those tutorial.&lt;br /&gt;&lt;br /&gt;Maybe see next time, hope has the opportunity to learn more about it.For now, just stop here. :)</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/337294011697846259/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2010/07/eclipsewhat-is-mylyn.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/337294011697846259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/337294011697846259'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2010/07/eclipsewhat-is-mylyn.html' title='[Eclipse]What is Mylyn?'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-276328439827292968</id><published>2010-07-24T09:06:00.000-07:00</published><updated>2018-05-14T02:46:02.000-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PSP"/><title type='text'>[PSP]Chapter 3</title><content type='html'>Correlation should be greater than 0.7, then you can said the two things are high related. To prevent the data is too small, we need to evaluate another coefficient - significance.&lt;br /&gt;&lt;br /&gt;Significance should be less than 0.05. The number is smaller, the opportunity of happened by random is smaller.</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/276328439827292968/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2010/07/pspchapter-3.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/276328439827292968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/276328439827292968'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2010/07/pspchapter-3.html' title='[PSP]Chapter 3'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-679597424447414415</id><published>2010-07-18T03:06:00.000-07:00</published><updated>2010-07-18T04:02:22.618-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><title type='text'>[Eclipse]Eclipse IDE Tutorial</title><content type='html'>&lt;a href=&quot;http://www.vogella.de/articles/Eclipse/article.html&quot;&gt;Eclipse IDE Tutorial&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Create jar files&lt;/span&gt;&lt;br /&gt;1. Select your project, right click on it and select &quot;Export&quot;.&lt;br /&gt;2. Select JAR file, select next.&lt;br /&gt;3. Select your project and maintain the export destination and a name for the jar file.&lt;br /&gt;4. Press finish&lt;br /&gt;5. Open a command shell(ex: DOS command), then run &lt;span style=&quot;font-style: italic;&quot;&gt;java -classpath your.jar YourClassName&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Using java libraries(jar)&lt;/span&gt;&lt;br /&gt;1. Create a folder named &lt;span style=&quot;font-style: italic;&quot;&gt;lib&lt;/span&gt;&lt;br /&gt;2. import your jar files,from the menu select File -&gt; Import -&gt; File system. Select your jar and select the folder lib as target.&lt;br /&gt;3.Select your project, right mouse click and select properties.in the third row &lt;span style=&quot;font-style: italic;&quot;&gt;Java Build Path&lt;/span&gt; Under libraries select &quot;Add JARs&quot;.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Show source code for jar&lt;/span&gt;&lt;br /&gt;1. Open the Java Build Path page of a project (Projects &gt;  Properties &gt; Java Build Path). On the Libraries page expand the library&#39;s node and select the Source attachment attribute and press Edit&lt;br /&gt;2. In the Location path field, enter the path of an archive or a folder containing the source.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Add the Javadoc for a jar&lt;/span&gt;&lt;br /&gt;1. Download the javadoc of the jar and put it somewhere in your filesystem.&lt;br /&gt;2.  Open the Java Build Path page of a project (Projects &gt;  Properties &gt; Java Build Path). On the Libraries page expand the library&#39;s node and select the Javadoc location attribute and press Edit.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Problem View&lt;/span&gt;&lt;br /&gt;Only show the problems of current project. Not show all problems.&lt;br /&gt;1. open it via Windows -&gt; Show View -&gt; Problem&lt;br /&gt;2. Select &lt;span style=&quot;font-style: italic;&quot;&gt;Configure Contents&lt;/span&gt; in the view&#39;s option menu.&lt;br /&gt;3. Checked &lt;span style=&quot;font-style: italic;&quot;&gt;Error/Warnings on Project&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Working Sets&lt;/span&gt;&lt;br /&gt;It can help you to organize all of your projects!&lt;br /&gt;1. To setup your working set select in the Package Explorer -&gt; Show -&gt;  Working Sets.&lt;br /&gt;2. Press &lt;span style=&quot;font-style: italic;&quot;&gt;New&lt;/span&gt; to create a new Working Set&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Synchronize package explorer with code display&lt;/span&gt;&lt;br /&gt;1. press &lt;span style=&quot;font-style: italic;&quot;&gt;Link with Editor&lt;/span&gt; button on the right top of &lt;span style=&quot;font-style: italic;&quot;&gt;Package Exploer&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Code Templates&lt;/span&gt;&lt;br /&gt;This is very useful. You can typed short words, then press &lt;span style=&quot;font-style: italic;&quot;&gt;Ctrl+Space&lt;/span&gt; to replace to the sentence you want.&lt;br /&gt;1. select the menu Window-&gt;Preferences and Open Java -&gt; Editor -&gt; Templates&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Note:&lt;/span&gt; &lt;span style=&quot;font-style: italic;&quot;&gt;Ctrl+Space&lt;/span&gt; always has been defined by other applications, especially for Asia people who using it to change language input method.We need to change the shortcut Ctrl+Space&lt;span style=&quot;font-style: italic;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Modify shortcut&lt;/span&gt;&lt;br /&gt;Replace shortcut from &lt;span style=&quot;font-style:italic;&quot;&gt;Ctrl+Space&lt;/span&gt; to &lt;span style=&quot;font-style:italic;&quot;&gt;Ctrl+Enter&lt;/span&gt;&lt;br /&gt;1. Select the menu Window-&gt;Preferences and Open General -&gt; Keys&lt;br /&gt;2. Using filter to type &lt;span style=&quot;font-style: italic;&quot;&gt;Content Assist&lt;/span&gt; to find &lt;span style=&quot;font-style: italic;&quot;&gt;Content Assist(type:Template Proposals)&lt;/span&gt;&lt;br /&gt;3. In &lt;span style=&quot;font-style: italic;&quot;&gt;binding:&lt;/span&gt; field, press key &lt;span style=&quot;font-style: italic;&quot;&gt;Ctrl+Enter&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Coming soon...&lt;br /&gt;&lt;a href=&quot;http://www.vogella.de/articles/Mylyn/article.html&quot;&gt;Mylyn Project&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.vogella.de/articles/JFreeChart/article.html&quot;&gt;JFreeChart Project&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.vogella.de/articles/EclipseShortcuts/article.html&quot;&gt;Common useful Shortcut&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.vogella.de/articles/EclipseDebugging/article.html&quot;&gt;Debugging&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.vogella.de/articles/EclipseRCP/article.html&quot;&gt;Stand alone Java Client&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/679597424447414415/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2010/07/eclipseeclipse-ide-tutorial.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/679597424447414415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/679597424447414415'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2010/07/eclipseeclipse-ide-tutorial.html' title='[Eclipse]Eclipse IDE Tutorial'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-8031531016629443270</id><published>2010-05-31T07:50:00.000-07:00</published><updated>2010-05-31T07:52:19.330-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C"/><title type='text'>[C]如何列出一個字串所有的排列組合？</title><content type='html'>#include &lt;stdio.h&gt;&lt;br /&gt;#include &lt;stdlib.h&gt;&lt;br /&gt;#include &quot;test.h&quot;&lt;br /&gt;&lt;br /&gt;#define LENGTH 3&lt;br /&gt;char charArray[LENGTH+1];&lt;br /&gt;&lt;br /&gt;void init(void)&lt;br /&gt;{&lt;br /&gt;    int i;&lt;br /&gt;    for (i=0; i&lt; LENGTH; i++)&lt;br /&gt;    {  &lt;br /&gt;        //charArray[i] = 43+i;&lt;br /&gt;        charArray[i] = 65+i;&lt;br /&gt;        printf(&quot;%c &quot;, charArray[i]);&lt;br /&gt;    }&lt;br /&gt;    charArray[LENGTH]=&#39;\0&#39;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void printSerial(int len, char* sourceChar, char* prefixChar)&lt;br /&gt;{  &lt;br /&gt;    int i;&lt;br /&gt;&lt;br /&gt;    if (len &gt;= 2) &lt;br /&gt;    {&lt;br /&gt;        //printf(&quot;AA=%s\n&quot;, sourceChar);   &lt;br /&gt;        for (i=0; i &lt; len; i++)&lt;br /&gt;        {&lt;br /&gt;           int    pre_len = 0;&lt;br /&gt;           char* pcPrefix = NULL;&lt;br /&gt;           char* psrcArray = (char*)malloc(len);&lt;br /&gt;           &lt;br /&gt;           if (prefixChar)  &lt;br /&gt;               pre_len = strlen(prefixChar);&lt;br /&gt;           pcPrefix = (char*)malloc(pre_len+2);&lt;br /&gt;&lt;br /&gt;           if (prefixChar)&lt;br /&gt;               strcpy(pcPrefix, prefixChar);&lt;br /&gt;            &lt;br /&gt;           pcPrefix[pre_len] = sourceChar[i];&lt;br /&gt;           pcPrefix[pre_len+1] = &#39;\0&#39;;&lt;br /&gt;          // printf(&quot;%d=pcPrefix=%s\n&quot;,pre_len, pcPrefix);&lt;br /&gt;           int j, k=0;&lt;br /&gt;           for (j=0; j&lt;len;j++)&lt;br /&gt;           {  &lt;br /&gt;               if (j!=i)  &lt;br /&gt;                   psrcArray[k++]=sourceChar[j];&lt;br /&gt;           }&lt;br /&gt;           psrcArray[len]=&#39;\0&#39;;&lt;br /&gt;           //printf(&quot;%d=%s=%s\n&quot;, len-1, psrcArray, pcPrefix); &lt;br /&gt;           printSerial(len-1, psrcArray, pcPrefix);&lt;br /&gt;           &lt;br /&gt;        }       &lt;br /&gt;     }&lt;br /&gt;     else&lt;br /&gt;     {&lt;br /&gt;         if (prefixChar != NULL)&lt;br /&gt;             printf(&quot;%s&quot;, prefixChar);&lt;br /&gt;         printf(&quot;%c &quot;, *sourceChar);&lt;br /&gt;     }&lt;br /&gt;    &lt;br /&gt;     if (sourceChar)&lt;br /&gt;     {&lt;br /&gt;        free(sourceChar);&lt;br /&gt;        sourceChar = NULL;&lt;br /&gt;     }&lt;br /&gt; &lt;br /&gt;     if (prefixChar)&lt;br /&gt;     {&lt;br /&gt;        free(prefixChar);&lt;br /&gt;        prefixChar = NULL;&lt;br /&gt;     }   &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;    char* psrcArray = NULL;&lt;br /&gt;    char* pcPrefix = NULL;&lt;br /&gt;&lt;br /&gt;    printf(&quot;test\n&quot;);    &lt;br /&gt;    init();&lt;br /&gt;    printf(&quot;\n\n&quot;);&lt;br /&gt;        &lt;br /&gt;    psrcArray = (char*)malloc(LENGTH+1);     &lt;br /&gt;    //printf(&quot;c=%s\n&quot;, charArray);&lt;br /&gt;    if (psrcArray)&lt;br /&gt;        strcpy((char*)psrcArray, (const char*)charArray); &lt;br /&gt;    psrcArray[LENGTH]=&#39;\0&#39;;&lt;br /&gt;    //printf(&quot;p=%s\n&quot;, psrcArray);&lt;br /&gt;    printSerial(LENGTH, psrcArray, NULL);&lt;br /&gt;    &lt;br /&gt;    printf(&quot;\n\n&quot;);&lt;br /&gt;    return 0;&lt;br /&gt;}</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/8031531016629443270/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2010/05/c.html#comment-form' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/8031531016629443270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/8031531016629443270'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2010/05/c.html' title='[C]如何列出一個字串所有的排列組合？'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-8699375124192835386</id><published>2010-04-01T09:22:00.000-07:00</published><updated>2010-04-01T09:30:03.442-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><title type='text'>[Eclipse]Refactor</title><content type='html'>&lt;span style=&quot;font-weight:bold;&quot;&gt;選單 [Refactor]-&gt;Extract Method...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. 先選取一段想要變成function 的code，選取好之後，這個選單才會變成可以選取的狀態&lt;br /&gt;2. 執行[Refactor]-&gt;Extract Method...&lt;br /&gt;3. 跳出編輯視窗，填入檔名和其他屬性&lt;br /&gt;4. Function就自動建好了，而且會把其他地方的相同的code，都用function取代了。</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/8699375124192835386/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2010/04/eclipserefactor.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/8699375124192835386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/8699375124192835386'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2010/04/eclipserefactor.html' title='[Eclipse]Refactor'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-329537476752152090</id><published>2010-04-01T09:19:00.000-07:00</published><updated>2010-04-01T09:22:31.250-07:00</updated><title type='text'>[Eclipse]Useful shortcut</title><content type='html'>&lt;span style=&quot;font-weight:bold;&quot;&gt;Ctrl-Shift-O&lt;/span&gt;&lt;br /&gt;如果要老是記住哪一個class是在哪一個package裡？對記憶力可是一種考驗。&lt;br /&gt;現在可以在寫code的時候，先不要管需要import哪些package？先專心把code寫完，然後只要按下Ctrl-Shift-O 之後，Eclipse就會自動把缺的package的部分補上來了。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Ctrl+Shif+P&lt;/span&gt;&lt;br /&gt;首先將cursor移到一個括號上，按Ctrl+Shift+P可以在相對應的一組括號的上下括號跳來跳去。</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/329537476752152090/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2010/04/eclipseuseful-shortcut.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/329537476752152090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/329537476752152090'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2010/04/eclipseuseful-shortcut.html' title='[Eclipse]Useful shortcut'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-6700330865598997210</id><published>2010-03-15T07:32:00.000-07:00</published><updated>2010-03-15T07:34:50.201-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>[Ubuntu]How to fix the noise of PC speaker after shut down</title><content type='html'>Turn off PC speaker&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;br /&gt;&gt;sudo -s&lt;br /&gt;&gt;echo blacklist pcspkr &gt;&gt; /etc/modprobe.d/blacklist.conf&lt;br /&gt;&gt;exit&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/6700330865598997210/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2010/03/ubuntuhow-to-fix-noise-of-pc-speaker.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/6700330865598997210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/6700330865598997210'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2010/03/ubuntuhow-to-fix-noise-of-pc-speaker.html' title='[Ubuntu]How to fix the noise of PC speaker after shut down'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-3638475492873140788</id><published>2010-03-04T08:30:00.000-08:00</published><updated>2010-03-17T08:29:54.496-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>[Ubuntu]How to fix GRUB?</title><content type='html'>link to &lt;a href=&quot;http://blog.xuite.net/gbisland/linux/15253021&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;1. Using Ubuntu livdCD to boot up, open a terminal&lt;br /&gt;&lt;br /&gt;type cmd: sudo grub&lt;br /&gt;&lt;br /&gt;in grub&gt;&lt;br /&gt;&lt;br /&gt;[find the pwd of grub]&lt;br /&gt;grub&gt;find /boot/grub/stage1&lt;br /&gt;&lt;br /&gt;[then record pwd]&lt;br /&gt;grub&gt;root (hd?,?)&lt;br /&gt;&lt;br /&gt;[install grub to mbr]&lt;br /&gt;grub&gt;setup (hd0)&lt;br /&gt;&lt;br /&gt;[Exit]&lt;br /&gt;grub&gt;quit&lt;br /&gt;&lt;br /&gt;2. another solution:&lt;br /&gt;Using Ubuntu LiveCD to boot up, in startup menu, select &lt;br /&gt;&quot;救援已損壞的系統(R)&quot;&lt;br /&gt;Then...&lt;br /&gt;a) Detect keyboard layout? (You can select No to skip), then select &quot;USA&quot;&lt;br /&gt;b) Select root file system. Don&#39;t worry. If you dont remeber which one? Guess the one that is not Windows Which almost be sda1. If you select wrong one, system will tell you. So, you can back to select another.&lt;br /&gt;c) select &quot;重新安裝GRUB開機程式&quot;(Reinstall GRUB)&lt;br /&gt;d) type (hd0) to install GRUB (Most people install in hd0, if you using USB disk, this may not be your answer)&lt;br /&gt;e)Reboot</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/3638475492873140788/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2010/03/ubuntuhow-to-fix-grub.html#comment-form' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/3638475492873140788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/3638475492873140788'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2010/03/ubuntuhow-to-fix-grub.html' title='[Ubuntu]How to fix GRUB?'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7095753795302608275.post-4260915980635034499</id><published>2010-02-27T08:46:00.000-08:00</published><updated>2010-02-27T08:50:14.568-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>[Ubuntu]Fix wireless disconnect automatically problem</title><content type='html'>My acer ASPIRE 4740G in Ubuntu 9.10 has wireless problem. It will disconnect automatically. &lt;br /&gt;&lt;br /&gt;We can use&lt;br /&gt;&quot;sudo apt-get install wicd&quot;&lt;br /&gt;to install Wicd Network Manager to replace the default one to fix this problem.</content><link rel='replies' type='application/atom+xml' href='http://ponsonsun.blogspot.com/feeds/4260915980635034499/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ponsonsun.blogspot.com/2010/02/ubuntufix-wireless-disconnect.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/4260915980635034499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7095753795302608275/posts/default/4260915980635034499'/><link rel='alternate' type='text/html' href='http://ponsonsun.blogspot.com/2010/02/ubuntufix-wireless-disconnect.html' title='[Ubuntu]Fix wireless disconnect automatically problem'/><author><name>Ponson&#39;s Tribe</name><uri>http://www.blogger.com/profile/02221318917002418355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>