<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6025786762833970513</id><updated>2012-01-19T04:17:54.291+08:00</updated><category term='BASH'/><category term='linux'/><category term='Network'/><category term='java'/><category term='心情'/><category term='Debian'/><category term='web'/><category term='VirtualBox'/><category term='java範例'/><category term='生活與常識'/><category term='CCNA'/><category term='filesystem'/><category term='software'/><category term='Debian.Desktop'/><category term='Mac'/><category term='OpenOffice.org'/><category term='LOVE'/><category term='samba'/><category term='science.software'/><category term='fun'/><category term='OpenSuSE'/><category term='JavaScript'/><category term='shellscript'/><category term='hardware'/><category term='google'/><category term='win32.free'/><title type='text'>Maxsolar's Linux Blog</title><subtitle type='html'>一個關於linux與java的學習筆記，當然還有作者自己的心情紀錄。</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default?start-index=101&amp;max-results=100'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>174</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-608710044563396057</id><published>2012-01-19T04:15:00.003+08:00</published><updated>2012-01-19T04:17:54.297+08:00</updated><title type='text'>建立flashplayer的deb檔</title><summary type='text'>最近發現許多瀏覽器上的flash都被宣告為過期的版本而無法使用，想要玩線上遊戲或是看YouTube總是很困擾。Adobe的官方網頁上雖然好像有apt的版本，不過不曉得該用什麼應用程式來開啟或安裝他。於是想到把下載來的tar.gz檔自己作成deb來安裝吧！
  1. 下載新版的flash player:
  至Adobe官方網站下載適合自己平台的rpm及tar.gz檔。下載這個rpm檔純粹是為了要得知版本號，沒有真正其他用途。
  利用rpm指令檢查一下他的版本(ubuntu預設沒有安裝rpm，需手動安裝)
  rpm -qpi flash-plugin-11.1.102.55-release.x86_64.rpm發現訊息如下：
  Name        : flash-plugin                 Relocations: (not relocatable)
</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/608710044563396057/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=608710044563396057' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/608710044563396057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/608710044563396057'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2012/01/flashplayerdeb.html' title='建立flashplayer的deb檔'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-9012284566176534961</id><published>2011-10-24T22:03:00.002+08:00</published><updated>2012-01-18T21:16:12.099+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><title type='text'>JDK7 on non-RPM based Linux</title><summary type='text'>JDK 7出來已經有一段時日了，官方網頁也貼心的提供了rpm的套件可以直接安裝，只可惜沒有deb可以下載。雖然如此，我們還是可以省略掉一些手法來同時使用系統提供的jdk6以及網路下載的jdk7--利用update-alternatives工具來達成。但是為了方便作說明，還是先安裝系統套件庫所提供的jdk6吧：
  aptitude install sun-java6-jdk
  接著下載適合自己的版本：x86或是x86_64
  我先查看自己的java版本以及他安裝在何處：
  ls -l `which java`發現原來是連結到/etc/alternatives裡：
  lrwxrwxrwx 1 root root 22 2011-10-24 21:39 /usr/bin/java -&gt; /etc/alternatives/java
  利用update-alternatives</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/9012284566176534961/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=9012284566176534961' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/9012284566176534961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/9012284566176534961'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2011/10/jdk7-on-non-rpm-based-linux.html' title='JDK7 on non-RPM based Linux'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-6450090816082712118</id><published>2011-07-26T03:08:00.005+08:00</published><updated>2011-07-26T14:00:42.355+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Network'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>NIC Bonding and IP Aliasing on Linux</title><summary type='text'>IP Aliasing
   IP aliasing是把多個IP關聯到同一張網卡的一種技術。一般的使用狀態下，一張網卡只需要一組IP位置，但是有許多時候我們為了安全性/管理方便，會希望一張網卡能有一個以上的IP，因此會使用IP aliasing。
   假設主機原本的public IP為182.168.150.124/24，想要再額外指定一個private IP 192.168.150.124/24：
   
    for Debian/Ubuntu/LinuxMint/B2D users:
    請注意在Linux底下控制網路有兩種方法：利用NetworkManager以及傳統ifup/ifdown的方式。在Debian系統的邏輯裡，如果有設定檔就會以設定檔為主，因此NetworkManager與ifup/ifdown的控制權不那麼明顯。但在Ubuntu的邏輯裡，一律都以</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/6450090816082712118/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=6450090816082712118' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/6450090816082712118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/6450090816082712118'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2011/07/nic-bonding-and-ip-aliasing-on-linux.html' title='NIC Bonding and IP Aliasing on Linux'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-2907948428260743729</id><published>2011-05-29T22:04:00.002+08:00</published><updated>2011-05-29T22:13:30.498+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shellscript'/><category scheme='http://www.blogger.com/atom/ns#' term='VirtualBox'/><title type='text'>change vdi UUID</title><summary type='text'>&lt;!--
/**
 * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann
 * (http://qbnz.com/highlighter/ and http://geshi.org/)
 */
.bash .de1, .bash .de2 {font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;color: #000020;}
.bash  {font-family:monospace;color: #006; border: 1px solid #d0d0d0; background-color: #f0f0f0;}
.bash a:link {color: #000060;</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/2907948428260743729/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=2907948428260743729' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/2907948428260743729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/2907948428260743729'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2011/05/change-vdi-uuid.html' title='change vdi UUID'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-8100845947603911831</id><published>2011-02-21T14:00:00.007+08:00</published><updated>2011-02-24T23:26:27.918+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><category scheme='http://www.blogger.com/atom/ns#' term='shellscript'/><title type='text'>GNOME動態桌布 (Wallpaper Slideshow)</title><summary type='text'>&lt;!--
/**
 * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann
 * (http://qbnz.com/highlighter/ and http://geshi.org/)
 */
.bash .de1, .bash .de2 {font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;color: #000020;}
.bash  {font-family:monospace;color: #006; border: 1px solid #d0d0d0; background-color: #f0f0f0;}
.bash a:link {color: #000060;</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/8100845947603911831/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=8100845947603911831' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8100845947603911831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8100845947603911831'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2011/02/gnome-wallpaper-slideshow.html' title='GNOME動態桌布 (Wallpaper Slideshow)'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-2KDREgYzu74/TWH_ghiIPII/AAAAAAAABh8/U3QQEeW4o9Q/s72-c/001.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-7598743557484807134</id><published>2011-01-30T00:28:00.008+08:00</published><updated>2011-01-30T19:56:18.919+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>StarCraft II on Linux</title><summary type='text'>星海爭霸II：自由之翼 其實本來在我的MacOSX上跑得好好的。但不知道為什麼，在Perth某一天更新之後，明明已經更新完成了，但是更新小視窗就消失了。點了桌面上的啟動圖示也沒用，又開啟了更新小視窗，然後又顯示下載更新，下載還沒結束小視窗又自動關閉；最後重新安裝StarCraft II也是一樣的下場。
  後來，我把她安裝到我的WindowsXP上。不知道為什麼，效率其差無比，但是為了玩，只好將就。到了Adelaide之後，我的xp完全不能開機；塞了光碟片修復之後，雖然可以開了，但是windows的音效卡會自動消失偵測不到混音裝置。我再也沒有興趣跟力氣搞windows這種天生殘障的問題，所以我把腦筋動到wine：我可以輕易的在linux上安裝Office 2003以及CorelDraw 12，為何不試試看裝星海II呢？
  在網路上找找StarCraft II on Linux這些關鍵字</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/7598743557484807134/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=7598743557484807134' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7598743557484807134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7598743557484807134'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2011/01/starcraft-ii-on-linux.html' title='StarCraft II on Linux'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_uj4HRyN9rzw/TURAX6xqaRI/AAAAAAAABhI/agQZ4iamg4w/s72-c/01-install.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-2644261939765272694</id><published>2011-01-08T16:03:00.004+08:00</published><updated>2011-01-08T17:21:49.981+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>Ultraedit For Linux(UEX)釋出</title><summary type='text'>UltraEdit For Linux/Mac版其實去年八月底就釋出了，截至目前為止(2011.01.08)在MacOS上的最新版本是2.0.0.2，在Linux上則是1.2.0.12，針對Ubuntu/Debian, OpenSuSE, Redhat, Fedora四大類Linux發行版本提供32及64bits版本的安裝程式。對於非上述Linux的版本則提供以編譯好的tarball，解壓縮之後就可以直接使用。
  試用版提供30天的試用期，不管這30天你用多少次，30天之後就會強迫要求輸入註冊碼，否則就會自動關閉。
  我們來試用看看吧：
  Download UltraEdit Linux 1.2.0.12 patch。如果連結失效的話，試試看這裡。
  到UltraEdit Linux下載頁面根據你的作業系統下載相對應的版本。
  除了下載deb或rpm檔之外，請再額外下載最下面的</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/2644261939765272694/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=2644261939765272694' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/2644261939765272694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/2644261939765272694'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2011/01/ultraedit-for-linuxuex.html' title='Ultraedit For Linux(UEX)釋出'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_uj4HRyN9rzw/TSgebwUSDJI/AAAAAAAABgg/Qr7mRqrP08M/s72-c/UEX.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-1980172377207932902</id><published>2011-01-03T00:42:00.003+08:00</published><updated>2011-01-03T00:47:20.923+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VirtualBox'/><title type='text'>Shared folders on Virtualbox</title><summary type='text'>Virtualbox終於邁入4.0了！這個版本比先前3.2.x的版本多了比較視覺化的功能，也開始支援guest MacOSX了！對於USB 2.0的支援變成需要下載額外套件來安裝才行。令我印象比較深刻的是
  4.0在shared folders多了automatic mounting的功能，可以讓她自動掛載在/mnt(Solaris)或是/media(Linux)上，對於許多linux不熟的下一步工程師而言，這可是個美好的功能。
  本文的目的也是為了紀錄做一個guest端automatic mounting的筆記，只不過我希望透過寫在/etc/fstab裡使其開機可以掛載。我堅信唯有透過撰寫設定檔，才能增加對於該功能的了解。
  在shared folders的設定裡有兩個選項：Read-only跟Auto-mount。使用automatic mounting需注意使用者必須有加入</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/1980172377207932902/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=1980172377207932902' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1980172377207932902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1980172377207932902'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2011/01/shared-folders-on-virtualbox.html' title='Shared folders on Virtualbox'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_uj4HRyN9rzw/TSCrVkOwW5I/AAAAAAAABgU/jAw5IjRMzAI/s72-c/VBoxSharedFolders.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-2763336917105300113</id><published>2010-11-09T22:23:00.008+08:00</published><updated>2011-02-05T12:39:31.240+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fun'/><title type='text'>玩flashgame訓練邏輯能力--lightbot2</title><summary type='text'> 
             
       
       
       
       
       
真是久違了的好遊戲！！沒想到出了第二代！！趕快來玩玩吧～～～～
如果你沒有玩過第一代的話，請參考玩flashgame訓練邏輯能力--lightbot，喜歡寫程式的朋友一定會瘋狂的啦～～</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/2763336917105300113/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=2763336917105300113' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/2763336917105300113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/2763336917105300113'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/11/flashgame-lightbot2.html' title='玩flashgame訓練邏輯能力--lightbot2'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-3633774506828885216</id><published>2010-11-08T16:42:00.010+08:00</published><updated>2010-11-08T20:39:41.405+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='心情'/><title type='text'>LPIC-1 passed</title><summary type='text'>9/27我趕在出國前趕快把LPIC考一考，11/2巨匠email通知我可以來領取我的LPIC-1證照了。從考上到領到證照，大約35天左右。不過我人在澳洲，所以請老婆代領。考過LPIC-1其實沒有想像中的興奮，因為RHCE跟NCLP這類實機考試都通過了，考LPIC只是把先前的考試卷在出國前趕緊用掉而已。不過話雖如此，我覺得LPIC的證照還蠻好看的。

9/24考101，才考700分...9/27考102，竟然630...更低

過了一天才收到信


這張卡片真的很漂亮唷！</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/3633774506828885216/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=3633774506828885216' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3633774506828885216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3633774506828885216'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/11/lpic-1-passed.html' title='LPIC-1 passed'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_uj4HRyN9rzw/TNfsEhf532I/AAAAAAAABXg/Q_2S9umPNYM/s72-c/101.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-7274094610982833327</id><published>2010-10-28T14:33:00.004+08:00</published><updated>2010-10-28T23:32:34.583+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenOffice.org'/><title type='text'>Microsoft真的害怕OpenOffice.org!!</title><summary type='text'>
你有看過一間全世界最賺錢的公司花大錢設計廣告來打一個可能很多人都沒聽過的組織嗎？我想，這部影片用來描述欲蓋彌彰是在恰當不過了。
話說回來，我的碩士論文也是用OpenOffice.org 2.0來寫的，剛開始還叫OpenOffice.org，真的是世界難用；後來的2.0以後就好很多了，沒有遇到什麼大問題。真的要互相來質疑的話，用office2007來開office97來試試看會不會跑掉，然後在用OpenOffice.org3.0來開sxw版面是否正常，然後看看誰能直接的把office文件轉成pdf？
延伸閱讀：
中國網軍新攻擊，惡意程式竄改Word設定偷機密</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/7274094610982833327/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=7274094610982833327' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7274094610982833327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7274094610982833327'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/10/microsoftopenofficeorg.html' title='Microsoft真的害怕OpenOffice.org!!'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-6923200144874589208</id><published>2010-10-11T01:18:00.016+08:00</published><updated>2011-02-10T23:40:26.636+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Mac'/><title type='text'>Linux+MacOSX+Windows Triple Boot on Macbook Pro</title><summary type='text'>keywords:Linux, Mac, XP, 多重開機, MacBook pro
  我在2009年買了一台15吋的MacBook pro，一直到最近才開始比較有時間去玩他。MacOSX本身當然沒有什麼大問題，但是想到要在MacBook pro上面裝linux跟WinXP就感到很刺激，可以預期的是，因為是intel的cpu，所以os本身應該沒有大問題；但是週邊設備(例如解析度、亮度、觸控版、音效、視訊、有線/無線網路, etc.)就真的很難保證。本文僅作為一篇經驗分享文，沒有太多的技術在內，僅作為筆記分享給需要的看官。
  EFI與BIOS
  BIOS(Basic Input/Output System)幾乎是普羅大眾學習電腦都會碰到的東西，有著跟pc一樣古老的歷史。簡而言之，他掌控了開機時的自我檢測，包含電壓、記憶體、cpu、硬碟等週邊設備。雖然所有配備都日新月異的在進步，但是</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/6923200144874589208/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=6923200144874589208' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/6923200144874589208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/6923200144874589208'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/10/linuxmacosxwindows-triple-boot-on.html' title='Linux+MacOSX+Windows Triple Boot on Macbook Pro'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_uj4HRyN9rzw/TJJK5uecJdI/AAAAAAAABOU/DUrTqE2ELSE/s72-c/PIC0455.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-2855694927860817875</id><published>2010-10-10T23:17:00.009+08:00</published><updated>2010-10-11T13:50:50.732+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='生活與常識'/><title type='text'>在Linux上看數位電視</title><summary type='text'>暨昨天被大通騙了之後，我決定今天再去店家換圓剛的電視棒。圓剛在網路上的評價一直都是很不錯的，這回我先做足了功課，想知道圓通科技有哪些電視棒是可以在linux下使用的，我在在Ubuntu 9.10上收看數位電視
圓剛宣佈3款電視棒支援Linux作業系統
這兩篇文章都提到了圓剛有支援linux的幾項產品，很令人振奮。於是我上圓剛的官方網站，確實有三款有支援linux：

HD高畫質數位棒–Windows Media Center專用版
圓剛Volar三頻電視棒
圓剛影音電視棒-AX

我是在台中NOVA二樓的瑞爾鼎買大通HD-335的，我告知其中一個店員我要換貨，理由是大通的電視棒根本不支援linux，剛開始那店員還有點悻悻然的說，沒遇過linux的使者(沒辦法，台中linux方面的人才非常少)；我告訴他，我就是因為他用斗大的面積標示他支援linux我才買的，如果不支援，沒有提供編譯</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/2855694927860817875/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=2855694927860817875' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/2855694927860817875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/2855694927860817875'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/10/linux.html' title='在Linux上看數位電視'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_uj4HRyN9rzw/TLHfuKJR4_I/AAAAAAAABO4/4-NwaTB3UFo/s72-c/Screenshot-Terminal-1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-8512637590748909572</id><published>2010-10-10T03:41:00.006+08:00</published><updated>2010-10-10T04:08:22.965+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='生活與常識'/><title type='text'>電視棒別買大通(PX)！說linux適用是騙人的！</title><summary type='text'>如果你正在選擇一項for linux的電視棒，很可能在訪間店家看到一個很醒目的標題：全球領先：99.5%系統支援度，Windows XP, vista, Linux
大通說支援linux是騙人的。
事實的真相是，無論你用哪一種型號，都無法支援目前現有的Linux。
首先，dmesg所顯示出來的型號是[ 2607.447722] input: Afa Technologies Inc. AF9035A USB Device as /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.1/input/input16
原來，晶片不是大通自己的，連驅動程式也是別家廠商的，這種商品的品質就令人大大地扣分，也意味這這是一間能力劣於其他廠商的公司。其次，你在afa的網頁上也完全無法找到關於linux驅動程式的任何訊息。第三，我所購買的HD-335</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/8512637590748909572/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=8512637590748909572' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8512637590748909572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8512637590748909572'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/10/pxlinux.html' title='電視棒別買大通(PX)！說linux適用是騙人的！'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_uj4HRyN9rzw/TLDGfMTYU7I/AAAAAAAABOw/aIqAO0_1uvE/s72-c/Shit_PX.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-7788543594324530100</id><published>2010-09-09T15:10:00.004+08:00</published><updated>2010-09-09T15:18:28.627+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='google'/><title type='text'>Google Docs的有趣把戲</title><summary type='text'>今天看到buzz上有一個好玩的新聞，就是google docs裡的document裡，只要你輸入Konami code(上上下下左右左右ba，相信玩過任天堂紅白機的朋友都會知道)，google就會給你好玩的效果！據說不同瀏覽器有不同效果唷！

按完方向鍵跟BA之後，記得按下enter喔！上圖是javascript的效果，正在進行翻轉！

如圖所示，chrome的效果是左右相反，有些瀏覽器的效果則是上下顛倒。總之如果要翻轉回去的話，就在敲一次密碼囉！</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/7788543594324530100/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=7788543594324530100' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7788543594324530100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7788543594324530100'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/09/google-docs.html' title='Google Docs的有趣把戲'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_uj4HRyN9rzw/TIiJkqiWkVI/AAAAAAAABOE/8-XJ9vVeEFE/s72-c/%E5%9C%96%E7%89%87+4.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-3038108943808727599</id><published>2010-07-29T23:07:00.010+08:00</published><updated>2010-07-29T23:38:02.783+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='心情'/><title type='text'>RHCE PASSED</title><summary type='text'>昨天痛苦而密集的複習了RHCE的部份，今天很幸運的通過了RHCE考試，加上檢查一次的時間約90分鐘可以好好做完題目。準備考試是痛苦的，但是成果卻是甜美的唷！


考試時間有三個半小時，但是實際上約一個小時內就可以做完，若加檢查一輪約一個半小時可完成。考試分成RHCT跟RHCE兩部份；如果第一部份有達70%分數但第二部份未達70%，則可以拿到RHCT；假設第二部份達到70%但第一部份卻未達70%，則是兩者都未通過。只有兩者都達70%以上才能拿到RHCE。

我把我的certificated number隱藏起來了。這就是RHCE的證照唷。希望有心想考RHCE的同好也能好好加油。
不過我大概不會想再考Redhat系列的認證了。因為考試的時候選擇國家，我們台灣的後面又被灌上a province of china，實在是非常落伍又泛政治化的一間公司。</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/3038108943808727599/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=3038108943808727599' title='3 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3038108943808727599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3038108943808727599'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/07/rhce-passed.html' title='RHCE PASSED'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_uj4HRyN9rzw/TFGdEG1D_3I/AAAAAAAABNE/FjcDhke1rOo/s72-c/Screenshot.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-2704233839460376846</id><published>2010-07-26T20:57:00.007+08:00</published><updated>2010-07-28T13:18:39.929+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Memory for crash kernel not within permissible range</title><summary type='text'>這個問題會發生在所有Redhat-based Linux上，包含Scientific Linux，當然更包含了虛擬機器下的Redhat-based linux--在開機時出現：「Memory for crash kernel (0x0 to 0x0) notwithin permissible range」的訊息。

CentOS 的開機畫面。

RHEL5 的開機畫面。

ScientificLinux 的開機畫面。
這個警告寫得太像錯誤訊息，以至於雖然能夠成功開機，但是小心一點的管理員卻會擔憂這代表什麼意思。事實上，這是kdump(Kernel dump daemon)的訊息。這只是一個提示訊息(informational message)，只要在init.d裡面拿掉kdump，或是安裝時選擇不安裝kdump即可。由於在開機時，系統不會知道你是否有為crash kernel</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/2704233839460376846/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=2704233839460376846' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/2704233839460376846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/2704233839460376846'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/07/memory-for-crash-kernel-not-within.html' title='Memory for crash kernel not within permissible range'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_uj4HRyN9rzw/TE-6Zlv_aXI/AAAAAAAABL0/kX6nejiFX80/s72-c/CentOS.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-6961024049823605568</id><published>2010-07-26T20:28:00.001+08:00</published><updated>2010-07-26T20:34:00.232+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>chroot初體驗</title><summary type='text'>chroot是linux上一個可以讓你限制根目錄的有趣指令。在unix的世界裡，萬物的源頭就是/，就算是/的上一層目錄也還是根目錄本身。也就是說，任何使用者都無法離開/，就像是你永遠跨越不了宇宙的邊界，除非你已經不屬於該宇宙的一部分。
  今天研究室學妹laptop上的opensuse遇到了一個有趣的問題。開機到stage2之後，無法掛載根目錄，其錯誤訊息是：『unknown "reiserfs" filesystem』。這在Redhat系列的linux並不意外，因為他們並不打算讓使用者不自訂kernel的情況下去使用reiserfs以及reiser4。反之，opensuse則是預設以reiserfs為檔案系統。很顯然是kernel不認識這個filesystem，但是是什麼原因使得kernel不認識filesystem呢？
  我只是合理的猜測--更新kernel的過程中，或是在執行</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/6961024049823605568/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=6961024049823605568' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/6961024049823605568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/6961024049823605568'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/07/chroot.html' title='chroot初體驗'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-3345100187030612973</id><published>2010-06-24T01:40:00.004+08:00</published><updated>2010-06-24T12:53:36.126+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='心情'/><title type='text'>What did I see that?</title><summary type='text'>最近為了趕WPGM的poster，幾乎每天都熬夜，加上RHCE考試在即，兩頭燒恐怕是凶多吉少。還好在上週末努力加班下，seismogram跟圖都出來了；加上老闆大力幫忙幫我修文字(其實是老闆全包啦)，今天的poster還算順利，只是午後的一場暴雨，使得我回南港的路上淋得臭頭。
雖然考試在即，但我晚上還是去家樂福買了一箱黑麥汁來犒賞自己。結帳後，我聽到一個中年男子對手機大喊：『What did I see that? What did I see that?』
我覺得這個句子很奇怪，應該是What did you see或是why did you say that，怎麼會是what did I see that呢？
後來那男子再喊一次，我才聽懂他說什麼...
『哇底地下室啦！哇底地下室啦！(台語)』

我一定是今天在WPGM被那些日本人的爛英文疲勞轟炸害的....</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/3345100187030612973/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=3345100187030612973' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3345100187030612973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3345100187030612973'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/06/what-did-i-see-that.html' title='What did I see that?'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-8386996183445651634</id><published>2010-05-05T03:08:00.014+08:00</published><updated>2010-05-05T14:44:38.294+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='filesystem'/><title type='text'>LVM2學習筆記</title><summary type='text'>LVM2(Logical Volume Manager, version 2)的前身是LVM，他是由Heinz Mauelshagen於1998年在HP-UX上開發。他當初為了解決unix上分割區空間分配的問題而設計出這個管理程式。有了LVM，我們可以動態的調整空間的大小，大大縮短置換硬碟所需的downtime。這個鬼才現在任職於Redhat，目前正主持幾個跟software raid相關的計畫。目前我們所接觸到的教學文件大多是LVM2，但是因為已經全面取代了舊版的的LVM，因此還是以LVM稱之。
  LVM的基本架構
  
  上圖引用自鳥哥的私房菜，是一個相當有助理解的架構圖。本文僅適合非常熟悉LVM架構的讀者做為快速複習使用；如果談到PV/LV/VG等名詞您還得停頓一下，本文可能對您毫無幫助。下表則是我自己整理的指令列表，但僅列出一些常用的commands。
  
   </summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/8386996183445651634/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=8386996183445651634' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8386996183445651634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8386996183445651634'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/05/lvm2.html' title='LVM2學習筆記'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-207196749053142786</id><published>2010-05-03T23:46:00.003+08:00</published><updated>2010-05-03T23:58:00.637+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fun'/><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>[轉載]Steve Jobs的公開信談Apple拒絕flash</title><summary type='text'>全文轉載自：Steve Jobs談為何蘋果討厭吃Flash（完整公開信，中文版）,ZDnet Taiwan

蘋果跟Adobe有很深的關係，我們還曾在他們草創的車庫裡跟Adobe創辦人見過面，蘋果是他們第一個大客戶，把他們的Postcript語言用在我們新的Laserwriter印表機中。蘋果曾經投資過Adobe，也曾一度擁有Adobe 20%股權多年。我們曾密切合作創新推出桌面出版，雙方都有過許多甜蜜時光，但過了那段蜜月期後，我們就漸行漸遠了，蘋果歷經瀕死經驗，Adobe則以Acrobat產品打入企業市場。今日，我們依然共同服務雙方共有的創意客戶群，Mac用戶大概買了半數Adobe的Creative Suite產品，但除此之外，雙方已經殊少交集了。
我之前很想寫出我對Adobe Flash產品的想法，好讓大家能更瞭解為何我們不想讓Flash進到iPhones、iPods與iPads。</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/207196749053142786/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=207196749053142786' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/207196749053142786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/207196749053142786'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/05/steve-jobsappleflash.html' title='[轉載]Steve Jobs的公開信談Apple拒絕flash'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-9000057060734272171</id><published>2010-04-25T17:33:00.008+08:00</published><updated>2010-09-24T13:43:44.387+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>dpkg速記</title><summary type='text'>deb的基本安裝過程：
  dpkg是Debian底層的套件管理程式，其上還有強大的apt，在其上更有非常強大的aptitude管理系統。Debian系列的linux，如Ubuntu, B2D, LinuxMint等，都是使用dpkg作為底層的套件管理程式。不過由於apt以及aptitude過於強大，許多使用者對於dpkg的熟悉度往往少於Redhat系的使用者對於rpm的熟悉度；本文僅作為一個Debian的死忠支持者對dpkg指令的一篇速記，希望對於Debian迷以及Ubuntu Linux的技術人員亦能有所幫助。
  dpkg能用來查詢、安裝以及設定deb檔；如同rpm，dpkg亦使用dpkg資料庫紀錄每個套件安裝、設定、移除等詳細資訊。一個標準的deb檔命名方式如下：
  Filename_version-release_arch.deb例如madedit_0.2.9-1_amd64</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/9000057060734272171/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=9000057060734272171' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/9000057060734272171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/9000057060734272171'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/04/dpkg.html' title='dpkg速記'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-5707646248579793325</id><published>2010-04-24T05:26:00.005+08:00</published><updated>2010-04-24T05:35:20.276+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>YUM筆記</title><summary type='text'>YUM簡史
  YUM(Yellow dog Updater, Modified)是Redhat系列的linux最重要的套件管理程式，他的前身是YUP(Yellow dog UPdater)。Yellow Dog很多人是很陌生的，他是在早期運行在IBM的power平台上的linux，也是使用rpm based。當時能夠跑在power上的linux大概就只有Debian以及Redhat/Fedora Linux；後來在社群不斷地維護、改善下，就產生了重大的改版--YUM。
  很顯然的，YUP或是YUM的出現是因為rpm的相依性、版本、套件間衝突的問題用手動很難解決，必須要依靠一個機制來自動替我們解決所有相依性地獄(dependency hell)的問題。yum提供的服務大致有四項：
  
   自動解決相依性問題
   能夠用command自動化管理，也能有圖形化介面(pirut)
</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/5707646248579793325/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=5707646248579793325' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5707646248579793325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5707646248579793325'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/04/yum.html' title='YUM筆記'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-7638857641890944795</id><published>2010-04-23T04:22:00.001+08:00</published><updated>2011-08-30T19:41:07.118+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>rpm速記</title><summary type='text'>rpm的基本安裝過程：
  RPM(Redhat package Manager)是Redhat系的linux最必須要熟知的套件管理程式，許多非Redhat系的linux也沿用這個管理程式，例如SuSE Linux, Mandirva以及其衍生的PCLinuxOS等。rpm的功能非常完備，比起dpkg管理程式更勝一籌。
  rpm的所有動作都會與rpmdb進行互動，也就是透過rpm所安裝的程式都能夠被記錄下來；手動安裝的程式則不在db內，因此也無法享受這方面的便利性。安裝、移除、升級rpm時都會更新rpmdb，但是仍然可以手動更新：
  rpm --rebuilddbrpm檔的命名遵循一定的格式：
  Filename-version-release.arch.rpm例如GConf2-2.14.0-9.el5.i386.rpm，其中的GConf2就是檔案名稱，2.14.0為版本號</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/7638857641890944795/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=7638857641890944795' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7638857641890944795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7638857641890944795'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/04/rpm.html' title='rpm速記'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-2842655144310595966</id><published>2010-04-09T15:33:00.002+08:00</published><updated>2010-04-09T15:55:34.919+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='BASH'/><title type='text'>批次修改圖片大小-convert</title><summary type='text'>最近在BBS上看到有網友詢問如何利用convert指令做批次轉換。在先前的批次修改圖片大小裡有提到一些方法。不過當時我一直忘記把script寫上來，今天特地補上。
#!/bin/bash

for files in *.ps; do
    name=$(echo $files | cut -d. -f1).pdf
    convert $files $name
done

這個作法的好處就是只要修改.ps跟.pdf這兩個關鍵字即可。當然他不是一個完美script-- 你還可以讓他變得更人性：
#!/bin/bash
## Author: Jim T. Tang (http://maxubuntu.blogspot.com)
if [ -z $1 -a -z $2 ]; then
    echo "usage: $0 jpg png";
    exit 0;
elif [ -z </summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/2842655144310595966/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=2842655144310595966' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/2842655144310595966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/2842655144310595966'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/04/convert.html' title='批次修改圖片大小-convert'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-1644550943429052529</id><published>2010-03-09T23:11:00.004+08:00</published><updated>2010-03-09T23:48:33.255+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='心情'/><title type='text'>終於拿到NCLP證照了(二)！</title><summary type='text'>這個標題很奇怪，但我不得不說一下...Novell這間公司有時候證照辦得太多，也是很容易出錯的。終於拿到NCLP award！這篇文章中，可以發現我只收到NCLA，但是我考的NCLP呢？我從未拿到。由於我從認證資料庫裡查到我確實有CLP的紀錄在，因此也就沒有多疑，即使我沒有拿到紙本的NCLP證照！不過我越想越不對，前幾天又寫信給Novell負責教育訓練的窗口，我列出我所拿到的證照，也就是我在終於拿到NCLP award！這篇文章所列出的證照是否為NCLP所應該有的全部：

Greeting Sir,
In August 2008, I passed NCLP exam.
yesterday I get a Linux Technical Specialist cert in my email box, 
I suddenly found that what I got is a NCLA</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/1644550943429052529/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=1644550943429052529' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1644550943429052529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1644550943429052529'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/03/nclp.html' title='終於拿到NCLP證照了(二)！'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_uj4HRyN9rzw/S5ZolH3TBEI/AAAAAAAABHA/3V11-mXnNas/s72-c/JIM_TINGTANG_NCLP_ECR.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-1550042990422558107</id><published>2010-03-08T16:08:00.004+08:00</published><updated>2010-03-08T16:26:08.138+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fun'/><title type='text'>IE6的葬禮</title><summary type='text'>Internet Explore 6(以下簡稱IE6)是全世界使用率最高，使用時間最長的瀏覽器。包含筆者在內從windows 98時代使用IE5，到後來的windows ME, 2000都還是IE5的時代；XP的強勢進攻，IE6也搭這順風車成為全世界最普及的瀏覽器；在XP即將壽終之前，IE7已經推出而且還包含在XP的線上更新內，只是IE7的秀斗與缺陷實在罄竹難書，許多學校、廠商或各級單位甚至都要求使用者不要升級成IE7：IE6的重要性反而在IE7推出之際越顯重要。中道的衰落，從firefox跟opera崛起之後就注定了這個命運；更悲慘的是，chrome來勢洶洶，IE8是否能力挽狂瀾呢？下文轉載自iThome: 設計公司幫IE6舉行葬禮一文：

根據外電報導，這場葬禮甚至還收到微軟IE團隊送來的花藍，IE團隊在卡片上寫著：「感謝IE6所帶來的美好時光」。 
一家位於丹佛的設計公司Aten </summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/1550042990422558107/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=1550042990422558107' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1550042990422558107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1550042990422558107'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/03/ie6.html' title='IE6的葬禮'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_uj4HRyN9rzw/S5SzaxxY8OI/AAAAAAAABG4/2NjvoaKCVAQ/s72-c/IE6Funeral.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-1883903528860593547</id><published>2010-03-07T19:48:00.000+08:00</published><updated>2011-09-02T02:00:46.017+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><title type='text'>Java方塊字</title><summary type='text'>許多Java應用程式在輸入中文時會出現方塊字，其實這個時候只要把字型設定給Java即可。以我的Ubuntu為例，我安裝的是sun-java6-jre，此時只要幾個步驟：
            cd /usr/lib/jvm/java-6-sun/jre/lib/fonts
mkdir fallback
ln -s /usr/share/fonts/truetype/LiHei_ProPC.ttf .
            其中LiHei_ProPC.ttf是我要指定讓Java應用程式使用的字體，因此千萬確定你所使用的字體支援中文，否則就失去意義了。
            把你的Java應用程式重新啟動，應該就可以看到正常的中文字體了。

</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/1883903528860593547/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=1883903528860593547' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1883903528860593547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1883903528860593547'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/03/java.html' title='Java方塊字'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-1438709898956614931</id><published>2010-03-04T23:41:00.003+08:00</published><updated>2010-03-05T00:01:38.513+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Firefox/Chrome遇到flash方塊字</title><summary type='text'>&lt;!--
/**
 * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann
 * (http://qbnz.com/highlighter/ and http://geshi.org/)
 */
.xml .de1, .xml .de2 {font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;color: #000020;}
.xml  {font-family:monospace;color: #006; border: 1px solid #d0d0d0; background-color: #f0f0f0;}
.xml a:link {color: #000060;}
.</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/1438709898956614931/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=1438709898956614931' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1438709898956614931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1438709898956614931'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/03/firefoxchromeflash.html' title='Firefox/Chrome遇到flash方塊字'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-4796677152517621102</id><published>2010-03-04T13:49:00.006+08:00</published><updated>2010-03-05T14:40:17.533+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Geeko Builder for free</title><summary type='text'>Geeko是SuSE linux的吉祥動物，自從SLES 10之後，Geeko就變得異常帥氣；novell甚至推出了免費的geeko builder讓大家可以製作自己的geeko當成桌布！
Geeko Builder使用前請先註冊一個免費帳號，不用透過email認證就可以直接使用。這是一個全然的flash頁面，所以如果你的圖形出來的比較慢，請耐心等待！



你也可以下載其他人的作品唷！感謝Figaro老師的推薦！雖然GeekoBuilder沒有我國國旗可以選擇，真是令人生氣！

毫不遲疑寫信去抗議！
不過沒關係，我們自己做一個！

如果你喜歡的話，歡迎下載來使用！</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/4796677152517621102/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=4796677152517621102' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4796677152517621102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4796677152517621102'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/03/geeko-builder-for-free.html' title='Geeko Builder for free'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_uj4HRyN9rzw/S49LRhXunQI/AAAAAAAABGA/FzKmBCLEnps/s72-c/playerGeeko.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-3666346736452235647</id><published>2010-03-04T13:03:00.008+08:00</published><updated>2010-03-04T23:09:29.822+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='心情'/><title type='text'>Data Center Advanced Technical Specialist</title><summary type='text'>最近詐騙集團多，有時候收到東西都會莫名其妙的有戒心。昨天晚上我收到一封novell的恭喜信函，上面說我取得了Data Center Advanced Technical Specialist證明。天曉得這是什麼東西，如果我都不知道了，那這封恭喜信函又是怎麼來的呢？

後來索性登入novell認證的個人頁面去看，咦，還真的多一張耶！後來去Figaro老師的部落格詢問，才知道原來這個認證(精確的說，只是一個證明而已)跟我當初取得NCLP時所贈予的Linux Technical Specialist是相同的意義，表給你一個能力上的證明罷了。也就是說，當初考NCLP10的時候，NCLA是用贈送的，(感覺上跟考上RHCE就自動有RHCT很像)；但是新制的NCLP11就不再贈送，必須去參加考試或是取得LPI level I才能免費換取。


但是這還是很奇怪阿。NCLP明明就界定難度大於LPI </summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/3666346736452235647/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=3666346736452235647' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3666346736452235647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3666346736452235647'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/03/data-center-advanced-technical.html' title='Data Center Advanced Technical Specialist'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_uj4HRyN9rzw/S49AIwLIZJI/AAAAAAAABFw/q3ysY4SfD_U/s72-c/Congratulations.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-4033667372452508210</id><published>2010-02-18T04:42:00.012+08:00</published><updated>2010-02-19T22:26:38.655+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Makefile範例教學</title><summary type='text'>Makefile和GNU make可能是linux世界裡最重要的檔案跟指令了。編譯一個小程式，可以用簡單的command來進行編譯；稍微複雜一點的程式，可以用shell script來幫忙進行編譯。如今的程式(如Apache, Linux Kernel)可能動輒數百萬行程式碼，數萬個標頭檔(headers)、函式庫(libraries)以及程式碼(source code)，如果只是針對幾個檔案進行修改，卻要用shell script整個程式重新編譯，不但浪費時間也相當沒有效率。GNU make或是其他make程式的用途就在這裡：
  當程式有些許變動時，我們需要一個程式幫助我們判斷哪些需要重新編譯，哪些不用；因此，撰寫一個好的Makefile便是相當重要的能力。
  不過話說回來，是不是每一隻程式都需要一個Makefile呢？其實撰寫Makefile是有益無害的，</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/4033667372452508210/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=4033667372452508210' title='6 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4033667372452508210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4033667372452508210'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/02/makefile.html' title='Makefile範例教學'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-1304172170607522876</id><published>2010-02-15T00:51:00.003+08:00</published><updated>2010-02-15T14:36:52.742+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>grub 速記</title><summary type='text'>GNU GRUB(簡稱grub，stands for GRand Unified Bootloader)已經成為大部分linux distributions的預設開機管理程式了。
  從前我們可能會討論grub跟lilo應用上的差異，現在幾乎只能看見關於grub跟grub2的討論了。
  他的彈性與強大眾所皆知，記得在數年前Solaris OS剛釋出免費的x86版本，以及隨後幾周發布的opensolaris都是用grub來當作預設的開機管理程式。
  本文就是簡單對於grub以及其設定檔作非常簡單的筆記。
一個最陽春、不包含註解又能成功開機的grub，其menu.lst(RH系的linux為grub.conf，為menu.lst的一個軟連結)，大致如下：

default         0
timeout         8

title           Linux Mint 8 </summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/1304172170607522876/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=1304172170607522876' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1304172170607522876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1304172170607522876'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/02/grub.html' title='grub 速記'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-1420749836174583876</id><published>2010-02-12T11:55:00.004+08:00</published><updated>2010-02-12T12:52:49.497+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>[轉載] 追求神乎其技的程式設計之道</title><summary type='text'>追求神乎其技的程式設計之道是vgod大在部落格發表的一系列文章，並計畫出版成書。點閱了vgod是誰？才赫然發現原來vgod也是台中一中校友，算算畢業年份也是我學弟呢！學弟現在都在美國唸博班了，我竟然還在這裡不知何時才能出去...
哈，言歸正傳，雖然一直到退伍半年後才開始學寫程式，但是卻激起了對程式設計無比的熱愛。當然，一個好的程式設計師跟優秀的程式設計師其實是差十萬八千里，骨子裡是完全不同面向的東西；我可以寫出一個互動良好，功能完善的小程式，卻無法寫出效能優異的程式，原因在於我們沒有受過好的資料結構及演算法的訓練。作者vgod也參加過國際奧林匹亞資訊組競賽，哈哈，我以前參加地科組連校內資格都沒過呢！
vgod大有很非常值得程式設計師一讀的好文章，也不乏有很多跟我相同的成長經驗(vgod應該小我兩屆^_^)，請各位參觀vgod's blog，也可以訂閱他的文章。
追求神乎其技的程式設計之道</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/1420749836174583876/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=1420749836174583876' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1420749836174583876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1420749836174583876'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/02/blog-post.html' title='[轉載] 追求神乎其技的程式設計之道'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-415308129250222628</id><published>2010-01-19T18:28:00.010+08:00</published><updated>2010-01-19T22:33:18.555+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BASH'/><category scheme='http://www.blogger.com/atom/ns#' term='java範例'/><title type='text'>Here Document與Java程式的搭配使用</title><summary type='text'>這幾天一直百思不得其解，從前利用Here Document來傳值給C++/Fortran程式都能夠輕易完成；昨天寫了一個小小的轉換格式的程式想搭配shell script完成任務卻出現了NoSuchElementException 的尷尬問題，怎麼嘗試都不成功。
所謂Here Document，意思就是在子process裡傳入參數。在父process還在運行的時候，預先把參數值寫好，等到運行到子process的時候，不必等待使用者提示即可傳值。舉個例子：
假設someprog是一個C++/Fortran程式，過程中會提示，輸入兩個字串兩個數值：
#!/bin/sh
/usr/local/bin/someprog &lt;&lt; END
vespa.env.out
vespa.ent.OUT
23.5
2.0
END
這種在script裡就先把要傳入的參數先寫好的方法，便是常被使用的Here </summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/415308129250222628/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=415308129250222628' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/415308129250222628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/415308129250222628'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2010/01/here-documentjava.html' title='Here Document與Java程式的搭配使用'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-4962580288332670017</id><published>2009-12-22T00:33:00.003+08:00</published><updated>2009-12-22T00:41:29.187+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>XP theme for GNOME</title><summary type='text'>最近再討論版上看到有網友分享一個XP theme for GNOME環境的套件，看起來很方便，點兩下script就可以變成XP主題，另外也還有還原的script，看起來真的很屌，真的可以魚目混珠呢！
請參考這個網站：http://ubuntu.online02.com/node/14
 
 
 

不過我沒有去嘗試這個就是了，因為我一點也不覺得XP的佈景好看@_@
不過喜歡XP佈景的朋友可以試試看，順便告訴人家這是一個不會中毒的XP@_@</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/4962580288332670017/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=4962580288332670017' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4962580288332670017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4962580288332670017'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/12/xp-theme-for-gnome.html' title='XP theme for GNOME'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-1757984092744192006</id><published>2009-12-21T19:34:00.023+08:00</published><updated>2009-12-22T01:54:05.646+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>Gantt chart(甘特圖) on Linux</title><summary type='text'>甘特圖(Gantt chart)是一種描述各項目隨時間開始與結束的一種表達方式，專案管理方面的人可能對於這個東西比較熟悉。我第一次聽過甘特圖是幫老闆修改氣象局計畫細節的時候用的。

很幸運瀏覽Wekey-wiki時發現原來甘特圖已經被透過GanttProject計畫用java寫成一個跨平台的軟體。他是自由軟體，但並不是用GPL來宣告；她上面也聲明可以修改他的原始碼，也可以修改後作商業用途，不過找了一下還是沒看到source code。如果只關心binary的話，我們可以到這裡下載便於安裝GanntProject的版本，或是直接下載最新的版本(2.0.10)：
wget -c http://ganttproject.googlecode.com/files/ganttproject-2.0.10.zip
壓縮後放到任何地方都可以，可以發現他是靠著script來啟動ganttproject的</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/1757984092744192006/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=1757984092744192006' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1757984092744192006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1757984092744192006'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/12/gantt-chart-on-linux.html' title='Gantt chart(甘特圖) on Linux'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_uj4HRyN9rzw/Sy9lZHDFwQI/AAAAAAAAA_M/1wQ6QBcQHLU/s72-c/Screenshot-GanttProject+Start.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-4997167250265278756</id><published>2009-12-17T17:18:00.002+08:00</published><updated>2009-12-17T17:22:15.751+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='心情'/><title type='text'>『中央』研究院</title><summary type='text'>今天我跟一個中央畢業的同事聊到：
我：   哇！你們中央的人口還真多耶！我看10的研究助理有8個都是中央的！同事：呵呵，對阿...我：   而且一堆台大的研究生來這邊也都是中央畢業的耶！這裡真的是中央的天下耶！同事：(淡淡貌)呵呵，不然怎麼叫『中央』研究院呢！我：   ....(想想還真有道理！)</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/4997167250265278756/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=4997167250265278756' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4997167250265278756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4997167250265278756'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/12/blog-post.html' title='『中央』研究院'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-8303266218976939020</id><published>2009-12-16T11:30:00.004+08:00</published><updated>2009-12-16T11:38:32.981+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='心情'/><title type='text'>SUN的電子證照</title><summary type='text'>由於novell有寄給我電子證照，所以我一直以為所有的廠商都有提供電子證照；日前我寫信去sun總部問，總算遲遲的給了一封回信之後便石沉大海：

說要轉交給合適的處理人員，竟然就這樣沒有下文...真是太糟糕了，我就算不是大宗客戶，但還是客戶阿！後來我找上昇陽教育訓練中心，總算得到一個有或沒有的答覆：

所以如果您跟我一樣再找sun的電子證照，至少目前為止sun都沒有提供電子證書的喔！</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/8303266218976939020/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=8303266218976939020' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8303266218976939020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8303266218976939020'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/12/sun.html' title='SUN的電子證照'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_uj4HRyN9rzw/SyhVh7rcD5I/AAAAAAAAA-8/DNXUCqYHB3w/s72-c/SCJP-00.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-2110948333127928488</id><published>2009-12-09T23:08:00.012+08:00</published><updated>2009-12-23T15:45:59.195+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>Google Chrome beta release!!!</title><summary type='text'>等待已久的Chrome for Linux終於釋出beta版了！！先前使用open source的chromine仍然還有許多問題，其中最為人詬病的就是flash支援的極差。Google釋出beta版大家可是睜大了眼睛在看呢！請各位看官到http://tools.google.com/chrome/?hl=zh-TW下載，或是到http://www.google.com/chrome/intl/zh-TW/w00t.html欣賞一下世界各地勞苦功高的開發人員開發chrome for linux的經過~


假設你常用的是firefox，第一次啟動chrome時會匯入firefox的所有設定，包含書籤、密碼、cache等等，非常貼心。

我迫不及待的想拿他來測試flash!!最好的方法就是拿一個swf來測試啦！玩起音速小子，真是超順暢的啦！！

那麼能不能偵測到我的JRE呢？測試看看便知道</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/2110948333127928488/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=2110948333127928488' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/2110948333127928488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/2110948333127928488'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/12/google-chrome-beta-release.html' title='Google Chrome beta release!!!'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_uj4HRyN9rzw/Sx-9o-thl3I/AAAAAAAAA9s/1AXbfu0xWRI/s72-c/chrome01.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-4888240919814582345</id><published>2009-11-23T23:42:00.005+08:00</published><updated>2009-11-24T00:04:00.429+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='心情'/><title type='text'>日本中國</title><summary type='text'>如果我說中國是日本的一部份。中國都該稱為日本中國，二次大戰沒有美國，中國早就是日本的領土，中國人你們做何感想？

清單上沒有我的國家，有一個歧視我國的字眼出現，我若選了就是自取其辱；我不像國民黨員，不會做這種不知廉恥的羞辱國家的行徑。
一個玩弄民族主義、堅持共產主義的貪婪政權，自以為經濟強大，殊不知自己人民的道德與操守跟經濟完全不能相提並論；原本要下載RHEL5來測試的，操你媽的中國，老子拒用Redhat Linux！</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/4888240919814582345/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=4888240919814582345' title='4 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4888240919814582345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4888240919814582345'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/11/blog-post.html' title='日本中國'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_uj4HRyN9rzw/SwquA4qiYuI/AAAAAAAAA9I/NEUyBl-KCc4/s72-c/Screenshot.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-5427471754720118853</id><published>2009-11-17T23:56:00.011+08:00</published><updated>2010-11-28T20:09:42.506+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>ctime, atime與mtime釋疑</title><summary type='text'>每個檔案都有屬性及內容。除了檔案內容很重要外，時間標記也非常重要--系統管理員可以藉由時間標記進行備份、例行性檢查；使用者可以從時間標記找出重要的檔案，硬碟的I/O也依靠時間標記(time flag)來進行處理。
UNIX系統將時間標記分成三種：
atime(Access time)：檔案上次被讀取的時間。

ctime(status Change time)：檔案的屬性或內容上次被修改的時間。

mtime(Modified time)：檔案的內容上次被修改的時間。


我們可以用一個很簡單的script來印證這些東西。
#!/bin/bash
echo "ctime: $(ls -lc newFile | awk '{print $6, $7, $8}')"
echo "atime: $(ls -lu newFile | awk '{print $6, $7, $8}')"
echo</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/5427471754720118853/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=5427471754720118853' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5427471754720118853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5427471754720118853'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/11/ctime-atimemtime.html' title='ctime, atime與mtime釋疑'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-1256960673550329439</id><published>2009-11-12T18:50:00.005+08:00</published><updated>2010-01-25T19:25:45.261+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>linux上的pdf合併-刪除-旋轉-編輯-加密-破解密碼筆記</title><summary type='text'>PDF檔案格式是目前最重要的檔案格式之一，因為她可以確實保留住檔案的格式，包含字型以及圖形顏色、比例，並且提供解析度極高的列印效果。本文僅就最常用的合併、拆解、旋轉、加解密，以及簡單的編輯功能作筆記。pdftk(pdf toolkit)是一套可以拆解、合併pdf的超實用小工具，還可以進行加解密，頁面旋轉、解出metedata，書籤、資料欄位等非常多專業功能！解決了往常只有Adobe Acrobat Professional才能使用的功能。隨著pdf越來越普及，字型跟格式都越來越要求跟在不同平台下有完全相同的呈現方式，我們確實是需要學習這樣的實用工具。更棒的是，他是開放原始碼並且以GPL授權的軟體，在許多linux上都是可以直接安裝的，太方便了！
以下我僅翻譯網頁中的範例，在加上自己的註解作為筆記。合併多個pdf檔：
pdftk 1.pdf 2.pdf 3.pdf cat output </summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/1256960673550329439/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=1256960673550329439' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1256960673550329439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1256960673550329439'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/11/linuxpdf.html' title='linux上的pdf合併-刪除-旋轉-編輯-加密-破解密碼筆記'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_uj4HRyN9rzw/SvvlepnB8FI/AAAAAAAAA8Q/UlsJ0HSDE_8/s72-c/pdfcrack.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-8844670912107736560</id><published>2009-10-20T23:55:00.004+08:00</published><updated>2009-10-21T00:07:00.891+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BASH'/><title type='text'>自動重開機500次？</title><summary type='text'>在bbs的linux版上看到有網友想找可以自動reboot500次的linux程式，我覺得很有趣；不過一下就把script公佈出來，一點趣味也沒有。所以我就先把解答寫在這裡，也許有一天，他會找到這篇。
重開機500次可能是要測試硬體吧，這就超過我的專長；不過自動重開機卻可以用8行不到的script輕鬆解決：
修改/etc/rc.local，新增一行如下：
[ -e /boot/test.sh ] &amp;&amp; bash /boot/test.sh
然後新增一個/boot/test.sh內容如下：
#!/bin/bash
[ ! -e /boot/count ] &amp;&amp; echo "0" &gt; /boot/count
declare -i count=$(cat /boot/count)

while [ $count -le 500 ]
do
    echo "$[ $count+1 ]" &gt; /</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/8844670912107736560/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=8844670912107736560' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8844670912107736560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8844670912107736560'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/10/500.html' title='自動重開機500次？'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-8279356794599603451</id><published>2009-10-10T01:04:00.001+08:00</published><updated>2009-10-10T01:06:32.263+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BASH'/><title type='text'>大小寫互換--進階版</title><summary type='text'>最近用select寫了一個進階版的大小寫互換程式，供各位參考。

#!/bin/bash
## -----------------------------------------------------------------------
## 2009.10.09
## The "transCase.sh" is a powerful script to transform from uppercase to
## lowercase or vise versa, and verify sub filename as you wish.
##
## Author: Jim T. Tang(jtang@earth.sinica.edu.tw)
## ----------------------------------------------------------------------</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/8279356794599603451/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=8279356794599603451' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8279356794599603451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8279356794599603451'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/10/blog-post.html' title='大小寫互換--進階版'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-8861664799361049599</id><published>2009-10-01T02:08:00.011+08:00</published><updated>2009-10-01T03:13:22.154+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BASH'/><title type='text'>變數值代換(variables substitution)精簡筆記</title><summary type='text'>變數值代換相較於指令代換，是一般使用者比較少碰到的；不過當你要成為一位合格的bash/csh programmer，變數值代換可是要跟吃飯喝水一樣自然。
Case 1. ${variable-'defaultValue'}
意義：當variable不存在時，將variable暫時指定成defaultValue。所謂「暫時」，是指此行之後，在整個script裡variable都還是不存在此變數名稱。
##確定把myname變數給取消掉
unset myname
echo ${myname-'Maxsolar'}
echo $myname
結果：
Maxsolar
       &lt;---沒有輸出

可以發現，第一行的Maxsolar是利用變數值替換得來的，但是事實上我們並沒有真的設定myname，因此echo的結果為無。


Case 2. ${variable:-'defaultValue</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/8861664799361049599/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=8861664799361049599' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8861664799361049599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8861664799361049599'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/10/variables-substitution.html' title='變數值代換(variables substitution)精簡筆記'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-860226478054050663</id><published>2009-09-22T14:41:00.003+08:00</published><updated>2009-10-08T17:39:02.311+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BASH'/><title type='text'>檢查目錄下的檔案或資料夾數目</title><summary type='text'>這個script，可以幫你檢查當前目錄下，有多少目錄、檔案、隱藏檔以及連結檔。
用法：
只要在該目錄下，直接執行此script即可。

#!/bin/bash
### 2009.09.22
### 
### indexpwd.sh is designed to show the number of files, 
### directories and symbolic links in the current work dir.
###
### Jim T. Tang(jtang@earth.sinica.edu.tw)

find . -maxdepth 1 -type f | egrep '^\.\/\.' &gt; /tmp/hiddenFiles
find . -maxdepth 1 -type f &gt; /tmp/allFiles
find . -maxdepth 1 -type d</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/860226478054050663/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=860226478054050663' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/860226478054050663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/860226478054050663'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/09/blog-post.html' title='檢查目錄下的檔案或資料夾數目'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-5635361622778859328</id><published>2009-09-15T15:11:00.004+08:00</published><updated>2010-01-08T14:11:06.915+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VirtualBox'/><title type='text'>VirtualBox guest OS USB啟用筆記</title><summary type='text'>雖然用了VirtualBox這麼多年，但是卻是頭一次這麼認真的看待這個嚴肅的題目：如何讓guest OS能夠順利讀到USB介面呢？雖然VirtualBox推出新版本的速度非常快，但是至今仍然沒有任何一個版本是可以不用任何設定就可以讓guest直接讀取USB設備的(MacOSX版除外)；如果用的是OSE版本，那可是連USB的支援都沒有！！
  由於我只有實體的Debian Lenny、Ubuntu 9.04跟OpenSuSE 11.1，因此這裡只紀錄Debian跟OpenSuSE的解決方法。
  Debian下非常簡單，首先必須確定你的帳號有在vboxusers裡面。如果沒有的話，請加入到vboxusers裡面，重新登入就可以了。
   萬一重新登入還是沒辦法啟用usb，也別著急，只要控制debian下統一控制mount的script就好。首先我們要先找出USB裝置的gid：
   cat</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/5635361622778859328/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=5635361622778859328' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5635361622778859328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5635361622778859328'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/09/virtualbox-guest-os-usb.html' title='VirtualBox guest OS USB啟用筆記'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-6577411822858692753</id><published>2009-08-13T17:34:00.001+08:00</published><updated>2009-08-13T17:34:44.213+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><title type='text'>JavaScript練習筆記(5)</title><summary type='text'>捕捉異常-- try catch以及throw
  如果您熟悉java，一定會對於java嚴謹的try catch控制感到佩服（或是厭煩）。事實上，對於異常的捕捉是非常重要的控制，幸好javascript也沿襲這個優點。
  
   簡單的try catch&lt;!--第1段javascript--&gt;


  function showMessage(){
   try{
  alertt("hello world!!!");//故意寫錯方法！
 }catch(Error){
  content = "很抱歉，這個頁面可能有誤！\n";
  content+= "請通知管理員此問題，\n";
  content+= "或者幾分鐘後再試！";
  alert(content);
 }
  }


結果會是：

  function showMessage(){
   try{
  alertt</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/6577411822858692753/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=6577411822858692753' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/6577411822858692753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/6577411822858692753'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/08/javascript5.html' title='JavaScript練習筆記(5)'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-121964045492627944</id><published>2009-08-13T16:22:00.001+08:00</published><updated>2009-08-13T16:22:52.070+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><title type='text'>JavaScript練習筆記(4)</title><summary type='text'>在講到物件之前，我們先從陣列這個重要功能開始講起。
  
   建立你的第一個array！&lt;!--第1段javascript--&gt;
   

var myCerts = new Array(); //建立一個myCert陣列物件，並依序把陣列值填上。
myCerts[0] = "NCLP";
myCerts[1] = "SCJP";
myCerts[2] = "CCNA";

for (i= 0; i&lt; myCerts.length; i++){
  document.write(myCerts[i] + "");
}

結果會是：

var myCerts = new Array(); //建立一個myCert陣列物件未指定長度，並依序把陣列值填上。
myCerts[0] = "NCLP";
myCerts[1] = "SCJP";
myCerts[2] = "CCNA";

for </summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/121964045492627944/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=121964045492627944' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/121964045492627944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/121964045492627944'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/08/javascript4.html' title='JavaScript練習筆記(4)'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-4063033268932965068</id><published>2009-08-13T14:13:00.001+08:00</published><updated>2009-08-13T14:16:14.411+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>卸載檔案系統</title><summary type='text'>很多時候卸載檔案系統會遇到一些困難.
這篇文章提供很詳細的解說, 希望可以幫助解決一些問題!
卸載 (unmount)/退出檔案系統</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/4063033268932965068/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=4063033268932965068' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4063033268932965068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4063033268932965068'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/08/blog-post.html' title='卸載檔案系統'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-1653963683917567547</id><published>2009-08-12T17:59:00.002+08:00</published><updated>2009-08-12T22:08:52.737+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><title type='text'>JavaScript練習筆記(3)</title><summary type='text'>彈出式對話方塊
        
            &lt;!--第1段javascript--&gt;
      Confirm Box(確認方塊)
            

function showConfirm(){
  var r = confirm("選擇確定或取消");
  if (r == true) {
    alert("你剛了確定");
  }else {
    alert("你剛按了取消");
  }
}



 結果會是：

  function showConfirm(){
    var r = confirm("選擇確定或取消");
    if (r == true) {
       alert("你剛了確定");
     }else {
       alert("你剛按了取消");
      }
}


        
  
  &lt;!--第</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/1653963683917567547/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=1653963683917567547' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1653963683917567547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1653963683917567547'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/08/javascript3.html' title='JavaScript練習筆記(3)'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-8479943498433397375</id><published>2009-08-12T16:54:00.004+08:00</published><updated>2009-08-13T17:32:35.076+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><title type='text'>JavaScript練習筆記(2)</title><summary type='text'>流程控制與迴圈
  上一篇筆記裡忘記提到：JavaScript是區分大小寫，所以跟Java的使用相同！
  如果你有任何一種語言的撰寫經驗，這一篇只要輕鬆看過就好！
  
  
   
    &lt;!--第1段javascript--&gt;
    你的第一個物件以及簡單的if判斷式：
    

 var mydate=new Date();
 var mytime=mydate.getHours();

 if (mytime &lt; 10){
     document.write("Good morning, present time is:"+mytime+" o'clock.");
   }else{
   document.write("The present time is: "+mytime+" o'clock.");
 }

結果會是：

 var mydate=new </summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/8479943498433397375/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=8479943498433397375' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8479943498433397375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8479943498433397375'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/08/javascript2.html' title='JavaScript練習筆記(2)'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-5008973600881457401</id><published>2009-08-12T11:27:00.009+08:00</published><updated>2009-08-13T11:03:12.294+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><title type='text'>JavaScript練習筆記(1)</title><summary type='text'>What is Javascript?
		根據Wikipedia對於JavaScript的定義："JavaScript是一種廣泛用於客戶端Web開發的腳本語言，常用來給HTML網頁添加動態功能，比如響應使用者的各種操作。它最初由網景公司的Brendan Eich設計，是一種動態、弱型式、基於原型的語言，內建支援類。以它為基礎，制定了ECMAScript標準。"
		您也應該知道，其實Javascript與Java是沒有任何關係的。Javascript最早是Netscape的Brendan Eich所開發的；後來的歷史我並不清楚，最後則又被SUN給買去。"JavaScript最初的確是受Java啟發而開始設計的，而且設計的目的之一就是「看上去像Java」[2]，因此語法上有很多類似之處，許多名稱和命名規範也借自Java。"
		就我自己認為，Javascript</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/5008973600881457401/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=5008973600881457401' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5008973600881457401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5008973600881457401'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/08/javascript1.html' title='JavaScript練習筆記(1)'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-9106588736245026443</id><published>2009-08-07T19:41:00.011+08:00</published><updated>2009-08-11T15:20:10.066+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>Chromium for Linux</title><summary type='text'>當我們談到Chrome for Linux時，就不免會看到Chromium這個字。實際上，這兩者是不同的東西：Google Chrome乃是根據Chromium這個開放原始碼的計畫去實做的。Chromium這個計畫並非以GPL授權，反之是以更自由的BSD的許可方式授權。詳細介紹可以參閱WikiPedia；版本上，Chromium每隔幾小時就會有一個更新，當測試後確定為穩定版本後，就會被Google納入Google Chrome裡，因此可以說Chrome是Chromium的穩定版本。然而，Google並沒有發布Chrome for Linux的穩定版，因此我們在linux所使用的都是Chromium for Linux，或是Google所打包的Google Chrome for Linux不穩定版(還是Chromium，只是灌上了Google的名字罷了)，請特別注意。



    
</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/9106588736245026443/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=9106588736245026443' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/9106588736245026443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/9106588736245026443'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/08/chromium-for-linux.html' title='Chromium for Linux'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_uj4HRyN9rzw/SnwoiSfMLaI/AAAAAAAAA1I/3h3p5jXBL4s/s72-c/Chromium_1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-6903783112431389957</id><published>2009-08-07T13:07:00.004+08:00</published><updated>2009-08-07T13:18:52.584+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>gmail專屬圖示</title><summary type='text'>很多人不敢在個人網站上光明正大的擺上自己的email，甚至是作一個連結放在html原始裡都不敢，原因是因為網路上蒐集email的機器人程式實在是太多了！一個比較好的解決方式是：把自己的email作成圖示吧！
於是我搜尋"email +icon +generator"，真的出現一個網站可以自訂我們的email圖示，而且不只gmail呢！各位可以利用services.nexodyne.com來產生自己的email圖示喔！
不過！由於網頁是php寫的，我實在不敢保證這過程中我們的emial information會不會被偷偷存下來...如果有疑慮的看官還是別輕易嘗試吧！
完成後我的email圖示如下：</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/6903783112431389957/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=6903783112431389957' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/6903783112431389957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/6903783112431389957'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/08/gmail.html' title='gmail專屬圖示'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_uj4HRyN9rzw/Snu4nBHo6cI/AAAAAAAAA0o/8G6mZdnyUYY/s72-c/maxubuntu.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-5583940284162342512</id><published>2009-08-04T01:12:00.009+08:00</published><updated>2009-08-18T11:25:44.582+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='science.software'/><title type='text'>GSAS on Linux安裝筆記</title><summary type='text'>第一次接觸到gsas這套自由軟體，是在成大地科系跟龔老師的高壓礦物研究室學來的。很幸運能夠幫忙開發轉換gsas格式的小程式，僅以此篇作筆記。
一、What's GSAS?

    GSAS (General Structure Analysis System)是一套可以藉由中子繞射(neutron diffraction)以及X-ray資料來分析結構模型的一套系統。她可以分析單晶繞射、粉末繞射 (Rietveld analysis)，或者兩者同時分析。
愧於筆者並非本領域出身，請詳見該網站的介紹。

    作者是Allen C. Larson and Robert B. Von Dreele，Los Alamos National Laboratory。gsas並非開放原始碼軟體，作者也在首頁上說明別寫信跟他要原始碼。

二、下載及安裝

    GSAS是一個文字介面(</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/5583940284162342512/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=5583940284162342512' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5583940284162342512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5583940284162342512'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/08/gsas-on-linux.html' title='GSAS on Linux安裝筆記'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_uj4HRyN9rzw/Sn_CSgjHnuI/AAAAAAAAA2Y/P_7Yb4qfVNg/s72-c/powplot.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-7225614060457816880</id><published>2009-07-27T21:53:00.006+08:00</published><updated>2009-07-27T22:35:57.418+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>MadEdit --An alternative to UltraEdit on Linux</title><summary type='text'>在windows上非常著名的純文字編輯程式--UltraEdit，可以支援多種格式編碼，也能為各種不同語法彩色註解，甚至搭配一些簡單指令功能還可以直接進行編譯動作。最方便的地方莫過於可以轉換成16進位模式以及選取「欄位」(一般編輯器只能選擇「行」)。不過她畢竟是商業軟體，雖然最近正在努力猛推即將推出的新產品--UEX(UltraEdit for Linux)，介面據說會跟windows的版本完全一樣；但她畢竟還是不開放的軟體。
  
  本文要介紹的是一個在Linux下開放原始碼的ultraedit替代方案--MadEdit
  由於開放原始碼的關係，各種平台都可以使用，並支援各種Encoding(UTF-8/16/32,Big5,GBK...)；以下提供的版本為0.2.9.1，如果需要更新的版本，請參考這邊。
  
    
        Linux i386
        
</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/7225614060457816880/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=7225614060457816880' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7225614060457816880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7225614060457816880'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/07/madedit-alternative-to-ultraedit-on.html' title='MadEdit --An alternative to UltraEdit on Linux'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_uj4HRyN9rzw/Sm24gdzxj6I/AAAAAAAAA0I/K1G8ASDAhcg/s72-c/Screenshot-1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-6694208763477258863</id><published>2009-07-26T01:51:00.013+08:00</published><updated>2010-11-08T21:05:08.966+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='心情'/><title type='text'>SCJP passed!!!</title><summary type='text'>經過了半年多的努力，我從一個完全不會寫程式、完全不懂java的人提升到拿到了SCJP的證照，也許對很多人來說這是很基本甚至是很容易的事情；但對我這快三十歲又要兼顧其他工作的人來說，我真的讀得很辛苦。
  並不怕丟臉，我考了三次才過；我沒有像其他人那麼輕而易舉的過關，我一而再、在而三的反覆練習，熟讀定義跟實做，對我而言是一種辛苦付出的證明，而不是表示我有多厲害的一張證書。
  
   
    
   
   
    第一次考試：我幾乎是在懂50%的情況下就去考試的。於是很悲慘的，考試成績很明顯，距離過關還有一大段距離。6.0的考試規定要答對65%才算過關，以總題數72題而言，我至少要答對47才算過關。
   
   
    
   
   
    第二次考試：距離第一次考試隔了一個月，我下定決心買了廣受好評的猛虎出閘這本參考書，細心規劃每一個章節；很多部份我如果唸不懂，</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/6694208763477258863/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=6694208763477258863' title='4 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/6694208763477258863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/6694208763477258863'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/07/scjp-passed.html' title='SCJP passed!!!'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_uj4HRyN9rzw/SmtImUhjF8I/AAAAAAAAAyo/EC-JnsiIjMc/s72-c/02.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-884860173355039846</id><published>2009-06-25T14:16:00.002+08:00</published><updated>2009-06-25T14:38:24.731+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='心情'/><title type='text'>「殺很大」校區？</title><summary type='text'>
昨天我到成大校友中心--我最喜愛最懷念的地方--的樓下，也就是理髮部理頭髮；裡面兩個忙碌的阿桑可以邊聊天邊幫客人理髮，讓我準備SCJP的緊繃心情也輕鬆了起來。兩個阿桑聊到天南地北，聊一整天的話都還是有話題可以聊；也不知道是誰開得口，突然出現以下的對話：
以下是台語口音

A桑：聽說學校要改校區的名耶！什麼要改成至善校區啦！名好好的為什麼要改？
B桑：對阿！以為改成至善校區就會變聖人泥？
A桑：阿就聽說學校覺得光復校區這名很古董阿，不符合時代潮流阿；又覺得自強校區很ㄙㄨㄥˊ阿，所以就要改阿！
B桑：阿黑三八的，上回還不是一個大陸的蝦米郎來訪問成大，說什麼時代了，還在叫光復校區？
A桑：拜託ㄝ！如果要跟上時代潮流，那乾脆改成「殺很大」校區阿！ 阿「殺很大」現在不是很紅，大家嚨栽樣！
B桑：黑咩....
其實後續的談話我已經沒有力氣聽清楚了，我必須忍住不能笑出來！雖然兩個阿桑不覺得這是笑話，</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/884860173355039846/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=884860173355039846' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/884860173355039846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/884860173355039846'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/06/blog-post.html' title='「殺很大」校區？'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-6953447344516566417</id><published>2009-06-17T00:32:00.018+08:00</published><updated>2009-06-17T01:45:42.754+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>華碩的Express Gate</title><summary type='text'>linux在幕後擔任很多重要的工作，很多人，甚至是摸系統很久的人其實都不知道。舉凡監視系統、ERP、還有HP的smart start安裝程式，都是用linux做出來的。
華碩新一代的主機版都提供了號稱8秒開機的Express Gate的功能--事實上，他也是linux，一個精小的linux系統。這個週末幫老婆重灌電腦(唉，是windows xp...)，順道安裝了Express Gate，我很好奇的想知道可以8秒進入的os究竟是什麼os。謎底終於揭曉，還是一套linux。
當你打開主機電源的那一刻，首先會進入的不是bios，而是在主機板上的一塊flash。

根據不同的Express gate版本可能會提供不太一樣的功能，以這台主機為例，大致上的功能就是提供web, chat, photo以及skype四種功能。進到上圖的畫面會倒數10秒，滑鼠若沒有任何動作就會進入真正的os。

進入</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/6953447344516566417/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=6953447344516566417' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/6953447344516566417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/6953447344516566417'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/06/express-gate.html' title='華碩的Express Gate'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_uj4HRyN9rzw/SjfMOiR80NI/AAAAAAAAAvo/TIuzpYIS_dw/s72-c/expg01.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-3657859050370282323</id><published>2009-05-12T17:13:00.013+08:00</published><updated>2009-07-26T03:06:53.739+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='心情'/><title type='text'>感謝與感恩！終於拿到NCLP證照了！</title><summary type='text'>雖然說去年八月底我就考上NCLP了，不過我一直沒有收到證照的紙本，很是沮喪。上個禮拜，我突然收到一封信，是一個公園國小的替代役男寫給我的一封信：

您好，這裡是公園國小的替代役
 
因為近期收到一封來自Novell的信
 
署名是要給JIM TING TANG先生的
 
經過GOOGLE大神的搜尋，大海撈針找到了先生您的E-mail
 
假如這封信對您相當重要的話，就請先生您盡快來認領
 
學校可能無法替您保存這封信件太久，麻煩您回信了，謝謝~

我心裡大想：不會吧！我要寄到公園路上的巨匠電腦，怎麼會寄去公園國小呢？仔細查了一下，原來我當初留的住址是公園路180號；可是巨匠電腦的地址是公園路108號！原來是我自己糊塗弄錯了，還在想怎麼自己運氣這麼糟呢！
由衷感謝公園國小的替代役男--魏志嘉先生以及總務處，竟然為我這個陌生人的信件保留了這麼久，還花心思找到我的blog與email；</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/3657859050370282323/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=3657859050370282323' title='3 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3657859050370282323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3657859050370282323'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/05/nclp.html' title='感謝與感恩！終於拿到NCLP證照了！'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_uj4HRyN9rzw/Sgmdk_z5eZI/AAAAAAAAAuk/EJ-qw8M1Ygo/s72-c/DSCF6470.JPG' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-3414212708935171209</id><published>2009-05-05T13:38:00.012+08:00</published><updated>2009-07-26T03:24:30.464+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>在linux上安裝Xerox雷射印表機</title><summary type='text'>今天辦公室來了一台全錄的雷射印表機，支援雙面列印；我們大家都用對岸的口吻說著：「激光打印機來囉∼激光！激光！激光！」。可見大家都覺得激光實在是一種很爆笑講法。言歸正傳，要安裝新印表機驅動程式在linux上總是需要一點運氣；根據光碟片上所附得說明文件，這台Xerox Phaser 3428是支援linux的；不過很好笑的是，她並沒有附上for linux的驅動程式或是ppd檔，所以這樣也算是叫做支援linux？
不過，事情總是需要解決。光碟片上所附的安裝程式有windows跟mac版，而且這款網路印表機是支援TCP/IP的，這跟HP給款最新型的設備用他自己的protocol來得友善多了！不過光碟片丟進去卻還是只看到windows的ppd，我完全看不到mac的部份。所幸我後面的資訊工程師他是mac的使用者，他跟我解釋這片xerox的安裝光碟是使用不同的燒錄方式，因此mac的使用者能看到mac</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/3414212708935171209/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=3414212708935171209' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3414212708935171209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3414212708935171209'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/05/linuxxerox.html' title='在linux上安裝Xerox雷射印表機'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_uj4HRyN9rzw/Sf_c-DN0EhI/AAAAAAAAAtU/btAsuasJNA0/s72-c/cups01.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-3484311734144642569</id><published>2009-04-28T15:27:00.011+08:00</published><updated>2009-04-28T17:35:01.688+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='software'/><category scheme='http://www.blogger.com/atom/ns#' term='hardware'/><title type='text'>在linux上使用光雕技術(lightscribe)</title><summary type='text'>現在的DVD燒錄器已經如此便宜，22x的DVD+R/-R/RAM，8x的雙層燒錄，價錢已經在NTD 1,000以下了！在linux下有很多非常好用的燒錄軟體，例如KDE裡最富盛名的k3b，gnome環境下的brasero，或是商業版本的nerolinux其實坦白說都是不錯的選擇！不過買了光雕機，在linux底下卻只能當普通燒錄器用，裡頭所贈送的兩張光雕片卻英雄無用武之地！本文會簡單介紹如何用lightScribe與Lacie兩種方案來使用光雕功能。
  光雕技術的擁有者為lightScribe公司。該公司提供了光雕所需最新的驅動程式，至於其他附加的工具也很多，但是多半都是windows的版本；我們可以參考for linux的頁面。
  
   
    LIGHTSCRIBE SYSTEM SOFTWARE
    這個檔案可以算是啟用光雕技術所需的驅動程式，並沒有跟使用者互動的功能介面</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/3484311734144642569/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=3484311734144642569' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3484311734144642569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3484311734144642569'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/04/linuxlightscribe.html' title='在linux上使用光雕技術(lightscribe)'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_uj4HRyN9rzw/SfawHWBhKhI/AAAAAAAAAsE/qf6MxuzxizY/s72-c/light01.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-7372531509848288005</id><published>2009-04-15T15:29:00.005+08:00</published><updated>2009-04-15T15:40:40.353+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>GoogleEarth Linux 5.0 on Debian Crash解決法</title><summary type='text'>今天突然需要用到google earth找成大的影像，沒想到安裝完之後，開啟google earth出現完splash之後便突然crash。看了一下error message是：

Warning: Unable to create prefs directory '/home/maxsolar/.googleearth'. 檔案已存在.
./googleearth-bin: relocation error: /usr/lib/i686/cmov/libssl.so.0.9.8: symbol
BIO_test_flags, version OPENSSL_0.9.8 not defined in file libcrypto.so.0.9.8 
with link time reference

真是苦惱，檢查了libssl版本也確定是高於googleearth所需求的。</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/7372531509848288005/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=7372531509848288005' title='4 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7372531509848288005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7372531509848288005'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/04/googleearth-linux-50-on-debian-crash.html' title='GoogleEarth Linux 5.0 on Debian Crash解決法'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-5933258877810619209</id><published>2009-04-09T00:22:00.003+08:00</published><updated>2009-04-09T00:36:46.047+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><title type='text'>Java Decompiler for Linux</title><summary type='text'>JAD(Java Decompiler)是java類別檔的反組譯器，能夠反組譯.class觀察原始碼的型態。

http://java.decompiler.free.fr/?q=jdgui
最近筆者爬了網路上關於JAD/JODE的文章，都沒辦法順利下載for linux的版本；感謝郭朝益老師熱心提供的連結，讓我們學習java省去不少摸索的時間！</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/5933258877810619209/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=5933258877810619209' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5933258877810619209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5933258877810619209'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/04/java-decompiler-for-linux.html' title='Java Decompiler for Linux'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-1590129520003663130</id><published>2009-04-07T16:27:00.005+08:00</published><updated>2009-07-30T16:39:35.634+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='win32.free'/><title type='text'>Free FTP server on Windows OS</title><summary type='text'>PCMan大大是我非常尊敬的一位前輩，是一位極具開發能力又多才多藝的linux user，同時也是一位醫生！他所開發出來的實用軟體非常非常的多，大家最耳熟能詳的就是pcmanx bbs連線軟體，linux使用者所愛用的LXDE計畫主持人也是pcman大大！本文還要介紹一個在windows下的簡易ftp軟體--PCManFTPD，可以輕易的讓windows user建立起一個簡易的ftp伺服器喔！

請詳見PCMan的個人網頁：http://pcman.ptt.cc/FTPD_teach/
這裡有更詳細的教學文章！
參觀PCMan大大的網頁有如挖到寶，希望能分享給更多windows的使用者。</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/1590129520003663130/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=1590129520003663130' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1590129520003663130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1590129520003663130'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/04/free-ftp-server-on-windows-os.html' title='Free FTP server on Windows OS'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-5744068488276244366</id><published>2009-03-30T22:32:00.022+08:00</published><updated>2009-04-14T17:08:44.630+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>Web applications IDE on Linux--KompoZer &amp; Aptana Studio</title><summary type='text'>在windows下有赫赫有名的Dreamweaver，MacOS上更有史上最強悍的coda編輯器，狠狠的把dreamweaver甩在後面；Dreamweaver強在所見即所得(WYSIWYG)，coda更狠，他本身不但也是個WYSIWYG的軟體，他更是一個不折不扣的web applications IDE！不會撰寫程式碼的人可以輕鬆用coda寫出超漂亮的網頁，web程式高手透過coda可快速撰寫精確的程式碼來，還可以自動補齊、參數選擇等等，實在是棒到不行！那麼，linux的使用者呢？我不是一個網頁設計高手，相反地，關於html跟php我懂得大概比皮毛還少一點吧！這幾周不斷的尋找在linux下好的替代方案，我選擇了兩款強大的網頁編輯軟體--kompozer與aptana studio。前者不能算是ide，他類似dreamweaver的角色，提供所見即所得；後者就是標準的ide，</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/5744068488276244366/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=5744068488276244366' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5744068488276244366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5744068488276244366'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/03/web-applications-ide-on-linux.html' title='Web applications IDE on Linux--KompoZer &amp;amp; Aptana Studio'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_uj4HRyN9rzw/SdDcAoz31jI/AAAAAAAAAmY/6NkEahveoJE/s72-c/kom01.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-4527219334908655982</id><published>2009-03-27T12:10:00.008+08:00</published><updated>2009-04-14T17:30:58.495+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='samba'/><title type='text'>以samba建立小型檔案共享環境</title><summary type='text'>
            samba是與其他非unix作業系統共享資源最直接的方式，配置他的方式也非常簡單。本文主要目的是為了建置小型工作站的檔案共享環境所寫的筆記，內容包含如何安裝、配置及管理samba伺服器，掛載linux或windows所分享的filesystem。
        
        
            需求：
        
        每個使用者可以存取自己的家目錄，其他使用者連瀏覽的權限也沒有。
        
        一個可以匿名讀寫的目錄。
        
        一個唯讀的目錄。
        
        
            一、安裝所需的套件：
        
        
            aptitude install samba swat smbfs smbclient xinetd -</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/4527219334908655982/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=4527219334908655982' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4527219334908655982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4527219334908655982'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/03/samba.html' title='以samba建立小型檔案共享環境'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-41161942901523174</id><published>2009-03-25T09:23:00.004+08:00</published><updated>2009-03-25T09:46:36.601+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenOffice.org'/><title type='text'>OpenOffice.org 3.0.1繁體中文版</title><summary type='text'>安裝3.0.1版的目的是為了解決3.0.0繁體中文版無法使用中文輸入法的困擾。我同時有x86跟amd64的機器，在x86平台上3.0.0繁體中文版使用中文輸入法並沒有問題，但是 amd64的機器當時我為了求有繁體中文選單，因此使用強制安裝把x86的deb安裝上去，所造成的結果就是無法中文輸入。

解決的辦法就是安裝3.0.1版。目前(2009/03/25)並沒有他的繁體中文版，筆者自己測試的結果就是在amd64的機器上不移除原本的3.0.0繁體中文版，直接下載3.0.1英文版來安裝。你可以解壓縮後使用update把他升級成3.0.1。升級完後會發現竟然還是繁體中文的選單耶！！這真是太棒了！

這麼一來，雖然3.0.1並沒有繁體中文版，但是一樣可以透過這個方式取得繁體中文版，同時也解決了中文輸入的問題！
rpm的版本尚未有amd64的release，我沒有使用rpm系列的強烈需求，</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/41161942901523174/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=41161942901523174' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/41161942901523174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/41161942901523174'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/03/openofficeorg-301.html' title='OpenOffice.org 3.0.1繁體中文版'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_uj4HRyN9rzw/ScmME8ZAqKI/AAAAAAAAAmQ/2xSlXK_hjxg/s72-c/Screenshot.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-4685722623680958280</id><published>2009-03-23T20:32:00.011+08:00</published><updated>2009-03-25T09:55:31.357+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenOffice.org'/><title type='text'>OpenOffice.org3 on Fedora 無選單解決法</title><summary type='text'>許多朋友在安裝官方版的openoffice.org3，發現竟然在選單裡並沒有出現在Office類別裡；反之我的Debian跟ubuntu可是用得輕鬆愉快呢！前幾天裝了一台Fedora 10來當練習機，安裝OOO3也發現了有這個問題；實際上，解開for rpm的壓縮檔，你可以發現其下有update跟setup兩個script。如果是初次安裝，以root身份執行setup就可以解決這個問題；假設您是到RPMS直接手動安裝這些rpm，你才會遇到沒有出現選單的問題。本文就是解決這小問題的教學。
(debian系的安裝方法沒有setup script，直接手動安裝rpm就解決了，反而更乾淨俐落；如果你是debian系列的朋友可以略過此文。)

首先，建議移除fedora所維護的openoffice版本，移除的方法就不贅述了@@；安裝的方法也請參照OpenOffice.org 3.0.0</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/4685722623680958280/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=4685722623680958280' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4685722623680958280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4685722623680958280'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/03/openofficeorg3-on-fedora.html' title='OpenOffice.org3 on Fedora 無選單解決法'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_uj4HRyN9rzw/SceESFrwDUI/AAAAAAAAAlg/w-V56hTwThI/s72-c/01.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-4078999871420072875</id><published>2009-03-20T16:10:00.005+08:00</published><updated>2009-03-20T16:35:46.202+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LOVE'/><title type='text'>聽歌學英語--Tell me why</title><summary type='text'>
這是一首悲傷的歌，由一個當時十歲的小男孩唱的；唱出這個世界的夢想，道出現實與夢想的天差地別...

In my dream children sing a song of love for every boy and girl
在我夢裡，孩子們唱著男孩女孩愛的歌曲

The sky is blue and fields are green and laughter is the language of the world
天是藍的，草原是綠的，微笑是世界共同的語言

Then I wake and all I see is a world full of people in need
但是當我醒來，卻發現這世界充滿著需要幫助的人們

Tell me why (why) does it have to be like this?
告訴我為什麼？世界一定要是這樣嗎？
Tell me why</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/4078999871420072875/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=4078999871420072875' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4078999871420072875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4078999871420072875'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/03/tell-me-why.html' title='聽歌學英語--Tell me why'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-2311720847596809961</id><published>2009-03-20T15:56:00.002+08:00</published><updated>2009-03-20T16:03:30.786+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LOVE'/><title type='text'>Pantene--你也能發光發熱</title><summary type='text'>
這是一部泰國短片，描述一個音啞女孩被他的親姊姊欺負，受到眾人歧視的目光，卻依然能夠在音樂的洗禮下自立不強；
在街頭藝人的鼓舞下，他閉上眼睛，用心感受小提琴的旋律(她聽不到，所以無法學習說話)，感受到音樂在她體內的流動而找到自己；他的姊姊無法坐視妹妹可以這樣學音樂，還流氓摔壞她的小提琴，把街頭藝人打成重傷。在音樂發表會上，姊姊壓軸的鋼琴演出雖然博得了全場的喝采，不過後來妹妹用生命演奏出的卡農才是真正的感動了全場！

結論：
1.生命就是永不放棄自己追求的目標！
2.泰國女生原來這麼漂亮...</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/2311720847596809961/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=2311720847596809961' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/2311720847596809961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/2311720847596809961'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/03/pantene.html' title='Pantene--你也能發光發熱'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-8012319671652436507</id><published>2009-03-20T14:45:00.011+08:00</published><updated>2009-10-12T16:58:21.719+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>批次修改圖片大小</title><summary type='text'>工作上，需要把很多照片放到網站上去，不過攝影師負責拍到照片，卻不負責幫我們把照片解析度變小，實在是不體貼網站管理員的辛勞＠﹍＠

所以，本文介紹文字跟圖形介面修改圖片解析度的方法。

1.利用convert指令：
使用gthumb一張一張把圖片解析度降低實在是太辛苦了，我想起了從前在自訂grub splashimage時所使用的convert指令！他是從imagemagick來的，請看看你有沒有安裝：
which convert || sudo aptitude install imagemagick
你可以使用convert來轉換解析度或是改變quality:
convert abc.jpg -resize 800x600 abc_new.jpg
把原本的abc.jpg轉成800x600並另存為abc_new.jpg。你也可以改變畫質：
convert def.jpg -quality</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/8012319671652436507/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=8012319671652436507' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8012319671652436507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8012319671652436507'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/03/blog-post_20.html' title='批次修改圖片大小'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_uj4HRyN9rzw/ScNAE9zO_2I/AAAAAAAAAkw/Cyq7oq9Tmaw/s72-c/digikam0.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-7171711402278863415</id><published>2009-03-18T01:35:00.004+08:00</published><updated>2009-03-18T01:57:27.303+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CCNA'/><title type='text'>IP定址與VLSM簡易筆記</title><summary type='text'>一、IP定址 Class A(1~126) 0xxxxxxx.host.host.host 7個network bits的變化，使得此等級應有27=128個network； 然而TCP/IP協定又保留整個127作為loopback使用，因此整個Class A為1~126。 此等級的私有ip為整個10.網段，即10.0.0.0~10.255.255.255。 
 Class B(128~191) 10xxxxxx.network.host.host 6+8個network bits的變化，使得此等級應有214=16384個network； dhcp請求失敗會回傳169.254.X.X的位置。 此等級的私有ip為172.16.0.0~172.31.255.255。 
 Class C(192~223) 110xxxxx.network.network.host 5+16個network </summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/7171711402278863415/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=7171711402278863415' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7171711402278863415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7171711402278863415'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/03/ipvlsm.html' title='IP定址與VLSM簡易筆記'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-928831558222238871</id><published>2009-03-17T17:01:00.003+08:00</published><updated>2009-03-17T17:16:40.237+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>學習網頁程式設計--learning web design</title><summary type='text'>我想接觸資訊領域，還真的是什麼都要會一點；有時候，會一點點還不夠，必須要有能力做出一點東西才行。以我自己慘痛的經驗是，系統管理的東西會，但僅限於linux；解決網路問題有，但是缺乏實做經驗；寫簡單的程式也ok，不過限於java跟bash shell script；web design會一點，而且僅限於html+php；資料庫也會一點點，不過也只會搭配php/jsp作很簡單的事情...這就是最悲慘的情況，什麼都會一點點，其實跟什麼都不會差別不大。

所以囉，因為工作上的需要，我需要增加自己html的能力，而且要會使用javascript；我這把年紀真的沒時間再買書來看了，買了最後就變成溫室效應的推手，變成一堆充滿知識的垃圾磚！好險我發現有一個非常棒的教學網站，他可以從頭到尾的教學，內容從html的tag, frame, layout, CSS等等都教學得巨細靡遺！他就是</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/928831558222238871/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=928831558222238871' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/928831558222238871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/928831558222238871'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/03/learning-web-design.html' title='學習網頁程式設計--learning web design'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-7506499400375125528</id><published>2009-03-11T17:26:00.021+08:00</published><updated>2011-02-12T21:09:08.373+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>Linux下的心智圖軟體</title><summary type='text'>有時候，我們要把自己的想法邏輯且條理的展示出來，這時需要一個能夠描繪出自己思想的軟體，稱為心智地圖(mindmap)。在windows底下有很多很棒的軟體可以達成，甚至透過繪製流程圖的軟體也能達成；在linux底下筆者簡單介紹三個免費的心智圖軟體給各位參考。

1.MinDemo (官方網站：http://www.mindomo.com/)
這是一個web based的使用方式，透過flash的互動，使用者可以線上使用。註冊後的使用者可以免費使用數個心智圖(詳細數目不清楚)，如果想要有無限制的使用次數則需要付費。

2.Xebece (官方網站：http://xebece.sourceforge.net/index)
這是一個純java寫成的軟體，繪製過程動感十足；使用者比需要安裝jre才能夠順利啟動。你可以在SourceForge下載得到。由於是java的關係，</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/7506499400375125528/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=7506499400375125528' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7506499400375125528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7506499400375125528'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/03/linux.html' title='Linux下的心智圖軟體'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_uj4HRyN9rzw/SbjP-nBXzII/AAAAAAAAAkA/F_xox45UVC4/s72-c/Xebece.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-8142390529963082488</id><published>2009-03-11T14:24:00.007+08:00</published><updated>2009-09-02T18:33:37.567+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>在linux上安裝HP雷射印表機</title><summary type='text'>今天在辦公室想要安裝HP 2600N的彩色印表機driver在我愛的debian上，我想用土法煉鋼：
http://localhost:631
無論怎麼新增，就是沒有2600系列的型號；安裝了system-config-printer之後，還是沒辦法順利的安裝這個型號，更悲慘的是沒有ppd可以用！2600N這行的網路印表機是使用bonjour協定，client端上可能要裝zeroconf這類的套件來支援這個協定；我不想增加工時來做這些事情，linux的使用者對於這些硬體廠商的忍讓已經夠多了！在linux上安裝hp 2600N的印表機，你可以到openprinting.org裡找到foo2hp，不過其他型號的印表機該怎麼辦呢？
我決定相信一間有自己的unix系統的廠商，應該會對於linux友善一點！

很開心我的期望是真的！

這是一個在linux下安裝所有HP印表機的解決方案，</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/8142390529963082488/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=8142390529963082488' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8142390529963082488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8142390529963082488'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/03/linuxhp.html' title='在linux上安裝HP雷射印表機'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_uj4HRyN9rzw/SbdiGVPfWNI/AAAAAAAAAjg/9Gff2yznekc/s72-c/2600n.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-4929360678099031125</id><published>2009-03-09T11:29:00.011+08:00</published><updated>2010-01-20T19:30:58.426+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>NXserver遠端桌面</title><summary type='text'>大概是我的技術太拙劣外加沒耐心，我真的覺得vnc不是很適合我，無論如何設定調整，遠端桌面永遠都是空的，只留下一個終端機給我用，連退出或中斷連線的選項都沒有...後來搜尋了許多文章，我認為nxserver確實是我所用過安裝最容易、設定最簡單的遠端桌面軟體。除了有win32、linux版本，甚至還有solaris sparc的版本！也跟RealVNC一樣，有給一些free的版本，本文簡單展示一下使用的screenshot！

首先到NoMachine的官方網站下載合適的版本。假設你的linux只要作client就好，那麼請下載nxclient就可以了；假設你的linux需要當server，那麼你就需要下載nxclient, nxnode以及nxserver這三者來安裝。
原則上你不需要什麼設定，他會使用系統的帳號密碼作為帳號密碼；他並沒有多開什麼port，因為他是走ssh的，因此非常安全，</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/4929360678099031125/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=4929360678099031125' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4929360678099031125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4929360678099031125'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/03/nxserver.html' title='NXserver遠端桌面'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_uj4HRyN9rzw/SbSRuHEc4jI/AAAAAAAAAig/-kMcOpGh9sU/s72-c/nx01.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-5507524516634693259</id><published>2009-03-04T17:28:00.002+08:00</published><updated>2009-03-04T17:31:12.526+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LOVE'/><title type='text'>狗狗愛做夢</title><summary type='text'>
他真的超認真在做夢的！</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/5507524516634693259/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=5507524516634693259' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5507524516634693259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5507524516634693259'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/03/blog-post.html' title='狗狗愛做夢'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-4275603652328170053</id><published>2009-02-27T17:00:00.004+08:00</published><updated>2009-03-01T22:48:59.764+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debian'/><title type='text'>[筆記]ssh蕩劍十式(2)</title><summary type='text'>07. 第五式：Port Fowarding
A. port forwarding:
ssh -L 4321:REMOTEHOST:1234 maxsolar@REMOTEHOST-L表示本地端的意思。本地的port 4321到對方的port 1234建立一個加密連線。

B. reverse port forwarding:
ssh -R 4321:LOCALHOST:1234 maxsolar@REMOTEHOST-R表示遠端的意思。遠端的port 4321到本地的port 1234建立一個加密連線。

C.tunneling and port forwarding:
ssh -L 4321:REMOTEHOST:1234 maxsolar@THIRDHOST
這個比較有趣，結合了tunnelling跟forwarding，本地端port 1234建立一個加密連線到第三方主機，</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/4275603652328170053/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=4275603652328170053' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4275603652328170053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4275603652328170053'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/ssh2.html' title='[筆記]ssh蕩劍十式(2)'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_uj4HRyN9rzw/SaesArRqqLI/AAAAAAAAAhk/e2nK2UluX28/s72-c/forwarding1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-7203985910831736502</id><published>2009-02-27T16:34:00.009+08:00</published><updated>2009-03-04T17:22:46.761+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debian'/><title type='text'>[筆記]ssh蕩劍十式(1)</title><summary type='text'>01.What is OpenSSH? 根據維基百科：「OpenSSH（Open Secure Shell）是使用SSH透過計算機網路加密通訊的實現。它是取代由SSH Communications Security所提供的商用版本的開放原始碼方案。目前OpenSSH是OpenBSD的子計畫。OpenSSH常常被誤認以為與OpenSSL有關聯，但實際上這兩個計畫的有不同的目的，不同的發展團隊，名稱相近只是因為兩者有同樣的軟體發展目標──提供開放原始碼的加密通訊軟體。」 也就是說，我們在linux平台上快快樂樂使用的ssh，其實是所謂的openssh，也就是ssh的開放原始碼版本。ssh以及其加密原理不是本文所關心的議題，在本文中只關心ssh的基本應用。
aptitude install ssh sshfs denyhosts

02.ssh蕩劍十式簡介：
A.遠端登入：ssh </summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/7203985910831736502/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=7203985910831736502' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7203985910831736502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7203985910831736502'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/ssh1.html' title='[筆記]ssh蕩劍十式(1)'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_uj4HRyN9rzw/SaepSsLCUEI/AAAAAAAAAhM/6nZdbVqe29o/s72-c/sftp01.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-9184695200637117367</id><published>2009-02-25T16:41:00.003+08:00</published><updated>2009-02-25T16:54:13.948+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>監看系統sockets狀態</title><summary type='text'>發現一個很不錯的小程式可以快速的讓系統管理員監看系統的socket狀態：sockstat。
一般而言，系統管理原需要從netstat的資訊大海裡撈到想要的東西，在freebsd世界裡socket聽說已經行之有年了，有網友發現他已經被port到debian裡了！你可以直接安裝他！
aptitude install sockstat
分析一下他的用法：
-c:          顯示已連線的socket
-l:          顯示監聽中的socket。不加參數時，預設顯示-cl。
-h:          help
-p 8080:     指定port來顯示
-P 2340:     指定pid來顯示
-U maxsolar: 指定使用者
-G maxsolar: 指定群組簡單好用，跟大家分享。</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/9184695200637117367/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=9184695200637117367' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/9184695200637117367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/9184695200637117367'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/sockets.html' title='監看系統sockets狀態'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-1601943985165262078</id><published>2009-02-25T00:05:00.009+08:00</published><updated>2010-01-06T21:57:58.847+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>螢幕畫面錄影--xvidcap</title><summary type='text'>之前在moto學園的討論串，有網友詢問在linux下有沒有類似anicam的工具可以用，實際上是有一兩個替代方案；不過本文討論的是xvidcap，一個簡單的螢幕畫面錄影工具。
dpkg -l xvidcap || aptitude install xvidcap -yFig 1.把xvidcap叫出來的畫面。那個歪歪的...是compiz特效啦^_^|||
Fig 2.錄影前可以先拉大所要錄影的範圍。當然範圍越大，所耗的資源跟影像也會越大
(聽起來像廢話@@)

Fig 3.xvidcap是支援暫停的。按下停止，就會儲存剛剛的紀錄。
你可以在家目錄下找到test-0000.mpeg這個錄影檔。
Fig 4.利用totem播放剛剛的動作，剛好紀錄下我正在作Fig 2的screenshot的畫面。

其實還有透過vnc來作螢幕錄影的工具，不過實在沒有時間去嘗試；如果你有相關的紀錄或經驗，</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/1601943985165262078/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=1601943985165262078' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1601943985165262078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1601943985165262078'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/xvidcap.html' title='螢幕畫面錄影--xvidcap'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_uj4HRyN9rzw/SaQdQDPQ_eI/AAAAAAAAAgs/_i7Ukek8nSM/s72-c/01.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-2814652153540146964</id><published>2009-02-24T22:06:00.009+08:00</published><updated>2009-05-01T14:37:42.261+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>資源回收桶應用</title><summary type='text'>在windows xp裡，刪除了一個檔案(當然是指圖形下)，使用者可以很輕易的在資源回收桶裡找到該檔案並還原至原來的位置；however，我目前的gnome的環境已經到2.22，nautilus已經到2.20，竟然還是沒有實現原地回復的功能，必須要自己跑到垃圾桶下把檔案放到他應有的位置。在終端機環境裡，利用rm來刪除資料除了使用rm -i來多一層讓自己麻煩的問答外(特別是該目錄下有超過1000個檔案)，一旦刪除了就沒有後悔的餘地；偏偏刪除的當下認為可以刪除，過幾天後才後悔為什麼不留著...

本文分別提供圖形與文字介面的資源回收桶介紹，有誤刪檔案情況的朋友可以參考。

1.圖形介面的檔案回復：
nautilus沒辦法從垃圾桶復原當原來的位置，因此我們不考慮用他；我們使用在XFce的好用檔案管理員：thunar來當我們桌面環境的預設管理。
dpkg -l thunar || </summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/2814652153540146964/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=2814652153540146964' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/2814652153540146964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/2814652153540146964'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/blog-post_24.html' title='資源回收桶應用'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_uj4HRyN9rzw/SaQF6j6UmcI/AAAAAAAAAgc/4FbU8J8JatE/s72-c/01.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-8993297452470940325</id><published>2009-02-24T14:26:00.006+08:00</published><updated>2009-02-24T20:34:12.505+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>gromit螢幕畫筆</title><summary type='text'>在windows的世界裡，有一套免費的螢幕畫筆軟體叫做ZoomIt，這是個很輕巧而好用的小工具，不但可以支援畫筆，還可以支援輸入文字，放大螢幕等功能。很可惜在linux下沒有功能並駕齊驅的好用工具，不過最接近的，應該屬gromit(GRaphics Over MIscellaneous Things)莫屬了。
在Debian下，可以直接安裝呢！
dpkg -l gromit || aptitude install gromit -y
安裝完後，可以開啟一個command接受視窗(利用Alt+F2)，啟動gromit。此時的gromit在背景standby，想要使用畫筆快捷鍵整理如下：
pause key:    啟動/關閉gromit畫筆。(無法控制桌面)
ctrl+pause:   返回桌面控制狀態。(gromit畫筆還留在螢幕上)
shift+pause:  清除畫筆。(按一次清除後</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/8993297452470940325/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=8993297452470940325' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8993297452470940325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8993297452470940325'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/gromit.html' title='gromit螢幕畫筆'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_uj4HRyN9rzw/SaOXuwQ8bBI/AAAAAAAAAgM/VcTGf3-wY90/s72-c/Screenshot.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-5422588272520060051</id><published>2009-02-16T20:40:00.005+08:00</published><updated>2009-03-06T09:38:48.329+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='心情'/><title type='text'>成功大學校長致校友的一封信</title><summary type='text'>親愛的學長及成大朋友:

        元宵甫過，春蕊早開，大地一片欣欣向榮；祝您家庭美滿，事事順心。

    自去年以來，世界經濟面臨極淒厲的寒冬，台灣是國際社會的一份子，免不了受到影響；許多公司行號或減薪，或放無薪假，甚或裁員，倒閉關廠，局勢之嚴峻，可以想見。根據本校學生申請就學貸款及各項助學措施的資料顯示，本校學生家庭受到經濟不景氣影響的數目有明顯增加之趨勢。而未來數個月，台灣產業界可能面臨更嚴酷的考驗。

    我身為成功大學的校長，對於這樣的景氣，和大家一樣，也是憂心如焚。於是積極指示學校各單位，從不同面向協助學生，包括提供更多的獎助學金、工讀機會，以及急困濟助之資訊。我相信積極、適時的幫助學生，也就等於幫助了他們的家庭，幫助了社會。

    在這一波金融海嘯中，有許多成大校友也難免受影響。為照顧這些校友，我們已擬定了因應策略，來幫助職場上被解僱而失業的校友，</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/5422588272520060051/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=5422588272520060051' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5422588272520060051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5422588272520060051'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/blog-post_16.html' title='成功大學校長致校友的一封信'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-5514215192290812569</id><published>2009-02-16T09:09:00.007+08:00</published><updated>2009-02-16T10:05:11.865+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>Forecast 附加元件-選擇位置</title><summary type='text'>Forecast是在firefox上很有名的天氣預報的附加元件。我安裝的附加元件是Forecastbar Enhanced，不過有時會有找不到某都市的locale代碼。這時候可以參考
http://weather.yahoo.com/Taiwan/TWXX/regional.html
所提供的資訊，列出了我們台灣大部分的都市代碼。
Chi-lung      －基隆 －TWXX0003
Tan-shui      －淡水 －TWXX0024
Taipei        －台北 －TWXX0021
T'aipeihsien  －台北縣 －TWXX0022
Hsin-tien     －新店 －TWXX0010
Su-ao         －蘇澳 －TWXX0016
T'ao-yuan     －桃園 －TWXX0025
Hsin-chu      －新竹 －TWXX0009
Miao-li</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/5514215192290812569/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=5514215192290812569' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5514215192290812569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5514215192290812569'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/forecast.html' title='Forecast 附加元件-選擇位置'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-3771825836402845406</id><published>2009-02-12T17:22:00.003+08:00</published><updated>2009-02-12T23:51:00.146+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java範例'/><title type='text'>Java小練習(16)--關於字串</title><summary type='text'>題目要求：
撰寫一個名為Dog的class，並使其含有兩個公開的String : name以及says。在main()中分產生兩個Dog的物件，並將其命名為"spot"，says值為"Ruff!"、以及"scruff"，says值為"Wuff!"。印出他們的name以及says。
接著產生Dog的reference並且將他指派到表示spot的物件，分別使用"=="以及".equels()"來比降所有的reference。

------------- code starts ------------------
public class Dog {

   public String name;
   public String says;

   public static void main(String[] args) {
       Dog d1 = new Dog();
</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/3771825836402845406/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=3771825836402845406' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3771825836402845406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3771825836402845406'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/java16.html' title='Java小練習(16)--關於字串'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-8332711460759719762</id><published>2009-02-10T11:17:00.004+08:00</published><updated>2009-02-12T23:51:15.373+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java範例'/><title type='text'>Java小練習(15)--break與continue練習</title><summary type='text'>break與continue搭配label來控制迴圈是很有趣的方法，我經常用他來判斷自己的想法正不正確。
我作一個巢狀迴圈，外迴圈跑6次，內迴圈跑4次，加入continue跟break來看看會發生甚麼有趣的事情。
--------- example 1 -----------
public class LoopTest {

  public static void main(String[] args) {
      byte i, j;

      L1:
      for (i = 1; i &lt;= 6; i++) {             System.out.print("i=" + i);             System.out.print("\t");             continue L1;
          L2:
          for (j</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/8332711460759719762/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=8332711460759719762' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8332711460759719762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8332711460759719762'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/java15-breakcontinue.html' title='Java小練習(15)--break與continue練習'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-7283462607403072839</id><published>2009-02-10T09:45:00.002+08:00</published><updated>2009-02-10T10:07:28.364+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java範例'/><title type='text'>Java小練習(14)--二維陣列</title><summary type='text'>從練習13，我們作一個轉換：請印出下列表格：

289169812513241961003643612251214994002561446416
可以發現這是練習13順時針旋轉90度。但是我們從1~400給值必須從
[0][4]-&gt;[1][4]-&gt;[2][4]-&gt;[3][4]-&gt;換列
[0][3]-&gt;[1][3]-&gt;[2][3]-&gt;[3][3]-&gt;換列
[0][2]-&gt;[1][2]-&gt;[2][2]-&gt;[3][2]-&gt;換列
[0][1]-&gt;[1][1]-&gt;[2][1]-&gt;[3][1]-&gt;換列
[0][0]-&gt;[1][0]-&gt;[2][0]-&gt;[3][0]-&gt; end
值給定之後，就可以依序列印。
------------ code starts --------------------------
public class ArrayAssign2 {

    public static </summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/7283462607403072839/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=7283462607403072839' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7283462607403072839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/7283462607403072839'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/java14.html' title='Java小練習(14)--二維陣列'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-3089063708416678358</id><published>2009-02-10T08:41:00.002+08:00</published><updated>2009-02-10T08:58:12.870+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java範例'/><title type='text'>Java小練習(13)--二維陣列</title><summary type='text'>利用迴圈印出如下的排列：
129162536496481100121144169196225256289324361400由上表可以觀察出每個數字分別是由陣列[0][0]到[4][3]依序填入1~20的平方。只要我們能依序填入1~20，就有辦法填入他們的平方。

-------------- code starts -----------------------
public class ArrayAssign1 {

    public static void main(String[] args) {
        int[][] aa = new int[5][4]; //建立一個5x4陣列

        int num = 1;
        for (int r = 0; r &lt; aa.length; r++) {
            for (int c = 0</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/3089063708416678358/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=3089063708416678358' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3089063708416678358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3089063708416678358'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/java13.html' title='Java小練習(13)--二維陣列'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-5298448911075033234</id><published>2009-02-09T15:59:00.001+08:00</published><updated>2009-02-09T16:09:32.925+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java範例'/><title type='text'>Java小練習(12)--二維陣列</title><summary type='text'>根據Java小練習(11)，我們用兩個一維陣列來完成。如果我們把程式碼改寫成一個二維陣列，寫法會比較靈活！

public class ArrayTest3 {

    public static void main(String[] args) {
        //data[月份][銷售業績]，12x2的陣列
        int[][] data = { {1, 16}, {2, 15}, {3, 13}, {4, 11}, {5, 10}, {6, 10},
                                {7, 8}, {8, 7}, {9, 4}, {10, 3}, {11, 1}, {12, 0} };

        System.out.println("Microsoft vista九十七年度銷售業績");
        </summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/5298448911075033234/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=5298448911075033234' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5298448911075033234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5298448911075033234'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/java12.html' title='Java小練習(12)--二維陣列'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-8060665425397680166</id><published>2009-02-09T00:03:00.005+08:00</published><updated>2009-02-09T22:11:08.362+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java範例'/><title type='text'>Java小練習(11)</title><summary type='text'>題目要求：印出如下表格:
Microsoft vista九十七年度銷售業績
    月份     業績
    ------  ------------------------------------------
    1
    2         ********
    3         *******
    4         *************
    5         *********
    6         ************
    7         **********
    8         ********
    9         **************
    10        *************
    11        **************
    12        **************</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/8060665425397680166/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=8060665425397680166' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8060665425397680166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/8060665425397680166'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/java11.html' title='Java小練習(11)'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-4552377452390308710</id><published>2009-02-08T23:28:00.008+08:00</published><updated>2009-02-13T09:25:38.841+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java範例'/><title type='text'>Java小練習(10) -- 亂數小練習</title><summary type='text'>題目要求1：產生六個相鄰兩數不重複的亂數，亂數值介於1~100之間，並印出來。
想法：相鄰兩數不重複，可以用if作判斷；作六次可以用while來控制。
public class RandomTest {

    public static void main(String[] args) {
        byte temp = 0;
        byte count = 0;
        RandomTest ob1 = new RandomTest();
        temp = ob1.getRandom();
        count++;
        System.out.println("第" + count + "次的亂數值為" + temp);

        label:
        while (count &lt; 6) {
</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/4552377452390308710/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=4552377452390308710' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4552377452390308710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/4552377452390308710'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/java10.html' title='Java小練習(10) -- 亂數小練習'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-3881931686761523947</id><published>2009-02-08T21:26:00.004+08:00</published><updated>2010-03-04T23:22:08.296+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='生活與常識'/><title type='text'>[轉載]各類塑膠的耐熱性</title><summary type='text'>前幾天老婆叫我找看看2號塑膠是否能夠耐約70~80度C的溫度；我找到了Josh大大所整理的部落格：
塑膠容器編號

耐熱性：

一 號：PET（聚乙烯對苯二甲酸脂）也就是寶特瓶。
特 性：耐熱至70℃，勿長期使用。

二 號：HDPE（高密度聚乙烯）常見於牛奶瓶、果汁瓶。
特 性：耐熱至120℃，是相對穩定的材質。

三 號：PVC（聚氯乙烯）目前的礦泉水瓶。
特 性：耐熱至70℃，環保署已宣布逐步禁用。

四 號：LDPE（低密度聚乙烯）牙膏、洗面乳、乳液瓶等。
特 性：耐熱至80℃

五 號：PP（聚丙烯）便利商店的咖啡瓶，例如x岸咖啡的瓶子。
特 性：耐熱至135℃，是相對穩定的材質

六 號：PS（聚苯乙烯）若是發泡聚苯乙烯即為俗稱之「保麗龍」分為發泡及未發泡兩類。發泡即是一般常見的保麗龍器具，未發泡的如養樂多瓶。
特 性：耐熱至90℃

七 號：其他
特 性：常見材質為聚碳酸脂</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/3881931686761523947/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=3881931686761523947' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3881931686761523947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/3881931686761523947'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/blog-post_08.html' title='[轉載]各類塑膠的耐熱性'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-1666111215202635596</id><published>2009-02-05T17:02:00.005+08:00</published><updated>2009-02-06T10:37:12.792+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BASH'/><title type='text'>bash練習(1)--大小寫互換</title><summary type='text'>很多人換大小寫會用程式語言來作，不過我覺得殺雞焉用牛刀，恰好也該開始練習shell script了！

#!/bin/bash

read -p "請輸入: 1.大轉小 2.小轉大 3.指定轉換副檔名: " choice

case "$choice" in
1) for file in *
do
  lower=`echo "$file" | tr [:upper:] [:lower:]`
  [ "$file" != "$lower" ] &amp;&amp;
  mv "$file" "$lower"
done
echo "轉換完成！"
ls
exit 0
;;

2) for file in *
do
  upper=`echo "$file" | tr [:lower:] [:upper:]`
  [ "$file" != "$upper" ] &amp;&amp;
  mv "$file" "$upper"</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/1666111215202635596/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=1666111215202635596' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1666111215202635596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1666111215202635596'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/bash.html' title='bash練習(1)--大小寫互換'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-6315059539391969161</id><published>2009-02-05T01:08:00.021+08:00</published><updated>2009-02-05T08:39:47.632+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='心情'/><title type='text'>臉部運動大變身+豬哥亮的歌廳秀</title><summary type='text'>據說自暴其短可以帶來好運！前幾天在北門路的蘋果電腦賣場看到photo booth的拉伸特效，看了實在忍不住多拍幾張；很醜的哩！就讓大家笑笑吧！

## 臉部運動開始 ##
Fig 1.我的人中比李登輝還長吧！(其實比較像喜憨兒)

Fig 2.我的大鋼牙很強壯吧！

Fig 3.我的表情很賤吧！！


Fig 4.我的三角臉！下巴很尖吧！

Fig 4-1. 我失散多年的兄弟！

Fig 5.瞧！瞧瞧我修長的手指跟下巴！(茶)

Fig 6.我的臉像不像復活島的石像呢？(兔齒版)

Fig 6-1. 另一個兄弟比較帥(煙~)

Fig 7.我的臉像不像復活島的石像呢？(人齒版)

Fig 8.我的臉像不像復活島的石像呢？(厚道版)

Fig 8-1. 這個哥哥更帥

Fig 9.別告訴我你沒有吃過萬歲牌堅果！

我也曾經是正常的好男兒的！只是偶爾需要扮演一下豬哥亮賺點外快！

</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/6315059539391969161/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=6315059539391969161' title='3 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/6315059539391969161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/6315059539391969161'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/blog-post_05.html' title='臉部運動大變身+豬哥亮的歌廳秀'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_uj4HRyN9rzw/SYnNFI1Ff7I/AAAAAAAAAeM/AyoOsGueFbU/s72-c/DSC00482.JPG' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-1191969139619222643</id><published>2009-02-04T09:09:00.008+08:00</published><updated>2009-08-30T12:38:06.113+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='心情'/><title type='text'>[一代聖僧]聖嚴法師</title><summary type='text'>一代聖僧--聖嚴法師於台灣時間2009年2月3日下午四時圓寂了。老和尚瀟灑的來，也瀟灑的去。
我很感謝老和尚所成立的法鼓山，讓我第一次接觸禪宗跟禪學，如此的美麗，也如此的率真。2002年我第一次參加法鼓山所舉辦的大專禪七，聖嚴師父所給我們的教導既風趣又實用，我也在當時馬上就體認到我自己所要的就是這樣的禪法！於是在禪七結束之後皈依，終於成為佛弟子。
我印象中的聖嚴師父總是非常纖瘦，總是覺得師父營養不良；但是他總是有一種安穩的微笑，沉著的態度，說法時專注不二的定，以及帶領我們禪坐時的慈悲。很幸運的，聖嚴法師選擇來到了台灣，弘法給台灣的百姓；也很高興師父並沒有像其他法師一樣如此偏袒中國、偏袒國民黨；無論藍綠，師父都一樣給予懇切的建議，不在乎他是吳伯雄馬英九，也不在乎他是不是貪污的陳水扁，師父所見都是需要幫助的眾生，所有眾生都是未來佛；以此菩薩心境打造人間佛教，真的是台灣的大福氣！

師父走了，</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/1191969139619222643/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=1191969139619222643' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1191969139619222643'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/1191969139619222643'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/blog-post.html' title='[一代聖僧]聖嚴法師'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_uj4HRyN9rzw/SYjxs7Qgf3I/AAAAAAAAAc0/VsgzFv2hboM/s72-c/%E8%99%9B%E7%A9%BA%E6%9C%89%E7%9B%A1%E6%88%91%E9%A1%98%E7%84%A1%E7%AA%AE.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6025786762833970513.post-5467799705384692630</id><published>2009-02-04T01:38:00.004+08:00</published><updated>2010-03-26T16:16:08.013+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenSuSE'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>OpenSuSE的vim變黑白了</title><summary type='text'>這真是可怕的事情！黑白的vim就是黑白的人生阿！看看我們的vim：
zypper se vim
S | Name         | Summary                                          | Type    
--+--------------+--------------------------------------------------+-----------
 | avimanager   | Manage your (large) movie (DVD,DivX,(S)VCD) co-&gt; | package 
 | avimanager   | Manage your (large) movie (DVD,DivX,(S)VCD) co-&gt; | srcpackage
 | gvim         | A GUI for Vi</summary><link rel='replies' type='application/atom+xml' href='http://maxubuntu.blogspot.com/feeds/5467799705384692630/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6025786762833970513&amp;postID=5467799705384692630' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5467799705384692630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6025786762833970513/posts/default/5467799705384692630'/><link rel='alternate' type='text/html' href='http://maxubuntu.blogspot.com/2009/02/opensusevim.html' title='OpenSuSE的vim變黑白了'/><author><name>Jim T. Tang</name><uri>https://profiles.google.com/113195355494792800479</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-kQCHK_o58r4/AAAAAAAAAAI/AAAAAAAABqU/Iy9VPGH8lZA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry></feed>
