<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-4796470019675546757</atom:id><lastBuildDate>Thu, 19 Dec 2024 05:46:33 +0000</lastBuildDate><category>linux</category><category>ubuntu</category><category>筆記</category><category>fix</category><category>整理分析</category><category>網頁程式設計</category><category>hangout</category><category>視訊程式</category><category>C 語言</category><category>Conf</category><category>Ruby on Rails</category><category>資料結構</category><title>迪蘭帝的聊天室</title><description></description><link>http://dylandychat.blogspot.com/</link><managingEditor>noreply@blogger.com (Anonymous)</managingEditor><generator>Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4796470019675546757.post-6945653961533894991</guid><pubDate>Fri, 24 Jan 2014 17:06:00 +0000</pubDate><atom:updated>2014-01-24T09:06:07.868-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">fix</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>【Ubuntu/Linux】文字檔編碼轉換</title><description>&lt;html&gt;
  &lt;head&gt;
    &lt;meta charset=&#39;utf-8&#39;&gt;
    &lt;meta content=&#39;author&#39; name=&#39;Dylandy Chang&#39;/&gt;
    &lt;meta content=&#39;keywords&#39; name=&#39;change text encoding in linux&#39;/&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div style=&#39;font-size:15px&#39;&gt;
        相信很多人在開啟一些「來路不明」的文字檔的時候，常常會有編碼錯誤，造成的亂碼現象，而要解決這樣的問題也很簡單，我們只需要先辨識出原本的編碼，再使用相對應的編碼進行開啟就行了，
        或是，為了方便以後的開啟使用，辨識編碼以後，使用將文件使用另外一種編碼進行重新儲存也是另外一種不錯的作法。&lt;br&gt;&lt;br&gt;
        &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
         &lt;a href=&quot;http://ppt.cc/hCkw&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://ppt.cc/hCkw&quot; /&gt;&lt;/a&gt;
        &lt;/div&gt;
        &lt;div style=&#39;text-align:center;font-size:13px&#39;&gt;對於未知編碼的檔案，開啟亂碼&lt;/div&gt;
    &lt;/div&gt;
    &lt;div style=&#39;font-size:15px&#39;&gt;
        &lt;h2&gt;偵測編碼&lt;/h2&gt;
        一般我們可以使用 &quot;file&quot; 這個程式來檢查目標檔案的編碼為何，但是當目標對象是中文的時候，問題就便得很複雜了。&lt;br&gt;&lt;br&gt;
       &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
         &lt;a href=&quot;http://ppt.cc/79bj&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://ppt.cc/79bj&quot; /&gt;&lt;/a&gt;
       &lt;/div&gt;
       我們得到了 &quot;Non-ISO extended-ASCII text, with CRLF line terminators&quot; ，意思為：非 ISO 規範的延伸 ASCII 文字，我們可以如此翻譯「這個文字的編碼超過 8 位元，其他的我不知道，不認識。」
       那這樣怎麼辦，此路不通，只好換條路來走。&lt;br&gt;
       推薦大家使用另一個可以偵測編碼的程式 &quot;enca&quot; 這個程式在 Ubuntu 中預設是沒有安裝的，請輸入&lt;br&gt;
       &lt;code style=&#39;color:red;background:white;padding:0 5px;border-radius:5px&#39;&gt;sudo apt-get install enca&lt;/code&gt; 進行安裝。&lt;br&gt;&lt;br&gt;
       &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
          &lt;a href=&quot;http://ppt.cc/YLPo&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://ppt.cc/YLPo&quot; /&gt;&lt;/a&gt;
       &lt;/div&gt;
       &lt;div style=&#39;text-align:center;font-size:13px&#39;&gt;我們可以看到 enca 順利的找到字型了。&lt;/div&gt;
    &lt;/div&gt;
    &lt;div style=&#39;font-size:15px&#39;&gt;
       &lt;h2&gt;開啟及更改編碼&lt;/h2&gt;
       開啟終端機輸入 &lt;code style=&#39;color:red;background:white;padding:0 5px;border-radius:5px&#39;&gt;gedit --encoding=gb2312 test.srt&lt;/code&gt;，若是仍舊會亂碼，則將 gb2312 改成 gbk，就可以了&lt;br&gt;&lt;br&gt;
       &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
          &lt;a href=&quot;http://ppt.cc/kBy-&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://ppt.cc/kBy-&quot; /&gt;&lt;/a&gt;
       &lt;/div&gt;
       成功開啟檔案以後，就可以另存新檔，將目前的編碼改成 &quot;UTF-8&quot;(預設) ，方便以後使用。
    &lt;/div&gt;
  &lt;/body&gt;
&lt;/html&gt;</description><link>http://dylandychat.blogspot.com/2014/01/ubuntulinux.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4796470019675546757.post-4638590145479195621</guid><pubDate>Fri, 08 Nov 2013 17:28:00 +0000</pubDate><atom:updated>2013-11-08T09:29:31.613-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">Ruby on Rails</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><category domain="http://www.blogger.com/atom/ns#">筆記</category><title>在 Ubuntu 下透過 RVM 安裝 Ruby on Rails</title><description>&lt;html&gt;
   &lt;head&gt;
       &lt;meta charset=&#39;utf-8&#39;/&gt;
       &lt;meta name=&#39;author&#39; content=&#39;Dylandy Chang&#39;/&gt;
       &lt;meta name=&#39;keyword&#39; content=&#39;install ruby on ubuntu&#39;/&gt;
   &lt;/head&gt;
    &lt;body&gt;
         &lt;div class=&#39;para&#39;&gt;
               做個筆記，每次要裝都跑去別人那邊看（掩面）
          &lt;/div&gt;&lt;br&gt;
          &lt;div class=&#39;para&#39;&gt;
               Ruby on Rails 是一個好用的網路應用程式開發框架，透過 Ruby 程式語言的直覺性，讓網路應用程式的開發相對於傳統的程式語言，如 php 、Java ...等，
               能夠有較好的開發效率，使用 &lt;a href=&#39;http://zh.wikipedia.org/wiki/MVC&#39;&gt; MVC 架構&lt;/a&gt; 為概念，讓開發者在開發網路應用程式上更能專注在邏輯的撰寫上，
               不會有太過複雜的界面與邏輯的交織。
           &lt;/div&gt;&lt;br&gt;
          &lt;div class=&#39;para&#39;&gt;
               廢話一大堆，下面我們開始說明怎麼在 Ubuntu 上透過 RVM 安裝 Ruby on Rails 吧。
           &lt;/div&gt;&lt;br&gt;
              &lt;h2&gt;第一步驟 - 使用 RVM 安裝 Ruby&lt;/h2&gt;&lt;hr&gt;
          &lt;div class=&#39;para&#39;&gt;
                先將我們的軟體來源列表更新，確保我們待會下載的程式都是最新版的，也把可以更新的程式都先更新一下吧。&lt;br&gt;&lt;br&gt;
                &lt;div style=&quot;background-color:grey;color:white;font-size:22px;line-height:2;font-weight:bold;border-radius:3px&quot;&gt;
                    sudo apt-get update&lt;br&gt;
                    &lt;div&gt;sudo apt-get upgrade&lt;/div&gt;
           &lt;/div&gt;&lt;br&gt;
                更新完成以後，我們就能開始安裝 RVM ( Ruby Version Manager )，這個程式可以很方便的讓我們在不同的 Ruby 版本間作切換，
                以下我們只會安裝最新的版本，如果想要安裝其他的版本，可以參考&lt;a href=&#39;http://ppt.cc/ef5Q&#39;&gt;這個文章&lt;/a&gt; 。&lt;br&gt;
                我們會需要用到 &lt;code&gt;curl&lt;/code&gt; 這個工具來幫助我們安裝 RVM ，所以還沒安裝過&lt;code&gt;curl&lt;/code&gt; 的朋友請先安裝&lt;code&gt;curl&lt;/code&gt; 。&lt;br&gt;&lt;br&gt;
                &lt;div style=&quot;background-color:grey;color:white;font-size:22px;line-height:2;font-weight:bold;border-radius:3px&quot;&gt;
                    sudo apt-get install curl
                 &lt;/div&gt;&lt;br&gt;
                安裝 RVM，請輸入：&lt;br&gt;
                &lt;div style=&quot;background-color:grey;color:white;font-size:22px;line-height:2;font-weight:bold;border-radius:3px&quot;&gt;
                   \curl -L https://get.rvm.io | bash -s stable
                &lt;/div&gt;&lt;br&gt;
                當安裝完成以後，載入 RVM。或許你需要將目前所處於的 shell 關閉，並重開一個新的 shell。&lt;br&gt;
                &lt;div style=&quot;background-color:grey;color:white;font-size:22px;line-height:2;font-weight:bold;border-radius:3px&quot;&gt;
                   source ~/.rvm/scripts/rvm
                &lt;/div&gt;&lt;br&gt;
                RVM 還有一些需要的依賴程式需要安裝，輸入下面這個指令可以自動安裝 RVM 所需的相關程式&lt;br&gt;
                 &lt;div style=&quot;background-color:grey;color:white;font-size:22px;line-height:2;font-weight:bold;border-radius:3px&quot;&gt;
                   rvm requirements
                 &lt;/div&gt;&lt;br&gt;
                你或許需要在安裝這些相依程式的時候需要輸入密碼。&lt;br&gt;
                在某些偶然的情況下，有可能 zlib 會回報 miss。RVM 的官方網站提供了此問題的&lt;a href=&#39;https://rvm.io/packages/zlib/&#39;&gt;解法&lt;/a&gt;
                ，如果出現類似的問題的話，請詳閱。&lt;br&gt;
               &lt;/div&gt;&lt;br&gt;
               &lt;h2&gt;第二步驟 - 安裝 Ruby&lt;/h2&gt;&lt;hr&gt;
               &lt;div class=&#39;para&#39;&gt;
                  已經安裝好 RVM 的話，那麼安裝 Ruby 就變得很簡單了。&lt;br&gt;
                 &lt;div style=&quot;background-color:grey;color:white;font-size:22px;line-height:2;font-weight:bold;border-radius:3px&quot;&gt;
                     rvm install ruby
                  &lt;/div&gt;&lt;br&gt;
                  我們已經安裝好最新版的 Ruby 了，但是因為我們是透過一個管理不同版本的程式來使用 Ruby 的，
                  我們需要告訴系統我們現在想要使用哪一個版本的 Ruby 當作預設值。&lt;br&gt;
                 &lt;div style=&quot;background-color:grey;color:white;font-size:22px;line-height:2;font-weight:bold;border-radius:3px&quot;&gt;
                     rvm use ruby --default
                 &lt;/div&gt;&lt;br&gt;
               &lt;/div&gt;
               &lt;h2&gt;第三步驟 - 安裝 RubyGems&lt;/h2&gt;&lt;hr&gt;
               &lt;div class=&#39;para&#39;&gt;
                  這個步驟是為了確保我們有正確安裝 Ruby on Rails 所需的所有 Gems ，如此一來 Rails 才能正確執行。我們可以透過
                  RVM 來繼續安裝 RubyGems 。&lt;br&gt;
                 &lt;div style=&quot;background-color:grey;color:white;font-size:22px;line-height:2;font-weight:bold;border-radius:3px&quot;&gt;
                    rvm rubygems current
                  &lt;/div&gt;
                &lt;/div&gt;&lt;br&gt;
                &lt;h2&gt;第四步驟 - 安裝 Rails&lt;/h2&gt;&lt;hr&gt;
                &lt;div class=&#39;para&#39;&gt;
                  當上面步驟都完成以後，現在我們可以安裝 Rails 了。&lt;br&gt;
                  &lt;div style=&quot;background-color:grey;color:white;font-size:22px;line-height:2;font-weight:bold;border-radius:3px&quot;&gt;
                      gem install rails
                  &lt;/div&gt;&lt;br&gt;
                  Rails 的安裝會需要一段時間，當完成以後，你的電腦上就有完整的 Ruby on Rails 摟。&lt;br&gt;
               &lt;/div&gt;

               &lt;h3&gt;參考資料&lt;/h3&gt;
               &lt;div class=&#39;para&#39;&gt;
                   Etel Sverdlov - &lt;a href=&#39;http://ppt.cc/qkSj&#39;&gt;How To Install Ruby on Rails on Ubuntu 12.04 LTS (Precise Pangolin) with RVM&lt;/a&gt;
               &lt;/div&gt;
        &lt;/body&gt;
&lt;/html&gt;</description><link>http://dylandychat.blogspot.com/2013/11/ubuntu-rvm-ruby-on-rails.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4796470019675546757.post-3240802874788663712</guid><pubDate>Mon, 07 Oct 2013 06:19:00 +0000</pubDate><atom:updated>2013-10-06T23:19:41.577-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">fix</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><category domain="http://www.blogger.com/atom/ns#">筆記</category><title>【Ubuntu / Linux】 使用 Chrome 時 Flash 字體出錯問體解決</title><description>&lt;!Doctype html&gt;
&lt;html&gt;
   &lt;head&gt;
       &lt;meta charset=&#39;utf-8&#39;/&gt;
       &lt;meta content=&#39;author&#39; name=&#39;dylandy&#39;/&gt;
       &lt;link rel=&quot;stylesheet&quot; href=&quot;http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css&quot;&gt;   
   &lt;/head&gt;
   &lt;body&gt;
         &lt;div class=&#39;para&#39;&gt;
              嘛，這篇文章很久以前就想寫了，但是想說或許會有更好的解法，所以就一直放著，但是看到現在好像 Google 官方沒有給答案，
              那麼就只好把原本的解法寫出來給大家參考吧。
               &lt;blockquote&gt;
                  &lt;a href=http://ppt.cc/TMrj&#39;&gt;http://ppt.cc/TMrj&lt;/a&gt;
                &lt;/blockquote&gt;
          &lt;/div&gt;&lt;br&gt;
          &lt;div class=&#39;para&#39;&gt;
             相信在用 Linux 的朋友們一定會感到困惑，為什麼明明用 Firefox 的時候 Flash 所顯示的 UTF-8 字體就很正常，但是在 chrome 下卻會
             有問題，而在 chromium 下卻奇蹟似的又沒有問題，這到底是有什麼玄機呢？其實跟有沒有這個字型沒什麼關係，相信各位使用中文 Linux 
             的大家，電腦裏面應該都已經裝了&lt;b&gt;文泉譯&lt;/b&gt;...之類的中文字型，而程式在使用這些字型的相關設定一般都存放在系統的
              &lt;code&gt;/etc/fonts/config.d&lt;/code&gt;，一般是不會去這邊設定的，網路上真有人跑去設定這個orz，不要設定的比較好，萬一出事了，麻煩可就大了。&lt;br/&gt;
              &lt;a href=&quot;http://ppt.cc/O1fm&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; width=&#39;700px&#39;  src=&quot;http://ppt.cc/O1fm&quot; /&gt;&lt;/a&gt;
          &lt;/div&gt;&lt;br/&gt;
          &lt;div class=&#39;para&#39;&gt;
             嘛，解決方式其實很簡單，在 chrome 的網址列輸入 &lt;code&gt;chrome://plugins&lt;/code&gt;&lt;br/&gt;
             &lt;a href=&quot;http://ppt.cc/MwD5&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;http://ppt.cc/MwD5&quot; width=&#39;700px&#39; /&gt;&lt;/a&gt;&lt;br/&gt;
             可以進入插入元件的設定頁面，頁面開啟以後，將右上角的&lt;code&gt;[+] 詳細資訊&lt;/code&gt;開啟&lt;br/&gt;
             &lt;a href=&quot;http://ppt.cc/a3qj&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;http://ppt.cc/a3qj&quot;  width=&#39;700px&#39;/&gt;&lt;/a&gt;&lt;br/&gt;
             找到 Flash Player 的部份，我們可以找到有兩個不同的 Flash Player，分別的路徑為：&lt;code&gt;/opt/google/chrome/PepperFlash/libpepflashplayer.so
&lt;/code&gt; 及 &lt;code&gt;/usr/lib/flashplugin-installer/libflashplayer.so&lt;/code&gt;，其中，PepperFlash 為 chrome 內建的 Flash Player 和我們自己所安裝的 Flash Player
              有所不同，這個 Flash Player 在指定字型的時候路徑方面出了點問題，而且透過 Google 搜尋，我們可以發現，這個 Flash Player 對字型的處理比原生的
              Flash Player 還要來的差了一點，在字體寬度、介面處理上，渲染的有些偏差，所以透過停用這個插件，我們就可以使用我們所安裝的原生 Flash Player 了。
              &lt;br/&gt;&lt;a href=&quot;http://ppt.cc/G5Uv&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;http://ppt.cc/G5Uv&quot;  width=&#39;700px&#39;/&gt;&lt;/a&gt;
          &lt;/div&gt;
          &lt;div class=&#39;para&#39;&gt;
            結果：&lt;br/&gt;
           &lt;a href=&quot;http://ppt.cc/at2W&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;http://ppt.cc/at2W&quot;  width=&#39;700px&#39;/&gt;&lt;/a&gt;
          &lt;/div&gt;
    &lt;/body&gt;
&lt;/html&gt;</description><link>http://dylandychat.blogspot.com/2013/10/ubuntu-linux-chrome-flash.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4796470019675546757.post-3156161657876912145</guid><pubDate>Fri, 06 Sep 2013 17:58:00 +0000</pubDate><atom:updated>2013-09-07T08:38:16.492-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">fix</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>【Ubuntu 13.04】使用 cron 進行批次作業</title><description>&lt;html&gt;
&lt;head&gt;
  &lt;meta charset=&#39;utf-8&#39;/&gt;
  &lt;link rel=&quot;stylesheet&quot; href=&quot;//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css&quot;/&gt;
  &lt;style&gt;
    .para{
     text-indent:25px;
     color:white;
    }
  &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
   &lt;div class=&#39;para&#39;&gt;
      &lt;p&gt;
        許多人在使用電腦的時候都會有這樣的想法：這台我花了這麼多錢買來的電腦，能不能讓它在一天 24 小時都全力的工作，將
        &lt;font color=&#39;red&#39;&gt;
            資源的利用度提高到最高
        &lt;/font&gt;，這樣花的錢才值得。所以很多人開始觀察使用者如何使用電腦，嘗試著去從使用者的角度來改善資源利用率，
        喔，我們發現，在白天上班時間，電腦會被大多數人所使用，資源的利用度很不錯，電腦很繁忙，但是當下班以後，因為公司的人都回家了，
        雖然電腦還是持續在運作，但是實際上他並沒有進行產出，若是我們能讓他做些什麼東西，就可以改善、提高資源的利用度，增加產出，
        在以前使用 windows 平台的經驗，許多人可能會使用 bat 批次檔來進行處理，然後寫個小程式讓這個批次檔能在準確的時間運作，而在轉到
        Linux 平台以後，有些人也會惜慣性的使用類似的方法使用 shell script 加上一個定時執行的小程式來進行批次作業的處理。
        事實上，Unix-like 平台提供了一個更方便的方法，讓我們來管理批次作業，那就是&lt;strong&gt;&lt;a href=&#39;http://zh.wikipedia.org/wiki/Cron&#39;&gt;cron&lt;/a&gt;&lt;/strong&gt;。
      &lt;/p&gt;
   &lt;/div&gt;
   &lt;div class=&#39;para&#39;&gt;
     &lt;p&gt;
       因為小弟我是使用 &lt;a href=&#39;www.ubuntu.com&#39;&gt;Ubuntu&lt;/a&gt; 作為常用的系統，本篇會以 Ubuntu 的角度來討論如何使用 cron 這個服務。
       cron 的使用其實很簡單，只要遵守以下的規則，就能將自己的程式批次處理了。
       cron 的設定檔一般放在&lt;code&gt;/etc&lt;/code&gt; 資料夾下，檔名為 &lt;code&gt;crontab&lt;/code&gt;，因為是系統相關設定，所以我們需要使用系統管理員身份執行。&lt;br/&gt;
       &lt;strong&gt;相關格式：&lt;/strong&gt;
       &lt;pre&gt;
        &lt;br/&gt;
        #  ——分鍾 (0 - 59) &lt;br/&gt;
        # |  ——小時 (0 - 23) &lt;br/&gt;
        # | |  ——日   (1 - 31) &lt;br/&gt;
        # | | |  ——月   (1 - 12) &lt;br/&gt;
        # | | | |  ——星期 (0 - 7)（星期日=0或7）&lt;br/&gt;
        # | | | | | &lt;br/&gt;
        # * * * * * 被執行的命令 &lt;br/&gt;
       &lt;/pre&gt;
       上面是在 crontab 裏面所使用到的時間格式，需要注意的是，使用&lt;code&gt;*&lt;/code&gt;表示任何可能的值，如果在小時的區域裡填入，則代表每個小時執行一次。
       &lt;br/&gt;&lt;font color=&#39;red&#39;&gt;特別小心：時間間格需要比程式執行的時間還要長，以免發生資料衝突的問題。&lt;/font&gt;&lt;br/&gt;
     &lt;/p&gt;
     &lt;p&gt;
      以下為 Ubuntu 預設的 crontab 設定，會進行一些更新方面的確認，以及系統的問題回報。&lt;br/&gt;
      &lt;a href=&quot;http://ppt.cc/wSf2&quot; imageanchor=&quot;1&quot; &gt;
               &lt;img border=&quot;0&quot; src=&quot;http://ppt.cc/wSf2&quot; width=&#39;500&#39;/&gt;
      &lt;/a&gt;
      你可以自由的加入自己的程式，只要依照格式撰寫，並注意時間的部份，就可以了，最後在編輯好這個檔案以後，請重開 cron 服務。&lt;br/&gt;
      到 &lt;code&gt;/etc/init.d&lt;/code&gt; 輸入&lt;code&gt;sudo service cron restart&lt;/code&gt; 將服務重開，即可更新你剛剛
      編輯的 crontab 檔案了。&lt;br/&gt;
      &lt;a href=&quot;http://ppt.cc/ZeKI&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; width=&#39;500&#39; src=&quot;http://ppt.cc/ZeKI&quot; /&gt;&lt;/a&gt;
     &lt;/p&gt;
   &lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</description><link>http://dylandychat.blogspot.com/2013/09/ubuntu-1304-cron.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4796470019675546757.post-1216687286646299412</guid><pubDate>Tue, 27 Aug 2013 18:10:00 +0000</pubDate><atom:updated>2013-09-07T08:32:52.825-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">fix</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><category domain="http://www.blogger.com/atom/ns#">筆記</category><title>啟動 Gnome Shell 3.8 應用程式分類 </title><description>&lt;html&gt;
&lt;head&gt;
  
  &lt;style&gt;
    .para p{
       text-indent:20px;
     }
  &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div class=&quot;para&quot;&gt;
           &lt;p&gt;
             最近因為對&lt;a href=&quot;http://www.ubuntu.com/&quot;&gt;Ubuntu&lt;/a&gt; 的 &lt;a href=&quot;http://en.wikipedia.org/wiki/Unity_(user_interface)&quot;&gt;Unity&lt;/a&gt;
             感到有點厭倦了，太多的 bug 、需要大量的資源...種種的問題導致了我產生了想要轉其他的桌面環境的念頭，因為以前的使用習慣的關係，所以目前暫時
             轉移到 Gnome 桌面環境，Gnome 相對於 unity 更為輕巧，動畫方面也很優雅，不像是 Unity 有些動畫給人的感覺有點多餘，整體上給我的感覺是很正向的，
             有關於 Gnome Shell 的 preview 我會在不久的未來寫一篇新的文章，還請大家多多捧場。
           &lt;/p&gt;
           &lt;br /&gt;
           &lt;p&gt;
             用了 Gnome 以後，各項方面感受相對於 Unity 都很有蠻正向的回饋，但是一直以來，有個問題困擾著我，那就是在 Gnome Shell 3.8 的簡介裏面，他們新增
             資料夾的功能，讓使用者可以把應用程式做分類，但是真的很悲劇，我怎麼試都試不出來 Orz &lt;br&gt;
             或許是因為可以自訂資料夾的原因，Gnome 3.8 也預設把應用程式分類關閉，所以在這樣前提下，使用上要找應用程式都要透過搜尋來找，說真的，
             也不是不方便啦，就是有點麻煩就是了。
             &lt;br&gt;
             &lt;a href=&quot;http://0rz.tw/h7xFq&quot;  &gt;
                 &lt;img border=&quot;0&quot; width=&#39;500&#39; src=&quot;http://0rz.tw/h7xFq&quot; /&gt;
             &lt;/a&gt;
            &lt;br&gt;
           &lt;/p&gt;
           &lt;strong&gt;下面將說明怎麼將預設關閉的應用程式分類開啟&lt;/strong&gt; &lt;del&gt;終於要進入正題了&lt;/del&gt;
           &lt;p&gt;
             &lt;br&gt;
              Step1：在搜尋框輸入 「dconf」，啟動 dconf editor 來編輯一些相關的設定&lt;br&gt;
            &lt;div&gt;
             &lt;a href=&quot;http://ppt.cc/flID&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; width=&#39;500&#39; src=&quot;http://ppt.cc/flID&quot; /&gt;&lt;/a&gt;
            &lt;/div&gt;
             &lt;br&gt;
             Step2：在 dconf 中沿著 &lt;strong style=&#39;font-size:15px&#39;&gt;org &gt; gnome &gt; shell&lt;/strong&gt; 的順序可以得到如下的畫面&lt;br&gt;
            &lt;div&gt;
             &lt;a href=&quot;http://ppt.cc/yjwP&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; width=&#39;500&#39; src=&quot;http://ppt.cc/yjwP&quot; /&gt;&lt;/a&gt;
            &lt;/div&gt;
             &lt;br&gt;
             Step3：在右手邊的地方，我們需要修改的欄位是 &lt;strong&gt;app-folder-categories&lt;/strong&gt;，而預設的內容是：&lt;i&gt;[&#39;Utilities&#39;, &#39;Sundry&#39;]&lt;/i&gt;
             ，我們將其修改為 &lt;b style=&#39;color:red&#39;&gt; [&#39;Utilities&#39;, &#39;Games&#39;, &#39;Sundry&#39;, &#39;Office&#39;, &#39;Network&#39;, &#39;Internet&#39;, &#39;Graphics&#39;, &#39;Multimedia&#39;, &#39;System&#39;, &#39;Development&#39;, &#39;Accessories&#39;, &#39;System Settings&#39;, &#39;Other&#39;]&lt;/b&gt;，如此一來，幾乎所有的程式都會被分類到這裏面了，以下是分類過後的 Gnome Shell 樣子，
              產生許多的資料夾，讓我恍然大悟的了解到，原來介紹上所提到的資料夾是這麼一回事。&lt;br&gt;
             &lt;div&gt;
              &lt;a href=&quot;http://ppt.cc/pNSk&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; width=&#39;500&#39; src=&quot;http://ppt.cc/pNSk&quot; /&gt;&lt;/a&gt;
             &lt;/div&gt; 
           &lt;/p&gt;
           &lt;br&gt;
            以下為 Gnome 3.8 的宣傳影片&lt;br/&gt;
           &lt;iframe width=&quot;500&quot; height=&quot;315&quot; src=&quot;//www.youtube.com/embed/I-ynQojUtTw&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
    &lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</description><link>http://dylandychat.blogspot.com/2013/08/gnome-shell-38.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4796470019675546757.post-7105098408449153157</guid><pubDate>Thu, 22 Aug 2013 02:28:00 +0000</pubDate><atom:updated>2013-08-23T18:33:57.436-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">網頁程式設計</category><title>網頁程式學習 -- CSS選擇器</title><description>&lt;html&gt;
&lt;head&gt;
  &lt;meta charset=&#39;utf-8&#39;/&gt;
  &lt;link rel=&#39;stylesheet&#39; href=&#39;http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css&#39;&gt;
  &lt;style&gt;
     @import url(http://dl.dropboxusercontent.com/u/12547699/blog%20css/selector.css)
  &lt;/style&gt;
&lt;/head&gt;
&lt;body class=&#39;well&#39;&gt;
  &lt;div class=&#39;para&#39;&gt;
    &lt;p&gt;
      上一次我們談到了如何簡單的生成一個網頁文件，但是我們卻只能單調的對這個文件進行打字，以往我們在編輯文件的時候，
      常常有許多的格式設定需要我們去煩惱，這些格式的設定在網頁上即是使用 CSS 來進行設定，為了對某個我們已經生成的物件進行設定，
      我們需要先了解到如何對物件進行選擇，即是學習 CSS 選擇器。
    &lt;/p&gt;
  &lt;/div&gt;&lt;br&gt;
  &lt;div class=&#39;para&#39;&gt;
   &lt;p&gt;
     在學習選擇器之前先聊聊幾個基本概念，如果有學過物件導向程式設計的朋友們應該對於「class」和「id」並不陌生，
     「class」和「id」的概念在 CSS 的應用上是非常常見的，若是我們想要對於一群物件進行設定，而這些物件卻是不連續的出現在我們整份文件中，
     那麼我們可以對這些我們欲設定的物件使用相同的「class」名稱，我們只要對這個「class」進行設定即可；相對於「class」的多個物件共用屬性，
     「id」就是個別的一種屬性設定，我們在使用「id」的時候只能在同一份文件中出現一次，如果出現多次會造成混淆的現象。
    &lt;blockquote&gt;
     舉例來說明 class 和 id 的關係就像是在每個人身上貼上標籤，台灣有 200 多萬個台北人，但是台北人中卻只有一個人的身份證字號跟你一樣，那個人就是你自己。
    &lt;/blockquote&gt;
    &lt;p style=&#39;color:red&#39;&gt;【註】class 以小數點「.」為開頭； id 以 Hash Tag 「#」為開頭&lt;/p&gt;
   &lt;/p&gt;
  &lt;/div&gt;&lt;br&gt;
  &lt;p style=&#39;font-align:center&#39;&gt;以下就要來一個一個的講解有關於 CSS 選擇器的內容了，上面廢話有點多orz&lt;/p&gt;
  &lt;hr&gt;
  &lt;div class=&#39;para&#39;&gt;
    &lt;p&gt;
      根據 w3c 的 &lt;a href=&#39;http://www.w3.org/TR/CSS2/selector.html&#39;&gt; css selector syntex&lt;/a&gt;，我們可以知道 CSS 選擇器大約有 10 種 &lt;br&gt;
      
      &lt;div class=&#39;box&#39;&gt;
         &lt;h4&gt;Universal Selector 通用選擇器&lt;/h4&gt;
         使用 &lt;code&gt;*&lt;/code&gt; 作為篩檢對象，代表此網頁下所有的物件都遵守 &lt;code&gt;*{}&lt;/code&gt; 裡的規則。
     &lt;/div&gt;&lt;br&gt;
     &lt;div class=&#39;box&#39;&gt;
        &lt;h4&gt;Type Selector 屬性選擇器&lt;/h4&gt;
        使用 Html Tag 作為篩檢對象的方法，稱作為屬性選擇器，屬性選擇器會把這份 HTML 文件中所有被選擇到的那種標籤都加上所設定的規則。&lt;br&gt;
        &lt;pre class=&#39;prettyprint&#39;&gt;
          h4{
            font-size:20px;
           }&lt;br&gt;
          div{
             background-color:black;
           }
        &lt;/pre&gt;
     &lt;/div&gt;&lt;br&gt;
     &lt;div class=&#39;box&#39;&gt;
       &lt;h4&gt;Descendant Selector後代選擇器&lt;/h4&gt;
       當兩個選擇器並排呈現的時候，瀏覽器會從外面往裏面選擇，可以當作是被限制範圍的其他選擇器，相同的只要符合選擇器所篩選的內容都會被套用這些規則。&lt;br&gt;
       例如：&lt;p style=&quot;color:yellow&quot;&gt;住在台北市的人 男生&lt;/p&gt; 這兩個篩選條件下的交集，會有很多的結果，這些結果都會套用我們所下的規則。&lt;br&gt;
       &lt;pre class=&#39;prettyprint&#39;&gt;
          div a{
            color:yellow;
          }
          nav li{
            color:red;
          }
       &lt;/pre&gt;
     &lt;/div&gt;&lt;br&gt;
     &lt;div class=&#39;box&#39;&gt;
       &lt;h4&gt;Child Selector 子選擇器&lt;/h4&gt;
        子選擇器的意味和後代選擇器很類似，但是後代選擇器是對每個後代都作用，但是子選擇器只對緊緊跟在前一個選擇器後面那個作用，若是中間有其他的物件在中間，
        那麼就不會套用選擇器的屬性，所以範圍更小了。&lt;br&gt;
        例如：&lt;p style=&#39;color:yellow&#39;&gt;坐在我附近的人 &gt; 男生 &lt;/p&gt;在這個條件下，坐在我附近的人中可能有很多個男生，但是坐在我旁邊的男生可能只有兩個人，那麼
        這個選擇器的條件就是選擇到這兩個男生，並對他們進行屬性上的設定。&lt;br&gt;
        &lt;pre class=&#39;prettyprint&#39;&gt;
           div &gt; a{
              color:yellow;
           }
        &lt;/pre&gt;
     &lt;/div&gt;&lt;br&gt;
     &lt;div class=&#39;box&#39;&gt;
       &lt;h4&gt;Adjacent sibling selectors 相鄰選擇器&lt;/h4&gt;
          相鄰選擇器，應該是目前很少用到的一種選擇器，因為尚有部份瀏覽器不支援，我們都知道 HTML 的具有巢狀結構，而前面所提到的後代選擇器和子代選擇器，
          都是針對巢狀結構的內層作用，而相鄰選擇器，則是針對同一層的其他元素進行作用，其中使用 &lt;code&gt;+&lt;/code&gt; 來進行連接。&lt;br&gt;
          &lt;pre class=&#39;prettyprint&#39;&gt;
            h1+h1{
             color:red;
            }
            /*同層的的第二個 h1 會顯示紅色*/
            h1+h1+h1{
             color:blue;
            }
            /*同層的第三個 h1 會顯示藍色*/
          &lt;/pre&gt;
     &lt;/div&gt;&lt;br&gt;
     &lt;div class=&#39;box&#39;&gt;
       &lt;h4&gt;Attribute selectors 屬性選擇器&lt;/h4&gt;
         屬性選擇器，是針對標籤裡頭的屬性做更進一步的修改。這個比較難解釋，直接看 code。&lt;br&gt;
         &lt;pre class=&#39;prettyprint&#39;&gt;
            h1[class]{
                color:red;
            }
           /*所有含有 class 屬性的 h1 都會受到影響*/
            h1[class=title]{
               color:red;
            }
           /*所有 class 屬性為 title 這個 class 者都會受到影響*/
           h1[class~=title]{
               color:red;
           }
           /*所有 class 屬性有 title 者都會受到影響*/
           h1[class|=title]{
               color:red;
           }
           /*class 的第一個為 title 者會受到影響*/
         &lt;/pre&gt;
     &lt;/div&gt;&lt;br&gt;
     &lt;div class=&#39;box&#39;&gt;
         &lt;h4&gt;Class Selector&lt;/h4&gt;
           顧名思義，針對某個 class 進行定義屬性的方式，以 &lt;code&gt;.&lt;/code&gt; 為開頭進行定義。&lt;br&gt;
         &lt;pre class=&#39;prettyprint&#39;&gt;
            .box{
               background-color:black;
            }
         &lt;/pre&gt;
     &lt;/div&gt;&lt;br&gt;
     &lt;div class=&#39;box&#39;&gt;
        &lt;h4&gt;ID Selector&lt;/h4&gt;
         和 Class 選擇器類似，但是指針對某個特定的 ID 進行定義，使用 &lt;code&gt;#&lt;/code&gt; 為開頭進行定義。&lt;br&gt;
         &lt;pre class=&#39;prettyprint&#39;&gt;
            #key{
              color:white;
            }
         &lt;/pre&gt;
     &lt;/div&gt;&lt;br&gt;
     &lt;div class=&#39;box&#39;&gt;
       &lt;h4&gt;Pseudo-classes 偽類&lt;/h4&gt;
       這個東西嘛，其實就是常見的 &lt;code&gt;:hover :active :visited :link &lt;/code&gt; 除了常見的這些之外，還有其他三個 &lt;code&gt;:first-child :focus :lang&lt;/code&gt;&lt;br&gt;
       &lt;pre class=&#39;prettyprint&#39;&gt;
          p:first-child{
            color:red
          }
         /*first-child 是第一個使用 p 這個標籤者會被設定屬性*/
         p:lang(fr){
           color:red;
         }
        /*符合屬性為 lang(fr) 的標籤才會被套用這個屬性*/
       &lt;/pre&gt;
     &lt;/div&gt;&lt;br&gt;
     &lt;div class=&#39;box&#39;&gt;
      &lt;h4&gt;Pseudo-elements 偽元素&lt;/h4&gt;
       偽元素的使用和偽類的使用方法類似，皆是使用冒號接上元素名稱。目前偽元素有兩個 &lt;code&gt;:first-letter :first-line&lt;/code&gt;。&lt;br&gt;
       &lt;pre class=&#39;prettyprint&#39;&gt;
          p:first-line{
            color:red;
          }
          /*第1行 p 會成為紅色*/

          p:first-letter{
            color:red;
          }
          /*只有第一個字母會變成紅色*/
       &lt;/pre&gt;
     &lt;/div&gt;
    &lt;/p&gt;
  &lt;/div&gt;&lt;br&gt;
  &lt;div class=&#39;para&#39;&gt;
    以上就是 CSS 選擇器的教學，如果有任何問題的話，歡迎提出問題一起討論。
  &lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</description><link>http://dylandychat.blogspot.com/2013/08/css.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4796470019675546757.post-300655333380137396</guid><pubDate>Mon, 04 Feb 2013 08:00:00 +0000</pubDate><atom:updated>2013-08-23T18:35:45.225-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">網頁程式設計</category><title>網頁程式學習 -  HTML 基本上手</title><description>&lt;html&gt;
  &lt;head&gt;
  &lt;style&gt;
      @import url(http://dl.dropboxusercontent.com/u/12547699/blog%20css/basic_html.css)
    &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div class=&quot;inside&quot;&gt;
       HTML被發明出來的時候，主要是為了傳輸文件，而為了表現這些文件，所以在早期發明出來的HTML 標籤有許多類似個功能，像是&lt;b&gt;&lt;i&gt;標題、內文、圖片、連結、表格、列表&lt;/i&gt;&lt;/b&gt;...都可以透過 HTML 標籤輕易的完成一份文件，以下我會先透過這些部份來創討論各種不同標籤的使用時機。       
    &lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;inside&quot;&gt;
       在創建一份文件的時候，我們要先了解到，HTML 他到底是怎麼去組成的，一份 HTML 文件可以分成兩個部份：
      &lt;ol&gt;
&lt;li&gt;頭（head）
&lt;li&gt;身體(body)
      &lt;/li&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTVBZRrqpXXacC-8Jq8020GUYYWOx2uLoVA4wrIEbKnDWHLcNptZB_TsIcmsq_Akcypi3A5qf_Y_qHNTDq7SH8oU6d-FnMsqZf3zB-OP9pX0oJqToqj8jnx-J0J7byGO4wEGEaZCDRH0sB/s1600/%25E8%259E%25A2%25E5%25B9%2595%25E6%2593%25B7%25E5%259C%2596%25E5%25AD%2598%25E7%2582%25BA+2013-02-04+00%253A28%253A30.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTVBZRrqpXXacC-8Jq8020GUYYWOx2uLoVA4wrIEbKnDWHLcNptZB_TsIcmsq_Akcypi3A5qf_Y_qHNTDq7SH8oU6d-FnMsqZf3zB-OP9pX0oJqToqj8jnx-J0J7byGO4wEGEaZCDRH0sB/s400/%25E8%259E%25A2%25E5%25B9%2595%25E6%2593%25B7%25E5%259C%2596%25E5%25AD%2598%25E7%2582%25BA+2013-02-04+00%253A28%253A30.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
讓我們從「頭」開始討論吧，在瀏覽器開始載入一份文件之前，我們可以在文件的內容之前先宣告一些這份文件的初始資料，例如：
&lt;ul&gt;
&lt;li&gt;文件編碼
&lt;li&gt;&lt;a href=&quot;http://www.w3schools.com/tags/tag_meta.asp&quot;&gt;網頁資訊&lt;/a&gt;
&lt;li&gt;網頁標題
&lt;li&gt;&lt;a href=&quot;http://zh.wikipedia.org/wiki/%E5%B1%82%E5%8F%A0%E6%A0%B7%E5%BC%8F%E8%A1%A8&quot;&gt;層疊樣式表（CSS）&lt;/a&gt;
&lt;li&gt;網頁程式（script）
&lt;/li&gt;
&lt;/li&gt;
&lt;/li&gt;
&lt;/li&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&quot;inside&quot;&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;
首先我們先列出比較常出現在 head 裏面的標籤，在逐一了解他們的使用方法：
&lt;ul&gt;
&lt;li&gt; &amp;lt; title &amp;gt;
&lt;li&gt; &amp;lt; meta &amp;gt;
&lt;li&gt; &amp;lt; style &amp;gt;
&lt;li&gt; &amp;lt; script &amp;gt;
&lt;/li&gt;
&lt;/li&gt;
&lt;/li&gt;
&lt;/li&gt;
&lt;/ul&gt;
我們先從 title 標籤來看看，title 是讓我們可以自由的建立文件標題的標籤，在這個標籤內所輸入的內容會被顯示在瀏覽器分頁上方，類似 Email 裏面的主旨，用法很簡單直接輸入：&lt;br /&gt;&lt;br /&gt;
   &lt;code&gt; &amp;lt;title&amp;gt; 標題內容 &amp;lt;/title&amp;gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;
看完了比較簡單的 title 標籤以後，讓我們來看看比較複雜的幾個標籤吧。&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;inside&quot;&gt;
首先從 meta 標籤開始，meta 在英文裏面的意思即為「原」的意思，所以 meta-data 即為原資料，或者初始資料，而在 html 裏面，我們也會需要一些這樣的資料，來幫助我們建立一份網頁，好的初始資料可以讓使用者在閱讀這份文件的時候較為輕鬆，不容易出現問題（如編碼不同產生亂碼），甚至，我們可以透過 meta 標籤的撰寫，讓使用者在搜尋引擎尋找資料的時候，更容易找到我們的網頁，因為我們已經先把網頁的內容告訴搜尋引擎，跟他說我們的網頁有什麼樣的東西，這樣提供資訊會更為方便及語意化。&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt; &amp;lt;meta&amp;gt; &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;
在 meta 資訊裏面，有以下幾項參數可以做設定，我們可以透過這些參數來增加文件的內容、作者姓名、文字編碼...的設定：
&lt;ul&gt;
&lt;li&gt;keywords&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// 用來定義搜尋引擎的關鍵字：讓使用者在搜尋引擎上輸入這個關鍵字的時候，可以找到這個文件。
&lt;li&gt;description&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// 描述這份文件包含了什麼樣的東西，可以讓程式設計師快速的有整體的概念。
&lt;li&gt;author&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// 宣告這份文件的作者名字
&lt;li&gt;charset&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// 設定文件的文字編碼
&lt;li&gt;http-equiv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// 每幾秒鐘重新更新文件一次
&lt;/li&gt;
&lt;/li&gt;
&lt;/li&gt;
&lt;/li&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&quot;inside&quot;&gt;
  使用 meta 的時候，要將上述的引數存放在 &lt;b&gt;&lt;i style=&quot;color: green;&quot;&gt; name &lt;/i&gt;&lt;/b&gt; 參數內，而設定值，需放在 &lt;b&gt;&lt;i style=&quot;color: green;&quot;&gt; content &lt;/i&gt;&lt;/b&gt; 裏面，例如：&lt;br /&gt;
 &lt;code style=&quot;font-size: 15px;&quot;&gt; &amp;lt;meta name=&quot;keywords&quot; content = &quot;slide&quot; /&amp;gt; &lt;/code&gt;
&lt;/div&gt;
&lt;div style=&quot;color: red; font-size: 15px;&quot;&gt;
注意！&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;inside&quot;&gt;
因為瀏覽這個文件的使用者可能使用各種不同的作業系統，而不同的作業系統對於預設的文字編碼略有不同，例如：微軟的 Windows 使用 Big5 為中文做編碼，但是 Linux 系統則是使用 UTF-8 來作為預設的字形編碼，若是我們沒有設定字形編碼的話，那麼可能我們使用 Windows 編輯的文件在 Linux 上會呈現亂碼的現象，而在 Linux 上編輯的文件到了 Windows 上也會呈現亂碼的現象，這樣的狀況是我們不樂見的，所以設定文件編碼，讓瀏覽器可以正常的將文件顯示出來就變得很重要了，而預設文件編碼的方式也是在 meta 裏面進行設定，請特別注意，他的使用方法和其他的參數不同，直接給值，不需使用 name 、 content 來處理：&lt;br /&gt;&lt;br /&gt;
&lt;code style=&quot;font-size: 15px;&quot;&gt;&amp;lt;meta charset=&quot;utf-8&quot; /&amp;gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;
&lt;i style=&quot;color: red; font-size: 12px;&quot;&gt;※一般而言我們使用 utf-8 來作為預設編碼，因為 Big5 編碼因為字數限制的關係，有些較為罕見的字並不能顯示。&lt;/i&gt;
&lt;/div&gt;
&lt;code&gt;&amp;lt;style&amp;gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;
&lt;div class=&quot;inside&quot;&gt;
在載入文件的時候我們也會先把這份文件的樣式表（CSS）一起載入，這樣在後面建立 HTML 文件的時候就有樣式可以依尋，我們使用 style 標籤來載入 CSS 的程式碼，透過 CSS 我們可以賦與個別 HTML 元素做排版、變色、變形，甚至是動畫之類的功能，使用方法如下：&lt;br /&gt;&lt;br /&gt;

&lt;code style=&quot;font-size: 15px;&quot;&gt;
&amp;lt;style&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;div{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;color:red;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;font-size:20px;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;lt;/style&amp;gt;
&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;
&lt;div class=&quot;inside&quot;&gt;
在網頁裏面我們常常會需要用到一些本機端的程式碼，這些程式碼可以幫助我們做出許多的功能，如將右鍵上鎖，讓使用者不能對網頁進行存取，或是讓網頁有漂亮的動畫，抑或是使用程式，讓網頁和使用者互動，而這些程式碼一般我們會在網頁本體載入之前先將他載入進來，而載入的方法，即是透過 script 標籤：&lt;br /&gt;&lt;br /&gt;
&lt;code style=&quot;font-size: 15px;&quot;&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var input = Javascript 範例;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;document.write(input);&lt;br /&gt;
&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;inside&quot;&gt;
上面我們把一些 Heading 的部份做簡單的說明，到這裡，大家已經可以寫出類似下面這樣的程式碼了。
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGd7sOUUdmBiz2Jf5ZkHQdLRebJguO6ucXZ6N7hUJYiJzAOBJ3oxMTckwqfFPpktvFyCK1CIDs96vjgqB8SngmxjNeL0DNYg4u5gipLcOc218UsKnstQSbtyYzuh0mSt3apfsk5QO_3P4Z/s1600/%25E8%259E%25A2%25E5%25B9%2595%25E6%2593%25B7%25E5%259C%2596%25E5%25AD%2598%25E7%2582%25BA+2013-02-04+13%253A18%253A20.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGd7sOUUdmBiz2Jf5ZkHQdLRebJguO6ucXZ6N7hUJYiJzAOBJ3oxMTckwqfFPpktvFyCK1CIDs96vjgqB8SngmxjNeL0DNYg4u5gipLcOc218UsKnstQSbtyYzuh0mSt3apfsk5QO_3P4Z/s400/%25E8%259E%25A2%25E5%25B9%2595%25E6%2593%25B7%25E5%259C%2596%25E5%25AD%2598%25E7%2582%25BA+2013-02-04+13%253A18%253A20.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
接下來我們要繼續進入 body 的部份，將基本的 HTML 元素及文件的建立方式進行說明。
&lt;/div&gt;
&lt;div class=&quot;inside&quot;&gt;
從觀察一份文件我們可以發現幾件事情：
&lt;ol&gt;
&lt;li&gt;文件是有標題的
&lt;li&gt;文件的標題有分層級，是巢狀的結構
&lt;li&gt;文件裏面的文字有分粗體、斜體，甚至有些有刪除線
&lt;li&gt;文件裏面有圖片
&lt;li&gt;文件裏面有時候還有表格
&lt;li&gt;有時候在撰寫文件的時候會需要條列式的舉例
&lt;/li&gt;
&lt;/li&gt;
&lt;/li&gt;
&lt;/li&gt;
&lt;/li&gt;
&lt;/li&gt;
&lt;/ol&gt;
讓我們一步一步的走下去，首先，我們在看一個文件的時候，我們會發現，每一份文件都是有標題的，大標題、小標題，各種不同的標題，而標題又有分層級，根據不同的層級有不同的大小和格式需要去遵守，所以，我們要怎麼建立標題呢？從英文裏面我們可以知道，標題稱為 Heading 所以，在 Html 裏面如果要使用標題的話，只要用 h 以及他的層數組合的標籤即可。&lt;br /&gt;&lt;br /&gt;
&lt;code style=&quot;font-size: 15px;&quot;&gt;&amp;lt;h1&amp;gt;大標題&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;中標題&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;小標題&amp;lt;/h3&amp;gt;&lt;/code&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;div class=&quot;inside&quot;&gt;
接下來我們進入正文的部份，在正文的部份，有些格式是我們常用到的，像是&lt;b&gt;對文字加粗體&lt;/b&gt;、&lt;i&gt;對文字設定斜體&lt;/i&gt;、&lt;del&gt;想藏些奇奇怪怪的梗&lt;/del&gt;，這些東西要怎麼做呢？首先我們要先了解到，HTML 其實是可以直接輸入文字，不需要透過任何標籤都可以輸入文字的，而這些文字就會被當作內文來處理，在 HTML 剛創造出來時常常會使用這樣的方式來進行文件的編輯，但是隨著網頁技術的進步，這樣的方式已經不被推荐，因為我們並不能對他進行許多不同的格式設定，直接寫在 HTML 上的文字是死的，我們不能移動他，這樣會讓網頁變得相當靜態，所以一般我們會將內文寫在一些&lt;b&gt;容器&lt;/b&gt;之中，這些容器，我們可以對這些容器進行格式的設定，如此一來，網站才容易動態排版。&lt;br /&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;inside&quot;&gt;
一般我們在裝文字的時候會使用的&lt;b&gt;容器&lt;/b&gt;有以下幾種，分別有 div 、span 及 p 這三種不同的標籤，這3個標籤的皆為一個區塊容器，他可以讓我們在這個區塊內使用任何的東西，而區別在於&lt;b&gt; div 的範圍為和內容物一樣高，寬度和頁面一樣寬&lt;/b&gt;、&lt;b&gt; span 的範圍為高度和內容物一樣高，寬度也和內容物一樣寬，與前後元素間的距離為一行的距離&lt;/b&gt;、&lt;b&gt;而 p 元素的範圍和 span 相同，但是 p 元素和前後元素間的距離為兩行的距離&lt;/b&gt;，這是需要特別注意到的地方，如果使用不當的話，在排版上、在編輯 CSS 上，會造成蠻大的困擾。
&lt;/div&gt;
&lt;div class=&quot;inside&quot;&gt;
確定文件內文的撰寫方式以後，我們開始會注意到文件內的文字格式要做設定，如何做設定呢？首先是粗體，在英文裡，粗體為 bold ，所以在 HTML 裡使用 b 作為對文字加粗的標籤，再來是斜體，英文中斜體的英文為 &lt;i&gt;italic&lt;/i&gt; ，故在 HTML 內用 i 當作斜體的方法，而為了藏梗或是一些金融的修改紀錄常常需要用到刪除線，&lt;del&gt;來讓文字若隱若現&lt;/del&gt;來表示這些文字被刪除過了的時候，我們可以使用 del 標籤來增加刪除線。&lt;br /&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;code style=&quot;font-size: 15px;&quot;&gt;
&amp;lt;b&amp;gt;這裡會變粗體&amp;lt;/b&amp;gt;&lt;/code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;這裡會變粗體&lt;/b&gt;&lt;br /&gt;
&lt;code style=&quot;font-size: 15px;&quot;&gt;
&amp;lt;i&amp;gt;這裡會變斜體&amp;lt;/i&amp;gt;&lt;/code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;i&gt;這裡會變斜體&lt;/i&gt;&lt;br /&gt;
&lt;code style=&quot;font-size: 15px;&quot;&gt;
&amp;lt;del&amp;gt;這裡會有刪除線&amp;lt;/del&amp;gt;&lt;/code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;del&gt;這裡會有刪除線&lt;/del&gt;&lt;br /&gt;&lt;br /&gt;

&lt;div class=&quot;inside&quot;&gt;
除了這些之外，我們也常常在文件裏面看到表格，表格是一個很方便的東西，我們可以拿來整理許多的數據，或是作為一個整理的空間，將文字轉換成圖像化的呈現，讓觀眾更容易接收到我們所要傳達的資訊，而在網頁的應用上，過去曾經流行過使用表格來進行排版，我們只要在表格的格子裏面填上我們所需要的圖形或文字，就可以很輕鬆的對網頁進行排版，這樣的想法看似很不錯，實際上這樣的作法會讓網頁的彈性變得很差，我們不能任意的對網頁的元素進行更動，不能動態的依據使用者的需求呈現出最適合使用者的網頁內容，除了不人性化的影響之外，若是一個公司的網站不能貼近使用者的使用習慣，那麼可能對公司來說是非常的賠錢，少去許多因為體貼的客製化所增加的收入。
&lt;/div&gt;
&lt;div class=&quot;inside&quot;&gt;
表格的使用方法：&lt;br /&gt;
先在要使用表格的地方使用 table 標籤宣告表格，表格內容的每一個格子則是用 td 標籤，而要換行進行下一行的編輯時要在這一列的末端加上 tr 標籤，使得我們可以從表格的下一行開頭進行編輯。
&lt;/div&gt;
&lt;code style=&quot;font-size: 15px;&quot;&gt;
&amp;lt;table border =&quot;1&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;第1行第一個元素&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;第1行第二個元素&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;第2行第一個元素&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;第2行第二個元素&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;
&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tr&gt;&lt;td&gt;第1行第一個元素&lt;/td&gt;&lt;td&gt;第1行第二個元素&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;第2行第一個元素&lt;/td&gt;&lt;td&gt;第2行第二個元素&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;div class=&quot;inside&quot;&gt;
最後我們要看到的是，在敘述我們的想法、觀念的時候，常常需要條列式的把我們的想法寫出來，條列式分為兩種：&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;有順序性的條列
&lt;li&gt;沒有順序性的條列
&lt;/li&gt;
&lt;/li&gt;
&lt;/ul&gt;
首先我們先從有順序性的條列開始，在英文中有順序性的條列稱為 order list ，故在 HTML 中被簡稱為 ol ，每個被條列的子項目被稱為 list ，需要用 li 這個標籤作為開頭，注意！不論是有序列表或是無序列表都提供巢狀結構功能，可以在一個 ol 裏面套用多個、多層的 ol 。&lt;br /&gt;&lt;br /&gt;
&lt;code style=&quot;font-size: 15px;&quot;&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;第1項&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;第2項&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;第3項&lt;br /&gt;
&amp;lt;/ol&amp;gt;
&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;第一項
&lt;li&gt;第二項
&lt;li&gt;第三項
&lt;/li&gt;
&lt;/li&gt;
&lt;/li&gt;
&lt;/ol&gt;
同樣的沒有順序的性的條列式，在英文中稱為 unordered list ，簡稱為 ul ，使用方法與 ol 相同，需要在每個子項目的前面加上 li 標籤，序列可以交叉混用，這是比較方便的功能。&lt;br /&gt;&lt;br /&gt;
&lt;code style=&quot;font-size: 15px;&quot;&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;第一項&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;第二項&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;巢狀小項1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;li&amp;gt;巢狀小項2&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ol&amp;gt;&lt;br/&gt;
&amp;lt;/ul&amp;gt;
&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;第一項
&lt;li&gt;第二項
&lt;ol&gt;
&lt;li&gt;巢狀小項1
&lt;li&gt;巢狀小項2
&lt;/li&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;inside&quot;&gt;
學完這些基本的 HTML 標籤還有配置，我們已經可以撰寫簡單的 HTML 網頁了，甚至我們可以自行 Hack 別人做好的網頁，從 Hack 別人往頁的過程中學習別人在撰寫網頁的方法、技巧，及熟練自己對於 HTML 的熟悉度，下面有一個很方便的 HTML 5 簡報程式，我們可以使用簡單的 HTML 就進行修改成為自己的簡報，大家可以下載下來自行玩玩，自己撰寫 HTML 簡報，相信會非常有成就感的。
&lt;br /&gt;&lt;br /&gt;
&lt;a href=&quot;http://paulrouget.com/dzslides/&quot;&gt;DZSlide -by Paul Rouget &lt;/a&gt;
&lt;/div&gt;
&lt;footer&gt;
資料來源&lt;a href=&quot;http://www.w3schools.com/&quot;&gt; W3C school &lt;/a&gt;
&lt;/footer&gt;&lt;/body&gt;
&lt;/html&gt;</description><link>http://dylandychat.blogspot.com/2013/02/html.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTVBZRrqpXXacC-8Jq8020GUYYWOx2uLoVA4wrIEbKnDWHLcNptZB_TsIcmsq_Akcypi3A5qf_Y_qHNTDq7SH8oU6d-FnMsqZf3zB-OP9pX0oJqToqj8jnx-J0J7byGO4wEGEaZCDRH0sB/s72-c/%25E8%259E%25A2%25E5%25B9%2595%25E6%2593%25B7%25E5%259C%2596%25E5%25AD%2598%25E7%2582%25BA+2013-02-04+00%253A28%253A30.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4796470019675546757.post-5412828961708059227</guid><pubDate>Mon, 28 Jan 2013 04:32:00 +0000</pubDate><atom:updated>2013-02-06T07:17:54.719-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">網頁程式設計</category><title>【教學】從 C 語言的角度入門 PHP</title><description>&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
==============================&lt;wbr&gt;&lt;/wbr&gt;===============&lt;wbr&gt;&lt;/wbr&gt;=====================&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: medium; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;# 前言：&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;&amp;gt; 話說，我已經有一大段時間沒有碰 PHP 了，印象中是從大一的網際網路概論之後就沒有認真的&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;gt;&amp;nbsp;讀過與寫過 PHP所以趁此機會把 PHP 重新學習與掌握一下，也藉此分享一下心得，&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;wbr&gt;&lt;/wbr&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;gt;&amp;nbsp;希望各位也能從我的心得中學習到一些東西，如果有什麼不對的地方歡迎指正&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;gt;&amp;nbsp;記得大一的時候，剛看到 PHP 好像看到什麼毒蛇猛獸的感覺，喔天阿！這東西好困難、好可怕，&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;gt; 對於沒寫過程式的人來說，這樣的動態語言，&lt;wbr&gt;&lt;/wbr&gt;真的是有點太過於抽象了，現在經過了一年多了時間，&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;gt; 回過頭來看 PHP 卻有種豁然開朗的感覺，要說簡單嗎？&amp;nbsp;其實也不然，要說難嗎？&lt;wbr&gt;&lt;/wbr&gt;其實也不然，&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;gt; 掌握了一些關鍵的要點以後，學習 PHP 變得輕鬆許多。&lt;br /&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
===============&lt;wbr&gt;&lt;/wbr&gt;==============================&lt;wbr&gt;&lt;/wbr&gt;=====================&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; clear: both; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://s15.youmaker.com/other/2009/3-14/oth26187816471159f7f7bfe4a8598aab6d49a7b0c1a0010.jpg&quot; style=&quot;border: 0px; color: #6611cc; cursor: pointer; margin: 0px 1em; padding: 0px; text-decoration: initial; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://s15.youmaker.com/other/2009/3-14/oth26187816471159f7f7bfe4a8598aab6d49a7b0c1a0010.jpg&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;356&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; mozallowfullscreen=&quot;&quot; scrolling=&quot;no&quot; src=&quot;http://www.slideshare.net/slideshow/embed_code/16201256&quot; style=&quot;border-width: 1px 1px 0; border: 1px solid #CCC; margin-bottom: 5px;&quot; webkitallowfullscreen=&quot;&quot; width=&quot;427&quot;&gt; &lt;/iframe&gt; &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 5px;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;strong&gt; &lt;a href=&quot;http://www.slideshare.net/DylandyChang/c-php-16201256&quot; target=&quot;_blank&quot; title=&quot;從 C 語言的角度入門 php&quot;&gt;從 C 語言的角度入門 php&lt;/a&gt; &lt;/strong&gt; from &lt;strong&gt;&lt;a href=&quot;http://www.slideshare.net/DylandyChang&quot; target=&quot;_blank&quot;&gt;Dylandy Chang&lt;/a&gt;&lt;/strong&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
先把以前學過 PHP 的經驗放在一邊，假設自己完全沒看過這個語言，第一次看到 PHP 程式碼的時候，會有什麼想法？&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;喔！他有標籤，那他一定是 HTML 的一部份吧，這充其量只能是腳本吧，不算是一門語言吧，&lt;wbr&gt;&lt;/wbr&gt;寫不出什麼大東西。&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;唔，從語法上看起來跟 C 有點像，但是好像又有哪裡不一樣，得仔細研究一下。&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
沒錯，PHP 在剛創造出來的時候，的確是為了擴充 HTML 的不足，所發明的一種腳本語言，但是隨著時間的演進，PHP 不斷的在進步，&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
他已經可以作為一個普通的語言存在。&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
=================== 動態語言的介紹====================================&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
最近幾年的時間，動態語言在業界被重視的程度大大的提高，像是 Python 、Ruby 、JavaScript 甚至是 PHP ，都讓工程師們玩出了許多&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
不同的花樣，為什麼這些動態語言會有這麼大的魅力呢？首先，&lt;wbr&gt;&lt;/wbr&gt;跨平台性，這些語言都有一個很大的特徵，&lt;wbr&gt;&lt;/wbr&gt;不論在什麼樣的平台下基本上都可以&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
順利的運行，不論是最常見的微軟 Windows 也好 、蘋果的 Mac 也好、工程師常用的 Linux 也好，甚至是行動裝置上都可以順利的運行，&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
豐富的跨平台性，讓這些語言獲得工程師的青睞，&lt;wbr&gt;&lt;/wbr&gt;工程師只要把其中一個語言學的透徹，&lt;wbr&gt;&lt;/wbr&gt;那麼他在職場上就會很有競爭力，那麼回過頭來看，&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
為什麼這些語言會有這麼強的跨平台性呢？說到跨平台性，&lt;wbr&gt;&lt;/wbr&gt;我們不得不回過頭來看以往跨平台性高的老祖宗們，大家最熟悉的 C 語言、Java&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
這兩種語言分別用了兩種不同的方式實現了跨平台的效果，C 語言是透過在不同平台上的編譯器，&lt;wbr&gt;&lt;/wbr&gt;每次都將原始碼重新編譯成適合這個平台的&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
程式執行檔，看起來似乎很方便，&lt;wbr&gt;&lt;/wbr&gt;但是編譯的過程其實並不是哪麼的通用的，對於使用者來說，&lt;wbr&gt;&lt;/wbr&gt;編譯程式是一個複雜又難懂的過程，所以 Java&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
使用了另外一種不同的方式來達到相同的效果，那就是虛擬機器 JVM，透過虛擬機器的使用，&lt;wbr&gt;&lt;/wbr&gt;每個使用者只要將編譯過的程式透過虛擬機器就可以執行了，&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
而開發人再針對各個不同的平台撰寫不同的虛擬機器，&lt;wbr&gt;&lt;/wbr&gt;這樣就可以確保程式在每個平台上跑起來會完全相同了，&lt;wbr&gt;&lt;/wbr&gt;而這樣的想法，影響了後面許多程式的發展，&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
知名的圖形化開發程式 Python 以及近年因為 Rails 又重新被大家找回來的 Ruby 都是類似的例子，這樣的風潮持續了一段時間，工程師們突然把&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
目光放到了網路的程式語言上面，為什麼呢？&lt;wbr&gt;&lt;/wbr&gt;如果從跨平台性上來看，&lt;wbr&gt;&lt;/wbr&gt;顯然網頁的程式語言也有相當高的跨平台性，&lt;wbr&gt;&lt;/wbr&gt;只要在平台上安裝了瀏覽器，那麼&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
就可以瀏覽到幾乎相同的結果，所以開始了最近的 HTML 5 網頁技術發展，JavaScript 和 PHP 又重新回到大家的目光，快速的增加內容和改版，讓&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
這兩個語言也進入了主流的動態語言的行列。&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
====&lt;wbr&gt;&lt;/wbr&gt;==============================&lt;wbr&gt;&lt;/wbr&gt;====================================&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
以下我會從 4 點來討論 C 語言和 PHP 之間的異與同，希望各位讀完這篇文章以後可以基本看的懂 PHP 的文件：&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;變數的宣告&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;函式宣告&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;陣列&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;物件導向程式設計概念&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: medium; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;#變數宣告：&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
C 語言是一種強型別的語言，而 PHP 卻是一種弱型別的語言，用較為通俗的說法即是：&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
在 C 語言裏面，當我們想要宣告一個變數的時候，我們要考慮很多東西，&lt;wbr&gt;&lt;/wbr&gt;這個變數在這個地方應該是什麼用法：&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;是數字呢？還是字元呢？&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;數字的話，是整數就好了呢？還是需要小數？&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
這樣的方式，讓編譯器在編譯程式的時候速度會快的多，&lt;wbr&gt;&lt;/wbr&gt;而程式的執行效率理論上也會較為良好，但是近年來，&lt;wbr&gt;&lt;/wbr&gt;許多的程式並不走這個方向&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
紛紛朝著弱型別來前進，為什麼呢？&lt;wbr&gt;&lt;/wbr&gt;最近的程式語言都標榜著對開發者友善的開發，&lt;wbr&gt;&lt;/wbr&gt;以往我們都非常的考慮機器如何，以機器的角度去編寫程式，&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
讓我們程式寫起來非常的痛苦，轉個角度思考，&lt;wbr&gt;&lt;/wbr&gt;為什麼我們要這麼痛苦呢？&lt;wbr&gt;&lt;/wbr&gt;在宣告變數的時候就告訴編譯器這東西是變數，那就好了阿，&lt;wbr&gt;&lt;/wbr&gt;以下我舉一些例子，&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
大家就可以了解其中的差別了。&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;在 C 語言中宣告變數是這樣的：&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: #990000; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;int&amp;nbsp;&lt;/span&gt;numb = 0;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: #134f5c; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;char&lt;/span&gt;&amp;nbsp;name = &quot;John&quot;;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;而同樣的變數在 PHP 中的宣告方式是這樣的：&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;$numb = 0;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;$name = &quot;John&quot;;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
從上面的例子我們可以看出，&lt;wbr&gt;&lt;/wbr&gt;在開發者的角度來看這兩個變數其實沒有那麼大的差別的，&lt;wbr&gt;&lt;/wbr&gt;可能大家還沒辦法體會到那種概念，這麼說好了，&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
C 語言的變數宣告就像是用不同的容器裝不同的東西：&lt;wbr&gt;&lt;/wbr&gt;水就是要用杯子裝，書本要放書櫃上，看似合理，實際上確很煩瑣，&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
而 PHP 的變數宣告概念則不同，他像是搬家時候的大箱子，&lt;wbr&gt;&lt;/wbr&gt;我們可以把任何的東西都放到這個箱子裏面，&lt;wbr&gt;&lt;/wbr&gt;當我們有需要的時候再從箱子裡拿出東西就好了&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
所以在效率上當然 C 語言會比較好，但是從開發人的角度上，喔，&lt;wbr&gt;&lt;/wbr&gt;那差的可不是一星半點。&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: medium; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;#函式宣告：&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;在以往我們撰寫 C 語言程式的時候，每當要定義一個函式的時候，&lt;wbr&gt;&lt;/wbr&gt;我們有幾件事情需要去做的：&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;在程式的開頭加上 prototype 表示我程式裏面這樣的函式，他長的樣子是這個樣子。&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;要注意這個函式是否要回傳值，如果要那麼回傳值的型別是什麼，&lt;wbr&gt;&lt;/wbr&gt;傳入函式的引數要什麼樣類型的，需要什麼樣的型別。&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;和剛剛討論到的變數相同，PHP 把型別的判斷取消掉了，而且依據剛剛所提到的「&lt;/span&gt;&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;讓開發者更容易開&lt;wbr&gt;&lt;/wbr&gt;發程式&lt;/span&gt;&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;」的觀念，PHP 把 prototype 取消掉了，&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;讓開發人專注的在函式本身的邏輯上，不需要為了語法和格式煩惱，&lt;wbr&gt;&lt;/wbr&gt;以下我們看個例子：&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;C 語言的函式是這樣的：&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;prototype :&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: #741b47; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;void&lt;/span&gt;&amp;nbsp;PrintArray(&amp;nbsp;&lt;span style=&quot;border: 0px; color: #990000; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;int&lt;/span&gt;[ ] );&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;函式本體：&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;b style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;border: 0px; color: #741b47; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;void&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;PrintArray(&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: #990000; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;int&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;input[ ]&amp;nbsp;){&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: #990000; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;i;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: #6aa84f; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;( i = 0 ; i != &#39;\n&#39; ; i++ ){&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: #bf9000; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;%d&quot;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;, input[ i ] );&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;而 PHP 的函式是這樣的：&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: #351c75; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;function &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;PrintArray( $input ){&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: #6aa84f; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;( $i = 0 ; $i != &#39;\0&#39; ; $i++ ){&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: #0b5394; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;echo&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;$input[ $i ];&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;從這個簡短的例子，可以看出雖然架構上看起來差不多，&lt;wbr&gt;&lt;/wbr&gt;但是整體來說，卻簡短很多，更容易理解函式的內容。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: medium; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;#陣列&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;陣列的部份有比較多的東西和 C 語言不同：&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;宣告時附值的方式：&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;C 語言中的宣告方式如下：&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: #990000; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;int&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Str01[ 5 ] = { &amp;nbsp;&#39;1&#39; , &#39;2&#39; , &#39;3&#39; , &#39;4&#39; , &#39;5&#39; };&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-size: x-small; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;PHP 中的宣告方式比較特別：&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-size: x-small; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;$Str01 = array( &#39;1&#39; , &#39;2&#39; , &#39;3&#39; , &#39;4&#39; , &#39;5&#39; );&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;常常我們並不曉得我們需要的陣列有多大，&lt;wbr&gt;&lt;/wbr&gt;而需要動態配置陣列的大小，C 語言中並沒有提供這樣的功能，如果我們仍然想要的話，&lt;wbr&gt;&lt;/wbr&gt;可以硬幹出類似這樣的東西：&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: #0b5394; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;char&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;* symbol = (&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: #0b5394; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;char&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;* )&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: #9900ff; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;malloc&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;( input *&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: magenta; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;sizeof&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;(&lt;/span&gt;&lt;span style=&quot;border: 0px; color: #0b5394; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;char&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;) );&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 所以若是有要動態的使用連續的記憶體空間，使用C 語言的話，使用 Linked list 會是比較好的選擇&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;PHP 中有提供動態配置方式，我們在使用的時候非常的簡單：&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;$symbol = array( );&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;使用的時候就只要：&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;b style=&quot;color: black; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;border: 0px; color: #6aa84f; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;for&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;color: black; font-size: small;&quot;&gt;( $i = 0 ; $i &amp;lt; 10 ; $i++ ){&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;b&gt;$symbol[ $i ] = a;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; &amp;nbsp;$symbol[ 0 ] = a;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $symbol[ 1 ] = a;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ...&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-size: x-small; line-height: normal; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;除了動態配置陣列大小之外，PHP 也有一個有趣的陣列宣告方式，稱為：關聯式陣列&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;以往我們在 C 語言中陣列的 index 只能使用數字，而且一定得是大於或等於零的整數，&lt;wbr&gt;&lt;/wbr&gt;這樣的限制雖然讓編寫程式變得簡單，&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;但是對於語義的了解&lt;/span&gt;&lt;b style=&quot;color: black; font-size: small;&quot;&gt;&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;，及程式為的維護、&lt;wbr&gt;&lt;/wbr&gt;易讀性上就大大的打了折扣，所以 PHP 才會有關聯式陣列的產生。&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;想像一個表格，每一欄都有不同的名稱，&lt;wbr&gt;&lt;/wbr&gt;我們只要將資料放到相關的位置就可以了：&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: 17px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;b&gt;$StuNum = array( &#39;Class01&#39; =&amp;gt; &quot;40&quot; ,&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: 17px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;Class02&#39; =&amp;gt; &quot;41&quot;,&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: 17px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;Class03&#39; =&amp;gt; &quot;30&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: 17px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; );&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: 17px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: 17px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: #0b5394; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;echo&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;$StuNum[ Class01 ];&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: 17px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OUTPUT &amp;gt;&amp;gt; &amp;nbsp;40&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; line-height: 17px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;多維陣列也是 PHP 有特色的地方，在 C 語言中我們宣告二維陣列，我們都知道是陣列的 entry 是陣列，但是我們用想像的方式去讓自己了解，&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;但是 PHP 就把這個概念給延伸到了程式碼之中：&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;C 語言：&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: #990000; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: #990000; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;int&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Str02[ 3 ][ 3 ];&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;PHP：&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;b&gt;$Str02 = array(&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;array( &#39;1&#39; , &#39;2&#39; , &#39;3&#39; ),&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;array( &#39;4&#39; , &#39;5&#39; , &#39;6&#39; ),&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;array( &#39;7&#39; , &#39;8&#39; , &#39;9&#39; ) );&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;這樣的可以讓程式在讀的時候更為容易，&lt;wbr&gt;&lt;/wbr&gt;我們可以更容易的用表格的方式來取得我們想要的 entry ，對於程式設計師來說，相對於 C 語言，那是友善的多了。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: medium; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;#物件導向程式設計的概念&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: medium; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;在 C 語言中，其實並沒有物件導向的概念，&lt;wbr&gt;&lt;/wbr&gt;所以我對於我們來說就是學習物件導向的概念：&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;我們為了更方便的撰寫程式，會把一些程式碼打包成為一個物件，&lt;wbr&gt;&lt;/wbr&gt;透過和物件的互動，我們可以完成我們想要的任務。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;可以想像一下，我們想要讓我們的產品音樂，所以我們去買了一台 CD 播放器（類別 Class），我們會需要 CD 來讓播放器有可播放內容（屬性 property） ，而我們為了聽音樂則需要&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;CD 播放器的播放功能（方法 Method），而我們想要開發新的功能時候，&lt;wbr&gt;&lt;/wbr&gt;但是並不想要把原有的功能放棄，我們使用了原有的播放器，&lt;wbr&gt;&lt;/wbr&gt;但是加上我們自己的功能成為新的播放器（繼承&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;extends），如此一來，&lt;wbr&gt;&lt;/wbr&gt;我們在寫程式的時候就不用自己去建構大量的基礎，&lt;wbr&gt;&lt;/wbr&gt;就好像程式書籍上有名的「自己造輪子」的提問。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;下面是一個簡短的範例：&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;lt;?php&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-weight: bold; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;$object =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: red; font-weight: bold; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp;Son; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;//使用 new 這個關鍵字來宣告一個變數，而這個變數來使用 Son 這個物件&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;$object -&amp;gt; test( );&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;$object -&amp;gt; test2( );&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: #783f04; font-weight: bold; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Class&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;Dad{ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;//&lt;b&gt;&amp;nbsp;&lt;/b&gt;使用 Class 關鍵字宣告一個類別，以建立一個物件&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;border: 0px; color: #351c75; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;function&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;color: black; font-size: small;&quot;&gt;&amp;nbsp;test( ){ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;//&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;在 Class 裏面的 function 稱之為 Method&lt;/span&gt;&lt;b style=&quot;color: black; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: #0b5394; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;echo&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;b&gt;&quot; [ Class Dad ] I am your father &amp;nbsp;&amp;lt;br/&amp;gt;&quot;;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;}&lt;/b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: #783f04; font-weight: bold; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Class&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; font-weight: bold; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;Son&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: #ff9900; font-weight: bold; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;extends&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp;Dad{ &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;// 使用 extends 關鍵字可以讓此 Class 繼承原 Class 的所有 Method 不需重新再寫&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: #351c75; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;test( ){&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-weight: bold; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: #0b5394; font-weight: bold; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;echo&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp;&quot; [ Class Son ] I am Luke &amp;lt;br/&amp;gt;&quot;; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/b&gt;// 繼承後的子 Class 可以用同樣的名稱來改寫 Method&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: #351c75; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;test2( ){&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;parent::test; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;// 若仍希望保留原本父 Class 的功能，可以用 parent 關鍵字將此功能賦與給自定義的新 Method&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;?&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;OUTPUT:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;[ Class Son ] I am Luke&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;[ Class Dad ] I am your father&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;border: 0px; color: black; font-size: x-small; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://dylandychat.blogspot.com/2013/01/c-php.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4796470019675546757.post-3768388284732103287</guid><pubDate>Mon, 14 Jan 2013 17:07:00 +0000</pubDate><atom:updated>2013-01-14T09:07:53.536-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Conf</category><title>[閒聊] WebConf 2013 心得</title><description>&lt;br /&gt;
&lt;div class=&quot;_3hi&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 15px;&quot;&gt;
&lt;div class=&quot;_38 direction_ltr&quot; style=&quot;direction: ltr; font-size: 14px; line-height: 1.38;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; 這次的活動，和以往的資訊類研討會有很大的不同，&lt;span style=&quot;line-height: 1.38;&quot;&gt;不只是因為有很多女性觀眾的參與，讓活動比較不會那們沉悶之外，&lt;/span&gt;&lt;span style=&quot;line-height: 1.38;&quot;&gt;主辦單位&lt;/span&gt;&lt;span style=&quot;line-height: 1.38;&quot;&gt;請到了前輩的&lt;a href=&quot;http://www.google.com/url?q=https%3A%2F%2Fskydrive.live.com%2F%3Fcid%3D68b24674607c69d9%26id%3D68B24674607C69D9%25211723&amp;amp;sa=D&amp;amp;sntz=1&amp;amp;usg=AFQjCNEXKS5WvdMveCzcIPnEOdG0WbbKig&quot;&gt;現身說法&lt;/a&gt;，&lt;/span&gt;&lt;span style=&quot;line-height: 1.38;&quot;&gt;透過前輩的語言和文字，給予我們這些新進的後輩一些如何在這競爭激烈的環境下生存的方法，讓我們了解到在這樣高速變動的環境，我們如何與這個環境做出最適切的應應措施，是要順著潮流走呢？還是放開腳步走自己的路，這都讓我從中有許多的啟發。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;line-height: 1.38;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;_3hi&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 15px;&quot;&gt;
&lt;div class=&quot;_1yr&quot; style=&quot;float: right; margin-left: 4px;&quot;&gt;
&lt;span class=&quot;_2oy&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;_38 direction_ltr&quot; style=&quot;direction: ltr; font-size: 14px; line-height: 1.38;&quot;&gt;
&lt;div style=&quot;margin-top: 10px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; 與以往的 Keynote 就要請到很厲害的國際知名講者不同，兩天的 Keynote 都是從分享出發，&lt;span style=&quot;line-height: 1.38;&quot;&gt;第1天的前輩的經驗分享，&lt;/span&gt;&lt;span style=&quot;line-height: 1.38;&quot;&gt;第二天的 &lt;a href=&quot;http://www.plurk.com/alvin&quot;&gt;alvin&lt;/a&gt; 談&lt;a href=&quot;http://www.google.com/url?q=https%3A%2F%2Fspeakerdeck.com%2Falvinwoon%2Fwebconf-2013&amp;amp;sa=D&amp;amp;sntz=1&amp;amp;usg=AFQjCNEze2_Ak1WIxGaopJdnU_I9fMcULg&quot;&gt;噗浪錯過的機會及再起的可能&lt;/a&gt;，&lt;/span&gt;&lt;span style=&quot;line-height: 1.38;&quot;&gt;分享了創業上的經驗與波折，&lt;/span&gt;&lt;span style=&quot;line-height: 1.38;&quot;&gt;網路也是這十多年來創業的最短路徑之一，讓許多人在創業之初都會選擇從網路開始，有新的點子、好的點子，就會想辦法讓自己有機會打創出一片天，但是就像是其他的創業一樣，他所要承受的風險也是巨大的，失敗的例子比比皆是，就像是一個大戰場上，大家都看到了前方就是敵人的軍隊，打完這場就可以得到豐厚的獎勵，但卻沒看到地上那滿地的屍體，最後到達終點的往往不是那些表現最好的人，是那些看到地上的屍體，吸取他們的經驗所成功的那些人。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-top: 10px;&quot;&gt;
&lt;span style=&quot;line-height: 1.38;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;在 &lt;a href=&quot;http://www.webconf.tw/&quot;&gt;WebConf &lt;/a&gt;這樣的場合，因為大家都還是年輕人，創業對於在場的每個人都有很多的觸動與啟發，已經創過業的人，不論成功或失敗，都是一種學習，學習如何在這樣不景氣的環境下生存；而想要創業的我們，則是另外一種學習，學習將來在創業的時候，我們有哪些是我們不足的，或哪些是我們需要去注意的，都是寶貴的無價之寶。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-top: 10px;&quot;&gt;
&lt;span style=&quot;line-height: 1.38;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;_3hi&quot; style=&quot;color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 15px;&quot;&gt;
&lt;div class=&quot;_1yr&quot; style=&quot;background-color: white; float: right; margin-left: 4px;&quot;&gt;
&lt;span class=&quot;_2oy&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;_38 direction_ltr&quot; style=&quot;direction: ltr; font-size: 14px; line-height: 1.38;&quot;&gt;
&lt;div style=&quot;background-color: white; margin-top: 10px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; 而這次的 &lt;a href=&quot;http://www.webconf.tw/&quot;&gt;WebConf&lt;/a&gt; 除了這些感性的部份之外，理性方面的實戰主題也非常的有內含，&lt;span style=&quot;line-height: 1.38;&quot;&gt;從 &lt;a href=&quot;https://plus.google.com/107098249523904932070/posts&quot;&gt;AllenOwn&lt;/a&gt; 大大的資訊安全到&lt;a href=&quot;https://plus.google.com/112870665924375566018/posts&quot;&gt;阿土伯&lt;/a&gt;大大的 &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/XULRunner&quot;&gt;xulrunner&lt;/a&gt;&amp;nbsp;&lt;sup&gt;【註】&lt;/sup&gt; 本機端跨平台應用程式撰寫，&lt;/span&gt;&lt;span style=&quot;line-height: 1.38;&quot;&gt;都像是給我們這些資訊菜鳥開了一扇扇的窗，讓我們不只侷限在學校所學、書本所教的那些僵硬知識之中，&lt;/span&gt;&lt;span style=&quot;line-height: 1.38;&quot;&gt;從一個資訊菜鳥的角度來看，這次的活動對於我來說，&lt;/span&gt;&lt;span style=&quot;line-height: 1.38;&quot;&gt;真的學習到非常多、非常充實的知識和觀念，&lt;/span&gt;&lt;span style=&quot;line-height: 1.38;&quot;&gt;因為有許多不同的議程主題，我們可以根據自己的能力來挑選自己適合的方向來研究和學習，&lt;/span&gt;&lt;span style=&quot;line-height: 1.38;&quot;&gt;這些議程給了我一種在學習上的啟發，新的方向，&lt;/span&gt;&lt;span style=&quot;line-height: 1.38;&quot;&gt;這也是我喜歡參加各種不同的社群的原因，&lt;/span&gt;&lt;span style=&quot;line-height: 1.38;&quot;&gt;透過想法的刺激和撞擊，更好的想法和產品都有可能在討論中產生，&lt;/span&gt;&lt;span style=&quot;line-height: 1.38;&quot;&gt;無形中不只是我們這些新手在進步，那些強者大神們也可能因為我們不經意的一句話而有所啟發，進而創造出對於可以改變這個世界的程式。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; margin-top: 10px;&quot;&gt;
&lt;span style=&quot;line-height: 1.38;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; margin-top: 10px;&quot;&gt;
&lt;span style=&quot;line-height: 1.38;&quot;&gt;這就是社群的最根本目的吧，我想。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; margin-top: 10px;&quot;&gt;
&lt;span style=&quot;line-height: 1.38;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://i.imgur.com/rEHCq.jpg&quot; imageanchor=&quot;1&quot; style=&quot;line-height: 1.38; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;175&quot; src=&quot;http://i.imgur.com/rEHCq.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Baskerville, serif; font-size: 16px; font-style: italic; line-height: 27.58333396911621px; text-align: justify;&quot;&gt;圖片來源：&lt;/span&gt;&lt;a href=&quot;http://i.imgur.com/rEHCq.jpg&quot; style=&quot;-webkit-transition: color 0.3s initial initial; background-color: white; border: 0px; color: #751590; font-family: Baskerville, serif; font-size: 16px; font-style: italic; font: inherit; line-height: 27.58333396911621px; margin: 0px; padding: 0px; text-align: justify; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;http://i.imgur.com/rEHCq.jpg&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
最後推廣一下我共同創建的：&lt;a href=&quot;https://docs.google.com/document/d/1tr-1iTXxct2ErBgytoaG6lROEpY57stBo8lyP4kGva0/preview#bookmark=id.xzi2536izior&quot;&gt;WebConf 懶人包&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
此懶人包為不定期更新，請大家多多關注&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
【&lt;span style=&quot;line-height: 1.38;&quot;&gt;註&lt;/span&gt;&lt;span style=&quot;line-height: 1.38;&quot;&gt;】：&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;line-height: 1.38;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;xulrunner 是一套由 Mozilla 公司所推出的工具，可以讓工程師透過 xulrunner ，就可以輕易的撰寫本機應用程式，多輕易呢？可以使用寫網頁的方式來撰寫程式，讓寫本機程式變得更簡單，xulrunner 包含著 firefox 3 的 Gecko 引擎，但是介面上去掉了網址列及工具列，所以對於開發者來說寫插件就是寫程式，可以大大的縮短寫程式的時間和所需的精力。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; margin-top: 10px;&quot;&gt;
&lt;span style=&quot;line-height: 1.38;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://dylandychat.blogspot.com/2013/01/webconf-2013.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4796470019675546757.post-7988202158673564682</guid><pubDate>Fri, 11 Jan 2013 15:01:00 +0000</pubDate><atom:updated>2013-01-11T07:01:54.646-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>如何幫 ubuntu 的 LibreOffice 升級</title><description>起因是這樣的，我的 &lt;a href=&quot;http://www.ubuntu.com/download&quot;&gt;Ubuntu &lt;/a&gt;12.04 從安裝到現在，&lt;a href=&quot;http://zh-tw.libreoffice.org/&quot;&gt;LibreOffice&lt;/a&gt; 從安裝好後都沒有更新過了，本來想說這樣就已經很夠用了，但是，剛剛在 Google plus 上看到某大大的發言表示：&lt;br /&gt;
LibreOffice 改朝換代，又加入了新的功能&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://i.imgur.com/ohWjy.png?1&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;302&quot; src=&quot;http://i.imgur.com/ohWjy.png?1&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
喔喔！這讓我才熊熊的發現，原來我的 LibreOffice 並沒有隨著每次的軟體更新而更新，搜尋了一下資料發現，原來 Ubuntu 並沒有把 LibreOffice 的 PPA 加入到其更新表中，那麼事情就簡單啦：&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;找到 LibreOffice 的 PPA&lt;/li&gt;
&lt;li&gt;加入 PPA 至更新列表&lt;/li&gt;
&lt;li&gt;更新軟體列表&lt;/li&gt;
&lt;li&gt;重新更新軟體&lt;/li&gt;
&lt;/ol&gt;
更新前，先確認我們的軟體版本 ( 12.04 預設的版本是 3.5.4.2 )&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQcoec-py93-2SnYI0TN2UAoRxL3MjEIyBPvXmaSbMQi5EOK5ukJsfnR4jbJ254dfrhrHsp61-hvChjQXh4xAXe8lmKjdifkNUhqfBuWaRhheMfFJwx-puoyKGgfCTCQbAOUMfvIpgPOic/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2013-01-11+22:22:14.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQcoec-py93-2SnYI0TN2UAoRxL3MjEIyBPvXmaSbMQi5EOK5ukJsfnR4jbJ254dfrhrHsp61-hvChjQXh4xAXe8lmKjdifkNUhqfBuWaRhheMfFJwx-puoyKGgfCTCQbAOUMfvIpgPOic/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2013-01-11+22:22:14.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
打開終端機，插入 LibreOffice 的 PPA：&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;code&gt;&amp;nbsp; sudo add-apt-repository ppa:libreoffice/ppa&lt;/code&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
插入完成以後，重新更新軟體列表：&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;b&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;code&gt;sudo apt-get update&lt;/code&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
這時候更新管理員就會出現有新的更新，執行更新即可&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhynntSlLgogfr7sM7HeFYTOWM9AvmAjSBzWrJNA7MVNiem8xkcXoV4f_lmIJ2_0Zn4p56Xd2rCJDj6tjQCZNK2pIAplx9HnYMRLK64ZrCgrtRD7fA2yHOm1OVBKA6gaVlSPJIa9ngGR6Zf/s1600/Screenshot+-+2013%E5%B9%B401%E6%9C%8811%E6%97%A5+-+22%E6%99%8226%E5%88%8609%E7%A7%92.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;355&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhynntSlLgogfr7sM7HeFYTOWM9AvmAjSBzWrJNA7MVNiem8xkcXoV4f_lmIJ2_0Zn4p56Xd2rCJDj6tjQCZNK2pIAplx9HnYMRLK64ZrCgrtRD7fA2yHOm1OVBKA6gaVlSPJIa9ngGR6Zf/s400/Screenshot+-+2013%E5%B9%B401%E6%9C%8811%E6%97%A5+-+22%E6%99%8226%E5%88%8609%E7%A7%92.png&quot; width=&quot;400&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
這可能需要花上一點時間。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7gzafRjnDOdcv0H33yT4htQQXIHgPs32kX_24Ng3836k2XaE5Ne3m_-B18K2g3TutgsFE0d7GaotNt6UeIy5kYzEKVhbUiW5msbuabwEtNtZ-mtnGGlbGDWB-rQzMlSdkv7EIe07nkFmT/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2013-01-11+22:33:02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7gzafRjnDOdcv0H33yT4htQQXIHgPs32kX_24Ng3836k2XaE5Ne3m_-B18K2g3TutgsFE0d7GaotNt6UeIy5kYzEKVhbUiW5msbuabwEtNtZ-mtnGGlbGDWB-rQzMlSdkv7EIe07nkFmT/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2013-01-11+22:33:02.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;nbsp;當當，更新完成，看起來 PPA 並沒有像官網那麼即時的進行更新，目前版本還是 3.6.0.2&lt;br /&gt;
&lt;br /&gt;
雖然還不是最新的版本，但是總算是擺脫掉 LibreOffice 不會更新的問題了 ( wave )</description><link>http://dylandychat.blogspot.com/2013/01/ubuntu-libreoffice.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQcoec-py93-2SnYI0TN2UAoRxL3MjEIyBPvXmaSbMQi5EOK5ukJsfnR4jbJ254dfrhrHsp61-hvChjQXh4xAXe8lmKjdifkNUhqfBuWaRhheMfFJwx-puoyKGgfCTCQbAOUMfvIpgPOic/s72-c/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2013-01-11+22:22:14.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4796470019675546757.post-3411389759388704570</guid><pubDate>Thu, 06 Dec 2012 13:21:00 +0000</pubDate><atom:updated>2013-02-06T07:18:32.058-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">整理分析</category><category domain="http://www.blogger.com/atom/ns#">筆記</category><category domain="http://www.blogger.com/atom/ns#">網頁程式設計</category><title>網頁程式學習筆記 - 前情提要</title><description>&lt;span style=&quot;font-family: inherit;&quot;&gt;因為最近剛好同學間對於網頁的撰寫有學習的興趣，又剛好在專題要挑戰寫一個多功能的平台，剛好利用這段時間來整理一下之前所學習的網頁程式技巧，希望可以給同學一些啟發，可以更快的上手。&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/bsNcjya56v8?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;大家都知道前一段時間興起的 &lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;HTML 5 &lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;熱潮，為了趕上這個熱潮，許多人開始學習網際網路的程式設計，以期望可以在現在這股網路大熱潮中可以有更多的生存空間，在學習 &lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;HTML 5 &lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;之前，我們先想想為什麼 &lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;HTML 5&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; 會紅起來，除了和以前比起來方便多了的標籤和使用 &lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;JavaScript&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; 的 &lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;API&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; 多了更多之外，到底主要的動機是什麼呢？了解了其中的動機，對於我們以後學習寫程式會很有幫助。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;在網路剛被發明出來的時候，那時候的網頁只是單純的「文件」，為了表達文件的各項格式，&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;HTML&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; 的標籤主要都是在表達各種的格式方面，在以前的&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt; Web 1.0&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; 時代，在網路上傳播的資訊都是一些已經被寫好的文件，而使用者透過瀏覽器觀看這些文件給予我們的資訊，可能是一些文字或是圖片，甚至有可能是影片之類的資訊，但是這些資訊對於使用者來說，卻是&lt;span style=&quot;color: red;&quot;&gt;只能觀看但卻不能互動的&lt;/span&gt;，使用者可能這樣反應：「我發現這個作者有些東西寫的不對，希望可以跟他說明那些不對之處，但是我發現這個網站沒辦法讓我回應和留言。」，隨著時代的演進，愈來愈多的使用者有與網頁的互動需求，各式各樣的技術被發明出來，為了表現使用者喜歡的炫麗特效，但是這些特效在原本的網頁技術中卻又沒有支援，有許多的外掛程式隨之產生，除了我們熟悉的 &lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://get.adobe.com/tw/flashplayer/?no_redirect&quot;&gt;Flash plugin&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; 之外 &lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.java.com/zh_TW/&quot;&gt;Java Servlet&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; 也常常是我們常看到的外掛程式，而有些網站，他們可能為了自己的服務，而撰寫了自己的外掛程式，而這些許許多的外掛程式，架構起了我們現行的網際網路應用程式的核心，隨著這些外掛程式的技術愈來愈成熟，許多問題也隨著浮出水面，讓我們回過頭來重新思考，有沒有外掛程式之外的解決方案，回到根本的起點，這是 &lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;HTML 5&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; 產生的其中一個關鍵。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://sadpanda.us/images/1014060-0358CMB.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;205&quot; src=&quot;http://sadpanda.us/images/1014060-0358CMB.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://mozillalinks.org/wp-content/uploads/2007/09/plugin.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;379&quot; src=&quot;http://mozillalinks.org/wp-content/uploads/2007/09/plugin.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
以往我們需要安裝許多的外掛程式來協助我們正常的瀏覽網頁&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/mzPxo7Y6JyA?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
思考為什麼&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;HTML 5 &lt;/span&gt;會興起，可以從幾個角度來切入。&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
第一、&lt;/h3&gt;
智慧型行動裝置的蓬勃發展，智慧型手機大約在最近4年蓬勃發展，以往手機就只是手機的功能，最多就是多個相機和隨身聽的功能，記得我高中時候的手機，每一款手機可能會有所差別，但是差別主要體現在於手機的外觀，而手機本身的內容上，並沒有太大的差別，每台機器的處理器、記憶體、以及可儲存的空間並不會差距太大。讓我印象很深刻的是，當時班上的同學有人買了一台&lt;a href=&quot;http://www.sogi.com.tw/product/productinfo.aspx?pno=6937&quot;&gt;現在看來很陽春的智慧型手機&lt;/a&gt;，但是這樣的規格在當時，幾乎是無法想像的超高級規格，當時可儲存空間平均落在 &lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;20 MB&lt;/span&gt; 左右的&lt;a href=&quot;http://zh.wikipedia.org/wiki/%E5%8A%9F%E8%83%BD%E5%9E%8B%E6%89%8B%E6%A9%9F&quot;&gt;功能型手機&lt;/a&gt;，看到這樣的智慧型手機，可以說是潰不成軍。呃....扯遠了，回到正題，因為智慧型手機的興起，造成了網際網路從以前單純從電腦上使用的狀況被打破了，為了行動裝置的網頁瀏覽，網頁設計師，需要考慮的東西比以前更多了：&lt;span style=&quot;color: red;&quot;&gt;使用者的網路不像是以前使用電腦的時候一樣，流量不用錢了&lt;/span&gt;，&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;3G&lt;/span&gt; 上網的流量是要錢的，所以如果網頁常常需要更新，或是網頁裏面有需多大型的元件需要載入，那麼對於使用行動裝置的使用者來說這根本就是悲劇阿，你需要大量的載入，無形中就是在搶使用者的錢，這樣的情形，我想不會是每個網頁設計師希望看到的結果吧。而行動裝置免不了的就要思考到電池續航力的問題了，對於&lt;span style=&quot;color: red;&quot;&gt;行動裝置來說除了流量的費用之外，最在意的大概就是電池續航力的問題了吧&lt;/span&gt;，畢竟大家都不希望出門帶了很多顆電池只為了一天的使用，這樣太不划算了，而網頁設計師也需要對使用者對電量的吝嗇做妥協，網頁的製作除了精美的外觀和精美的內容之外，也要思考如何才能更快的載入完成，怎麼說呢？因為載入時間愈長，需要和網路互動的時間愈長，對於行動裝置來說，除了流量大之外，更重要的是，這樣的舉動會消耗更多的電力。除了縮短載入時間，還有什麼方式可以為使用者解省電力嗎？我們如是思考，需要在開啟每個外掛程式的時候都提醒使用者你正在開啟外掛程式，而同時開啟更多的應用程式，就造成了需要更多的多功處理，處理器為了進行多功處理需要輸出更高的功率，而更高的功率意味著更高的能量消耗，所以電池的可使用時間就大幅度的縮短了。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://online.sccnn.com/icon/992/battery_007.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://online.sccnn.com/icon/992/battery_007.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
電池續航力一直是我們所關注的焦點&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
第二、&lt;/h3&gt;
&lt;div&gt;
在網際網路應用程式日益發展起來的今天，我們發現，各家廠商都各自推出自己的應用程式，而這些應用程式都需要安裝各自的外掛程式，諸如，蘋果公司的 &lt;a href=&quot;http://zh.wikipedia.org/wiki/QuickTime&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;QuickTime&lt;/span&gt;&lt;/a&gt;&amp;nbsp;、微軟公司的 &lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.microsoft.com/taiwan/msdn/silverlightnet/&quot;&gt;Silverlight&lt;/a&gt; 、Adobe &lt;/span&gt;公司的 &lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Flash Player&lt;/span&gt; ... 族繁不及備載，這麼多的外掛程式，造成了使用者在瀏覽網頁的時候的諸多不方便，除了需要大量的硬碟空間在儲存這些外掛程式之外，更怕的是這麼多的外掛程式在下載的時候，是否會有有心人透過這樣的管道，把一些惡意軟體植入到使用者的電腦，無形之間造成了一個危險的存在，所以一個新的不需要外掛程式的解決方案油然而生，這也是&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt; HTML 5 &lt;/span&gt;的一個里程碑。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
透過以上的這些分析，想必大家對於網路技術的一些發展有了初步的認識，上面亂七八糟的一大堆東西，對於以後寫網頁很有用，可以讓我們在寫程式之前先檢驗我們自己的想法是否適合，有沒有什麼需要改善的地方，除了炫麗的特效，我還可以給使用者什麼樣的完美體驗？可以幫他在電力方面更加節省？還是可以在在性能方面更加優化？還是可以讓他用更少流量達到更好的應用程式體驗？這些都是我們需要去思考的部份，以後會有更多的討論有關於如何製作網頁和網頁邊寫的概念，希望這些雜亂的文字對大家有用。&lt;/div&gt;
&lt;br /&gt;</description><link>http://dylandychat.blogspot.com/2012/12/blog-post.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4796470019675546757.post-3286350836665791625</guid><pubDate>Tue, 20 Nov 2012 03:56:00 +0000</pubDate><atom:updated>2012-11-19T19:57:37.484-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">hangout</category><category domain="http://www.blogger.com/atom/ns#">整理分析</category><category domain="http://www.blogger.com/atom/ns#">視訊程式</category><title>各家視訊程式比較 -- 淺談 Google+ Hangout </title><description>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Google+ 是 Google 自己的社交網站，希望可以跟社群網站大老 Twitter 、Facebook 搶下一片天空，雖然 Google 有著世界上幾乎最好的一群工程師團隊，他們寫出的 Google + 也非常的出色，但是在較晚進入市場的劣勢之下，使用 Google + 的族群卻相對的少了許多，目前還是以工程師和相關技術類的工作人員為主要用戶。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;在 Google + 裏面， Google 把許多他們自己的服務完整的整合到了其中，使得 Google + 在分享訊息上更為的方便與直覺，對於像小弟這樣的重度 Google 使用者來說真的是很方便的工具與社交的管道。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;在眾多的 Google 服務裏面，以前我幾乎沒有用過的服務是 Google Talk ，畢竟認識的人都沒有用，那也沒辦法用的起來，真正開始利用這個服務是在 Google + 將 Google Talk 整合進來以後，並將它改名為 Google Hangout 並新增了許多適合視訊會議的功能，諸如：基本的視訊功能、即時文字訊息、螢幕分享、共同文件編輯、共同檔案管理。&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;簡單的介紹一下 Hangout 的使用方法，希望透過這個介紹可以讓新手快速上手：&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;首先開啟 Google + 頁面，在右上角可以找到 &amp;nbsp;「發起視訊會議」 的按鈕，點下以後，就可以開始與朋友進視訊會議摟。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQuvS1dUWwcOw-_m5471GuBKofpnenbu41O9yOub39qQcYIGCBUhiU7zTNdx83pNNGfkOuDH9EDyU5QHPukWIebIfUVWdBEMypdzEI0mpZfPdnkVktIaNOSbQeK7Uxfi5fpDVBfdqWCrp-/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:07:12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;217&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQuvS1dUWwcOw-_m5471GuBKofpnenbu41O9yOub39qQcYIGCBUhiU7zTNdx83pNNGfkOuDH9EDyU5QHPukWIebIfUVWdBEMypdzEI0mpZfPdnkVktIaNOSbQeK7Uxfi5fpDVBfdqWCrp-/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:07:12.png&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;第一次開啟的時候會要求安裝一個 Google Talk 的插件，這個插件支援各種不同的系統，包括 Windows 、Mac 、和 Linux 都可以安裝使用。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj8hicl74wXzRofAnZZWamwHawiT1vYjQR3YHLa0bF0K0SptMGnv89JLnXGP7ezrc9lTLex2iDK1hqaLmjLroCYOo_w96hjJx-_rmPBH_zU1BQb_bEQuciB1XlKV-8E7lO0hfOYMuQi1UW/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:08:22.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;222&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj8hicl74wXzRofAnZZWamwHawiT1vYjQR3YHLa0bF0K0SptMGnv89JLnXGP7ezrc9lTLex2iDK1hqaLmjLroCYOo_w96hjJx-_rmPBH_zU1BQb_bEQuciB1XlKV-8E7lO0hfOYMuQi1UW/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:08:22.png&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://smallbusinessodyssey.com/wp-content/uploads/2012/01/Google-+-Hangout-install-plugin.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;328&quot; src=&quot;http://smallbusinessodyssey.com/wp-content/uploads/2012/01/Google-+-Hangout-install-plugin.jpg&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;在此插件安裝的過程中可以不需要關閉瀏覽器，也不需要關閉剛剛出現的這個 Hangout 視窗，在安裝完成後就可以直接進行視訊通訊，非常親民的設計。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;安裝完插件以後，就可以進行一些對於此視訊會議的設定。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_u1EXF6G7Uas-5k2qL8e7Ug757jbDqF9WoQRLiKH_t1Ass3875o_r51QWA8gsl4dOxAbQir2G9P98sXvrMOrd62JZDv9siJfaRDSaBi9awyEThQCPZI1mLUDbcAWyOYwrAjDD9i1leBY2/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:08:36.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;221&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_u1EXF6G7Uas-5k2qL8e7Ug757jbDqF9WoQRLiKH_t1Ass3875o_r51QWA8gsl4dOxAbQir2G9P98sXvrMOrd62JZDv9siJfaRDSaBi9awyEThQCPZI1mLUDbcAWyOYwrAjDD9i1leBY2/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:08:36.png&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;右手邊可以直接選擇想要跟誰進行視訊會議，或者在左手邊 「新增使用者名稱、社交圈或電子郵件」裡直接打入朋友的 ID 進行選擇，也可以選擇直播此會議，這個功能可以在 YouTube 上分享這個會議，適合讓無法參與這個會議的人也能在網路上看到這個會議的紀錄，或者是因為 Hangout 限定在場的人數只能有 10 個人，那超過的那些人也可以在網路上一起收看，更或者，像是在一些聚會、演講...等活動，可以直接透過這個功能讓那些不能到場聽講的人們可以透過 YouTube 聽到他們想聽的活動內容。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtx14y3v5z2Om00bih4wmkROMYsa4HOmGbh8o2TWSZCKYCj9J2xTdziy3YJrXx0HJ35zRF0naWsunc6rVdqSi4tjzeqwxeU7DiqoT7n_jAZgyqlsq3z3cr-gExK6yFzfWqCKgvmuIsah_6/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:09:59.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;221&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtx14y3v5z2Om00bih4wmkROMYsa4HOmGbh8o2TWSZCKYCj9J2xTdziy3YJrXx0HJ35zRF0naWsunc6rVdqSi4tjzeqwxeU7DiqoT7n_jAZgyqlsq3z3cr-gExK6yFzfWqCKgvmuIsah_6/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:09:59.png&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;在視訊會議的選項裏面有些其他的東西可以調整，如語言或是你們要討論一些兒童不宜的事情的話，Google 會讓小朋友不能進來這個討論。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKogM7KdubJ2mgeRIlaBeNKQ-nvjf3BmmYoJRxbZogUhDWC7kmaNhVJC80uzSE-ABarJK9I6PD0lNCtcrNQGFW2XcZuqkl3IIv2_2_LmJwNCFro6PobK4EOZl0SP92blNxGT_maOqXj6zq/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:10:44.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;231&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKogM7KdubJ2mgeRIlaBeNKQ-nvjf3BmmYoJRxbZogUhDWC7kmaNhVJC80uzSE-ABarJK9I6PD0lNCtcrNQGFW2XcZuqkl3IIv2_2_LmJwNCFro6PobK4EOZl0SP92blNxGT_maOqXj6zq/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:10:44.png&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;在送出邀請以後，對方在 Google + 的視窗裡就會跳出一個對話方塊，並且顯示有人要跟你一起視訊通話的通知，點選加入視訊會議即可馬上進行視訊通話了。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgz8S4CRmG5fpjzC37FxQTbNbam898gbZ8qKBgGP6jm1MQz97QtnJB-iCEjINH0X5-VaQlIL09supwD4ox7RGt_JDyC2XILsNhOuYl2lmjstgGuGOYYIXxqvAK-dFv5FYyLhWHuN_h233UY/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:33:40.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;221&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgz8S4CRmG5fpjzC37FxQTbNbam898gbZ8qKBgGP6jm1MQz97QtnJB-iCEjINH0X5-VaQlIL09supwD4ox7RGt_JDyC2XILsNhOuYl2lmjstgGuGOYYIXxqvAK-dFv5FYyLhWHuN_h233UY/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:33:40.png&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi12VTTUOXnZBAEJ1LuMvo9PquNOPoet58lrYihzfkX_oLBWvPI-kiVsW74iKBxIZLdCWV50VpR1OZXgPfeCZHBOYpTxJyidmQL4wJFMgpWrkxCrZLgkZrO9YmkNC5rv3InrzryOrE9ao0_/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:34:46.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;178&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi12VTTUOXnZBAEJ1LuMvo9PquNOPoet58lrYihzfkX_oLBWvPI-kiVsW74iKBxIZLdCWV50VpR1OZXgPfeCZHBOYpTxJyidmQL4wJFMgpWrkxCrZLgkZrO9YmkNC5rv3InrzryOrE9ao0_/s320/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:34:46.png&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;進入視訊會議以後，可以看到右手邊有些按鍵，透過這些按鍵，可以啟用一些方便的會議功能，如 邀請其他人、即時通訊、桌面分享、文件共同編輯、一起看 YouTube 影片之類的...&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;邀請其他人加入此視訊會議：&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWNW-Z5F1rvSZXJCi2FTsHPPrtEknxdwoD0_q_kH9GQJEf0Adw7MOemDjCFp1VQewSlNlD1J-lA4kaLMsA6io0sxwQdifUeCBKwcX2JKpQPJj2Kq8ZpqJ_2M_X9ZkrcciyyW85ILnRdnHP/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:35:00.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;221&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWNW-Z5F1rvSZXJCi2FTsHPPrtEknxdwoD0_q_kH9GQJEf0Adw7MOemDjCFp1VQewSlNlD1J-lA4kaLMsA6io0sxwQdifUeCBKwcX2JKpQPJj2Kq8ZpqJ_2M_X9ZkrcciyyW85ILnRdnHP/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:35:00.png&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;點選「邀請其他人」的選項，即可如開始的時候那樣加入其他的人員&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNnYi3k1ZylXdY5iQy2kClPUQTMHoEP4XMZ800NlcF1Ko5dnp7wC31ZE6qwK_LLMPuByo-1XClOz002up-sVXl8r0CYONLWl5mtX3qRmErSo4NwssJsP1nuSodrOFrQSGa7VPZYsqffUD8/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:35:08.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;221&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNnYi3k1ZylXdY5iQy2kClPUQTMHoEP4XMZ800NlcF1Ko5dnp7wC31ZE6qwK_LLMPuByo-1XClOz002up-sVXl8r0CYONLWl5mtX3qRmErSo4NwssJsP1nuSodrOFrQSGa7VPZYsqffUD8/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:35:08.png&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;點選「即時通訊」選項，可以在右手邊開啟文字的即時通訊功能&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;**注意** 這個文字訊息並不會儲存在你的電腦裏面，&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;所以如果不小心下線又上線的話，剛才的那些文字都會消失。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8-ziJuZh0TOlHblgXixgmOTs5l_9R2-FC_idFGzoezQA5qT8-7uWtOtP6R3qBOJm7H2h3WcWE8ozmqc1xqwfc2r3Q5thdyiWyS087LLOmjns1okkMSjkPDmLujm-eKPKUFFH1gSB9KLZA/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:35:14.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;221&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8-ziJuZh0TOlHblgXixgmOTs5l_9R2-FC_idFGzoezQA5qT8-7uWtOtP6R3qBOJm7H2h3WcWE8ozmqc1xqwfc2r3Q5thdyiWyS087LLOmjns1okkMSjkPDmLujm-eKPKUFFH1gSB9KLZA/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:35:14.png&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;螢幕分享功能，可以透過螢幕分享功能讓所有的會議人員看到你目前的螢幕畫面，也可以是某個特定的視窗，讓會議的彈性更大了，以往需要傳輸整個檔案的事情，現在只要透過畫面即可，既省時，也省流量。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwn8zp17Ncrfv2jqHdKOW-BnfPUY4LMFO94q08ULYF2lCyLrcPNhtIyTB1jVw7FmA-9qV1LuSUnJ3rT9H_zuVMB2uDKlGNRMoaSAvq8i1N10qHWXF4h_lb3Hwh8oYdtMkOIiXQ5PjHfGcL/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:35:49.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;221&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwn8zp17Ncrfv2jqHdKOW-BnfPUY4LMFO94q08ULYF2lCyLrcPNhtIyTB1jVw7FmA-9qV1LuSUnJ3rT9H_zuVMB2uDKlGNRMoaSAvq8i1N10qHWXF4h_lb3Hwh8oYdtMkOIiXQ5PjHfGcL/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:35:49.png&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Google Effect 可以讓視訊會議的使用者用一些可愛的圖案，而這些圖案會貼在會議人員的臉上，透過人臉追蹤的技術，可以讓那些可愛的圖像貼在會議人員的臉上，讓會議可以更加的有趣，降低沉悶的氣氛。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQxwJOuRFVmzEagIL4pNSJfbs1HrahVF54sS1XAwp-OPIrIikVItI5OwjJ9oAMfGd7J1q91FtfcDrzjbEsV78ZRHHdI7OlzQDlPqm0g3PMvTs8oxFf2tA5wuXq2Fvch7Om3c6xyI0rxjuA/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:37:05.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;221&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQxwJOuRFVmzEagIL4pNSJfbs1HrahVF54sS1XAwp-OPIrIikVItI5OwjJ9oAMfGd7J1q91FtfcDrzjbEsV78ZRHHdI7OlzQDlPqm0g3PMvTs8oxFf2tA5wuXq2Fvch7Om3c6xyI0rxjuA/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:37:05.png&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Google Drive 的按鈕，可以開啟你自己的 Google Drive ，可以建立此次會議的會議記錄，也可以開啟以前的文件讓會議裡的成員都可以共同編輯這份文件。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJSMucvLtG_xeglz5M7drJuU8u8Z8pCFDcR5Uv43aNLxm0NGUz1WrGlLfdOdISoZ6aLN_6KdKU_d-nmeTv5hZMM024MKjVs337WKJXo4n9fpOB47xxwYT-k2fi4igie3wYUE1HkC_IQrMQ/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:36:34.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;221&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJSMucvLtG_xeglz5M7drJuU8u8Z8pCFDcR5Uv43aNLxm0NGUz1WrGlLfdOdISoZ6aLN_6KdKU_d-nmeTv5hZMM024MKjVs337WKJXo4n9fpOB47xxwYT-k2fi4igie3wYUE1HkC_IQrMQ/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:36:34.png&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;也可以開啟 YouTube 共享的按鍵，在許多的討論中 YouTube 會是一個不錯的發想空間&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;以上為一些小小的介紹，如果有什麼不足的話，還請多多包含&lt;/span&gt;&lt;/h3&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;補充：&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;在 Google 釋出新版的 Hangout 以後，&lt;a href=&quot;http://dylandychat.blogspot.tw/2012/10/linux-google-hangout-bug.html&quot;&gt;這篇文章&lt;/a&gt;&amp;nbsp;所寫到關於在 Linux 上螢幕分享會出現問題，已經解決。（根據 &lt;a href=&quot;http://www.plurk.com/maxwux&quot;&gt;Whisky Max&lt;/a&gt; 大大表示，在 &lt;a href=&quot;http://www.chakra-project.org/&quot;&gt;Chakara&lt;/a&gt; 上螢幕分享會回不了原本的視訊畫面）&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;</description><link>http://dylandychat.blogspot.com/2012/11/google-hangout.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQuvS1dUWwcOw-_m5471GuBKofpnenbu41O9yOub39qQcYIGCBUhiU7zTNdx83pNNGfkOuDH9EDyU5QHPukWIebIfUVWdBEMypdzEI0mpZfPdnkVktIaNOSbQeK7Uxfi5fpDVBfdqWCrp-/s72-c/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-16+12:07:12.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4796470019675546757.post-7194891923658764507</guid><pubDate>Thu, 01 Nov 2012 15:08:00 +0000</pubDate><atom:updated>2012-11-05T18:53:42.116-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">fix</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">筆記</category><title>解決 CrossOver 在 Ubuntu 12.04 下安裝 IE 無法啟動</title><description>因為昨日(10/31) 萬聖節 &lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;CrossOver&lt;/span&gt; 大放送的關係，所以也去弄了一套來玩玩看，順便來把比較會需要的 &lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Windows&lt;/span&gt; 程式裝起來，發現&lt;a href=&quot;http://www.codeweavers.com/compatibility/browse/name/&quot;&gt;支援列表蠻完整的&lt;/a&gt;，對於在非 &lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Windows&lt;/span&gt; 平台的使用者來說，這樣的程式量其實是蠻足夠的。&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
話說，小弟我現在用的系統是 &lt;span style=&quot;color: #990000; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Ubuntu 12.04&lt;/span&gt; ，想說裝了 &lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;CrossOver&lt;/span&gt; 以後，一定要裝個 &lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;IE&lt;/span&gt; 來用，這樣才不會因為一個瀏覽器的原因就需要重新開一個虛擬機器或是重新開機成 &lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Windows&lt;/span&gt; 來使用，所以就高興的裝了下去，而在 &lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;CrossOver&lt;/span&gt; 上則表示，目前他們所支援的版本，穩定版為 &lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;IE 7 &lt;/span&gt;，可以透過他們的網站下載安裝包，不需自己手動下載，所以我就很高興的點了下去，讓他自己安裝了。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK6e8Sit8jD7D08zNUFvT9l-FstnC0oFctWA-DbAvia6NksRSew2-jnkbHBRYQazg1Jmx_Vtz2kE0u4-1zp3naLMkOBfFw8-q_2jnx0C5deSEHxTJwlH8cxy0V5Hur8S-VhlMa4lXr0Bym/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-01+22:24:07.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;335&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK6e8Sit8jD7D08zNUFvT9l-FstnC0oFctWA-DbAvia6NksRSew2-jnkbHBRYQazg1Jmx_Vtz2kE0u4-1zp3naLMkOBfFw8-q_2jnx0C5deSEHxTJwlH8cxy0V5Hur8S-VhlMa4lXr0Bym/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-01+22:24:07.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
經過了一段時間的安裝之後，程式很成功的被安裝起來了，但是第一次開啟的時候，讓感到很挫折，IE 會自動下載一個不知道是什麼的檔案，然後就自動關閉了，本來我想，可能是安裝失敗的問題，結果不然，經過多次的反覆安裝之後，仍然還是遇到這個問題。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7jPckmPb9FGSP4Rf-UPBHfbZ2ApqD1DqtKwDoWzm7Dc2REensrQPOAeKBIBZWVwA9xpJ2tNAFF4bCwS9bZGRccGYErKeg-s-__FSR2u8m7umu3Crifk5YmWjEkGjImIp4WP0tULPOsOev/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-01+22:29:40.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;285&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7jPckmPb9FGSP4Rf-UPBHfbZ2ApqD1DqtKwDoWzm7Dc2REensrQPOAeKBIBZWVwA9xpJ2tNAFF4bCwS9bZGRccGYErKeg-s-__FSR2u8m7umu3Crifk5YmWjEkGjImIp4WP0tULPOsOev/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-01+22:29:40.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
經過搜尋，發現，原來是 &lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Ubuntu 12.04&lt;/span&gt; 的系統設定問題，只要透過一個簡單的指令，就可以使安裝好的 IE 正常運作了。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6Rxst3fr9GhiR3t30ws5GrhD31HuHzJ17SKMj0uKBOlD12aQ1o3aerxGYFARwe00pvEWi3PGtTP9IN9ESFcY86tKil8kQMKvvfOS3saH3KZdA8FeO5ecyQDdvWQeiYvvPjHwQ-8YXFJ9J/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-01+22:30:15.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6Rxst3fr9GhiR3t30ws5GrhD31HuHzJ17SKMj0uKBOlD12aQ1o3aerxGYFARwe00pvEWi3PGtTP9IN9ESFcY86tKil8kQMKvvfOS3saH3KZdA8FeO5ecyQDdvWQeiYvvPjHwQ-8YXFJ9J/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-01+22:30:15.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
打開終端機，輸入：&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;code&gt;&lt;span style=&quot;color: #274e13; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope&lt;/b&gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
這可以把 0 這個參數暫時寫入到後面這個檔案裏面，但是在重新開機以後，這樣的設定就需要重新設定，而要確保重新開機以後此設定還可以正確執行，要修改&lt;b&gt; &lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;/etc/sysctl.d/10-ptrace.conf&lt;/span&gt; &lt;/span&gt;&lt;/b&gt;這個檔案。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
在終端機輸入：&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;code&gt;&lt;span style=&quot;color: #274e13; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;sudo vim /etc/sysctl.d/10-ptrace.conf&lt;/b&gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTRJkO9VF_MzHwEHRHCxboNLwln7C8-0BKqvIvqkR1l3ET3qb54B5qVuVDOoC0q5aKRXDU1DDOPqfhTQPPa58qysEbalcN9XxM5IG7Nh1PLG6QgRFrNJiN4zIB8ml3nf0iLBzmxM_FF6Ef/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-01+22:31:30.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTRJkO9VF_MzHwEHRHCxboNLwln7C8-0BKqvIvqkR1l3ET3qb54B5qVuVDOoC0q5aKRXDU1DDOPqfhTQPPa58qysEbalcN9XxM5IG7Nh1PLG6QgRFrNJiN4zIB8ml3nf0iLBzmxM_FF6Ef/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-01+22:31:30.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiViiJJoSTxZAn2IV8g8XBIMA8LvxabwJZLCipofU3kDxdNtVN4B0b-orWFIXZfrQeQtJntXQ3B8Sd70MMFJLfUh60RDievaYV2rvJ5dUdmW6Zc-348n_Jno6gw45W51Lqc2D0swv_emUo5/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-01+22:31:49.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiViiJJoSTxZAn2IV8g8XBIMA8LvxabwJZLCipofU3kDxdNtVN4B0b-orWFIXZfrQeQtJntXQ3B8Sd70MMFJLfUh60RDievaYV2rvJ5dUdmW6Zc-348n_Jno6gw45W51Lqc2D0swv_emUo5/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-01+22:31:49.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
找到 &lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;kernel.yama.ptrace_scope&lt;/b&gt;&lt;/span&gt; &lt;span style=&quot;color: #7f6000; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;=&lt;/b&gt;&lt;/span&gt; &lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;1&lt;/b&gt; &lt;/span&gt;，將值改成 0 ，儲存後關閉檔案。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;如此一來 IE 就可以正常的運作摟！&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXnujPQSkzQ32Br27je77JqjsoKh4fXzanVIcDO2qxWhcE3KZXHNYLqFEYb0L3zlbZiMfgEXGyvvhUjWf8M_lNQ8HUKH60Z174OojQ5gqxlMNLpXGjAD5oCPXuJH0OqWNH6IbNUuhcHdLu/s1600/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-01+22:32:22.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;303&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXnujPQSkzQ32Br27je77JqjsoKh4fXzanVIcDO2qxWhcE3KZXHNYLqFEYb0L3zlbZiMfgEXGyvvhUjWf8M_lNQ8HUKH60Z174OojQ5gqxlMNLpXGjAD5oCPXuJH0OqWNH6IbNUuhcHdLu/s400/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-01+22:32:22.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</description><link>http://dylandychat.blogspot.com/2012/11/crossover-ubuntu-1204-ie.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK6e8Sit8jD7D08zNUFvT9l-FstnC0oFctWA-DbAvia6NksRSew2-jnkbHBRYQazg1Jmx_Vtz2kE0u4-1zp3naLMkOBfFw8-q_2jnx0C5deSEHxTJwlH8cxy0V5Hur8S-VhlMa4lXr0Bym/s72-c/%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96%E5%AD%98%E7%82%BA+2012-11-01+22:24:07.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4796470019675546757.post-8341996930495503807</guid><pubDate>Thu, 01 Nov 2012 05:29:00 +0000</pubDate><atom:updated>2012-10-31T22:44:10.142-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">整理分析</category><category domain="http://www.blogger.com/atom/ns#">視訊程式</category><title>市場主流視訊程式分析比較--簡述</title><description>目前市面上有許多可以通過網路，來進行免費的視訊、通話之類的軟體，這裡將討論幾個目前市場上較為有名的幾個免費視訊通話，分析他們的優缺點與哪些族群適合這些產品。&lt;br /&gt;
&lt;br /&gt;
例如：一對一視訊通話，普通的 MSN 、Skype、 Hangout 都是簡單好用的程式，而對於學生等，需要多方視訊，又需要便宜的通話費族群， Hangout 會是不錯的選擇。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.allspammedup.com/wp-content/uploads/2011/06/skype_logo_1_medium.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;http://www.allspammedup.com/wp-content/uploads/2011/06/skype_logo_1_medium.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h3&gt;
&lt;b&gt;&lt;a href=&quot;http://skype.pchome.com.tw/&quot;&gt;Skype&lt;/a&gt;&lt;/b&gt;&lt;/h3&gt;
&amp;nbsp;Skype 在前幾年是一個蠻有名的一款視訊通話的程式，不錯的畫質，但是這並不是他主要的賣點，他最大的賣點在於，他可以讓使用者透過網路&lt;a href=&quot;http://skype.pchome.com.tw/skype_intro/teach_skypeout.html&quot;&gt;撥打普通的家用電話、行動電話等電信電話&lt;/a&gt;，而它的優點是在於撥打跨國電話時，有&lt;a href=&quot;http://skype.pchome.com.tw/skypeout/product.html&quot;&gt;非常便宜的費率&lt;/a&gt;，讓許多在外的遊子們可以透過網路，便宜的連繫遙遠的家人。&lt;br /&gt;
&lt;br /&gt;
Skype 可以同時 25 人同時通話，是一個蠻有亮點的功能，對於很多頻寬不大的使用者來說，像是 3G的使用者，他們希望能透過網路進行遠距會議，但是視訊對於頻寬的要求太高了，所以可以使用這個通話的功能，既可以滿足開會的需求，也可以有不錯的會議品質。&lt;br /&gt;
&lt;br /&gt;
可惜的是，Skype 在視訊通訊上的努力並不是那麼的完善，目前只有一對一視訊通話是免費的，而多人視訊，則是&lt;a href=&quot;http://skype.pchome.com.tw/skypetwweb/knowledge/knowledge.action?method=dispListpage&amp;amp;catId=8a8a9e442dc048cb012dc04947940001&quot;&gt;需要付費的方案&lt;/a&gt;，並且最多也只能 10 個人，算是比較可惜的地方。&lt;br /&gt;
&lt;br /&gt;
對於一些視訊上的輔助功能，像是「桌面分享」、「多人畫板」...等功能支援較為不足，像是在「桌面分享」方面，需要版本5.0以上的產品，但是對於&lt;a href=&quot;http://www.skype.com/intl/zh-Hant/get-skype/on-your-computer/linux/&quot;&gt; Linux 使用者卻只有 4.0 的版本&lt;/a&gt;可以提供下載，是較為可惜的地方，感覺他們對於 Linux 產品的開發比較不是那麼熱心。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://blog.hubspot.com/Portals/249/images/Hangout_with_us-e1333463926589.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;http://blog.hubspot.com/Portals/249/images/Hangout_with_us-e1333463926589.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;a href=&quot;http://www.google.com/intl/zh-HK_ALL/+/learnmore/hangouts/&quot;&gt;&lt;b&gt;Hangout&lt;/b&gt;&lt;/a&gt;&lt;/h3&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp;Hangout 是一個由 Google Talk 脫胎而來的線上即時通訊整合平台，既然是整合平台，他除了即時通訊之外，他也整合了許多的 Google 服務，可以讓視訊會議在進行中，也可以使用這些 Google 服務，共同的使用這些服務，可以減少無用的資訊傳輸，增加會議的效率。&lt;br /&gt;
&lt;br /&gt;
Hangout 提供了最多 10 人的視訊會議，免費的多人視訊是一大亮點，除此之外，他也可以讓使用者透過 Hangout 讓使用們都可以分享目前的畫面，在進行許多會議的時候，是一個很方便的功能。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.wappworks.com/wp-content/uploads/2012/04/hangout_screenshare.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;222&quot; src=&quot;http://www.wappworks.com/wp-content/uploads/2012/04/hangout_screenshare.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;Hangout 也有提供&lt;a href=&quot;http://www.google.com/+/learnmore/hangouts/onair.html&quot;&gt;線上直播功能&lt;/a&gt;，可以讓使用者輕易的直播出他們的會議內容，可以讓不能參與這場討論的人，也可以透過 YouTube 觀看這場會議，讓直播不再像以往那麼困難，每個人都可以輕易達成。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;nbsp;除了整合 Google 服務之外， Hangout 還有提供像是 Skype 一樣的電信電話通話功能，&lt;a href=&quot;https://www.google.com/voice/b/0/rates?p=hangouts&quot;&gt;價錢也是非常的親民&lt;/a&gt;，透過這樣的功能， Hangout 漸漸的成為了許多公司和學生開會的選擇，在往後的文章會特別討論有關於 Google Hangout 的教學與功能介紹。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://incubator.apache.org/openmeetings/images/logo-2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;64&quot; src=&quot;http://incubator.apache.org/openmeetings/images/logo-2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;&lt;a href=&quot;http://incubator.apache.org/openmeetings/&quot;&gt;OpenMeetings&lt;/a&gt;&lt;/b&gt;&lt;/h3&gt;
這是一款較為進階的程式，是由使用者自行架設伺服器，而使用者們透過連線到這個私人伺服器來進行會議的程式。&lt;br /&gt;
&lt;br /&gt;
OpenMeetings 是一個開放原始碼的專案，是由 Flash 作為伺服器端的架構，客服端則是使用 Java 的執行環境，所以是一個高度跨平台的線上會議方案，對於公司內部的會議，或是對於使用者使用不同平台的會議環境來說，是比較適合的一種方式。&lt;br /&gt;
&lt;br /&gt;
OpenMeetings 也有提供許多其他會議軟體會提供的功能，諸如多人視訊、共用畫板、共同編輯、桌面分享等會議功能，對於需要會議的公司來說可以說是一大福音。&lt;br /&gt;
&lt;br /&gt;
後面幾篇文章會有 OpenMeetings 的安裝及功能的分享，請大家敬請期待。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
＝＝＝＝＝＝＝＝＝＝＝＝＝＝此篇文章會持續長大中＝＝＝＝＝＝＝＝＝＝＝＝＝＝&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description><link>http://dylandychat.blogspot.com/2012/10/blog-post_31.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4796470019675546757.post-833506915847415777</guid><pubDate>Fri, 26 Oct 2012 07:03:00 +0000</pubDate><atom:updated>2013-10-05T21:28:43.964-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C 語言</category><category domain="http://www.blogger.com/atom/ns#">筆記</category><category domain="http://www.blogger.com/atom/ns#">資料結構</category><title>C 語言學習筆記 -- 內建排序函式</title><description>一直以來想到排序，我大部份都是使用 Bubble sort 來做排序，並不是最好的，也不是最快的，但是很直觀。

其實在 ANSI C 的標準函式庫裡面就自帶了一個更快、更高接的內建排序函式:Quick Sort 

這裡簡介一下 Quick Sort 演算法：

&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://upload.wikimedia.org/wikipedia/commons/6/6a/Sorting_quicksort_anim.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://upload.wikimedia.org/wikipedia/commons/6/6a/Sorting_quicksort_anim.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Quick Sort 示意圖 &amp;lt;&lt;a href=&quot;http://zh.wikipedia.org/wiki/File:Sorting_quicksort_anim.gif&quot;&gt;維基百科&lt;/a&gt;&amp;gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
快速排序使用（Divide and conquer）策略來把一個（list）分為兩個（sub-lists）。&lt;br/&gt;
步驟為：
&lt;ol style=&quot;background-color: grey; font-family: sans-serif; font-size: 15px; border-radius:5px;list-style-type:none;line-height: 22.066667556762695px; list-style-image: none; margin: 0.3em 0px 0px 1em; padding: 5px 7px;&quot;&gt;
&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;從數列中挑出一個元素，稱為 &quot;基準&quot;（pivot），&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;重新排序數列，所有元素比基準值小的擺放在基準前面，所有元素比基準值大的擺在基準的後面（相同的數可以到任一邊）。在這個分割結束之後，該基準就處於數列的中間位置。這個稱為分割（partition）操作。&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;遞迴地（recursive）把小於基准值元素的子數列和大於基准值元素的子數列排序。&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
運用Quick Sort 的演算法，時間複雜度在最差狀況，有O(n^2) ，但是這樣的狀況並不常見，平均狀況則有O(n log n)的效率。&lt;br /&gt;
&lt;div style=&quot;text-align: right;&quot;&gt;
&amp;nbsp;以上資料出自&lt;a href=&quot;http://zh.wikipedia.org/wiki/%E5%BF%AB%E9%80%9F%E6%8E%92%E5%BA%8F&quot;&gt;&amp;lt;&amp;lt;維基百科&amp;gt;&amp;gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
ANSI C 的標準函式庫裡有一個直接好用的函數，可以直接做快速排序，我們可以使用以下的作法來達成：&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: purple;&quot;&gt;&lt;b&gt;qsort&lt;/b&gt;&lt;/span&gt;( 需要排序的陣列 , 陣列的大小, &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;sizeof&lt;/b&gt;&lt;/span&gt;(排序的物件), 比較的方法 );&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;這個函數需要傳入我們需要排序的陣列，&lt;span style=&quot;color: red;&quot;&gt;陣列裡面的東西不論是什麼，只要能夠排序都可以傳給這個函數&lt;/span&gt;，不論是英文字、整數、浮點數、甚至中文字，都可以送進去給他排序蠻神奇的東西。&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;比較需要注意的是，我們要在函數的最後傳入一個如何比較的方法給 qsort ，畢竟什麼都可以排序的原因是，如何比較大小的規則是由我們程式設計師自行定義，例如我最近寫到的排大小的程式，程式碼如下：&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;color: purple;&quot;&gt;&lt;b&gt; qsort&lt;/b&gt;&lt;/span&gt;(student, counter, &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;sizeof&lt;/b&gt;&lt;/span&gt;(&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt;), cmp);&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;
&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;b&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;int&lt;/span&gt;&lt;/b&gt; cmp( &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;const&lt;/b&gt;&lt;/span&gt; &lt;span style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;void&lt;/b&gt;&lt;/span&gt; *a, &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;const&lt;/b&gt;&lt;/span&gt; &lt;span style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;void&lt;/b&gt;&lt;/span&gt; *b) {&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #660000;&quot;&gt;&lt;b&gt;return&lt;/b&gt;&lt;/span&gt; *((&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt;*) a) - *((&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;int&lt;/b&gt;&lt;/span&gt;*) b) ;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;}&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;
上面這個排序方法是為了將一組學生的陣列進行排序，比較大小的方法用自訂函式 cmp 來定義，而 cmp 裡面我們可以看到傳入的參數是用 &lt;span style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;void&lt;/b&gt;&lt;/span&gt; * 這個無型別指標來進行指向，因為就像上面所說，&lt;span style=&quot;color: purple;&quot;&gt;&lt;b&gt;qsort&lt;/b&gt;&lt;/span&gt; 這個函數可以對任何類型的函數來進行排序，所以他必須要能對任何東西進行指向才可以，但是&lt;span style=&quot;color: #660000;&quot;&gt;&lt;b&gt; return&lt;/b&gt;&lt;/span&gt; 的時候，我們必須能進行大小的比較，所以我們必須把 &lt;span style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;void&lt;/b&gt;&lt;/span&gt; * 轉換成我們原來資料的類型，像是上面我就是轉換成 &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;int *&lt;/b&gt;&lt;/span&gt;&amp;nbsp;但是為了要進行大小的操控，所以又必須把指標轉換回原資料，所以在最外層要再包上另外一個 &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;*&lt;/b&gt;&lt;/span&gt; ，最後用相減的方式，可以知道&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt; a&lt;/b&gt;&lt;/span&gt; 和 &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;b&lt;/b&gt;&lt;/span&gt; 之間的大小差別，從而可以進行大小的排序。&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;結論&lt;/b&gt;：&lt;br /&gt;
這個方法在程式語言比賽的時候是一個很實用的功能，但是對於新手來說可能不是那麼適合使用，畢竟多了解各種不同的排序演算法的建立方式，以及應用方式，更能增加對於寫作程式的經驗和想法。</description><link>http://dylandychat.blogspot.com/2012/10/c.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4796470019675546757.post-4784066186477804610</guid><pubDate>Tue, 16 Oct 2012 03:42:00 +0000</pubDate><atom:updated>2012-10-29T07:54:06.526-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">整理分析</category><category domain="http://www.blogger.com/atom/ns#">筆記</category><title>各家雲端硬碟比較與簡易分析</title><description>最近各家雲端硬碟業者百家爭鳴，都用大容量的免費空間來吸引使用者使用他們的平台，想說來整理一下這些雲端硬碟的比較和分析一下這些產品的特性吧：&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://secure.shared.live.com/~Live.SiteContent.Explore/~15.40.70/header/logo_sky.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://secure.shared.live.com/~Live.SiteContent.Explore/~15.40.70/header/logo_sky.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;微軟的 &lt;a href=&quot;http://windows.microsoft.com/zh-TW/skydrive/home&quot;&gt;Skydrive&lt;/a&gt;，提供了免費7GB的線上儲存空間，而且對於Microsoft Office 的相容性相當良好，成為一些學生族群喜愛的作業集散地，並有著Windows 、Mac 和網路都能存取的多平台優勢。&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://blog.backupify.com/wp-content/uploads/2012/04/Google_Drive_Logo_lrg-580x461.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;158&quot; src=&quot;http://blog.backupify.com/wp-content/uploads/2012/04/Google_Drive_Logo_lrg-580x461.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;最有發展雲端空間基礎的 Google 也不落人後的，相繼推出了 &lt;a href=&quot;https://www.google.com/intl/zh_TW/drive/start/index.html?authuser=0&quot;&gt;Google Drive&lt;/a&gt;&amp;nbsp;，提供了5GB的線上空間，因為 Google Drive 是從以往Google 令人稱讚的Google 文件發展而來，在許多有線上會議需求的族群，如工程師、學生...間有著很高的支持度，可惜的是，雖然有許多工程師使用者， Google 仍舊沒有打算推出 Linux 版本的 Google Drive ，但是在其他的平台，如Windows 、Mac 、iOS、Android 都有蠻好的支援。&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://3.bp.blogspot.com/-VEXM1HhE284/Te27pbdlcLI/AAAAAAAAEoI/vTAdzJFQ0No/icloud.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;196&quot; src=&quot;http://3.bp.blogspot.com/-VEXM1HhE284/Te27pbdlcLI/AAAAAAAAEoI/vTAdzJFQ0No/icloud.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;蘋果在推出 OSX 10.7 Lion 的同時，也推出了 &lt;a href=&quot;http://www.apple.com/tw/icloud/&quot;&gt;icloud&lt;/a&gt;&amp;nbsp;雲端硬碟，提供了5GB的空間可以儲存資料，但是這5GB卻是受限的存取，譬如只能存取相片，而想要存取&lt;a href=&quot;http://www.apple.com/tw/iwork/&quot;&gt;iwork&lt;/a&gt; 所產生的檔案，必須先購買 iwork 應用程式，並且 icloud 只支援 Mac 和 iOS 的裝置，算是一個族群明顯的產品。&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4C4sd3yYmLPSpw978fKFJPZjbBS1zlt9nDPdggqsAEAAAeyngoZRmHFgcJXOmP1tyJLtqnIA61ZMd1fQTK20T-gzGsVn0rxMbpWauRwVW34mrOgrp-8u8hBewIAGwHTYSsj73qLHHJuVZ/s320/dropbox-iphone-mj.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4C4sd3yYmLPSpw978fKFJPZjbBS1zlt9nDPdggqsAEAAAeyngoZRmHFgcJXOmP1tyJLtqnIA61ZMd1fQTK20T-gzGsVn0rxMbpWauRwVW34mrOgrp-8u8hBewIAGwHTYSsj73qLHHJuVZ/s200/dropbox-iphone-mj.jpg&quot; width=&quot;190&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.dropbox.com/&quot;&gt;Dropbox &lt;/a&gt;是最早，也是最有名的一個雲端平台，他們所創的在檔案管理員裡面新增專屬同步資料夾的作法，也在後來為各家產品學習的對象，可惜的是，相對於其他公司只能算是一間小公司的Dropbox 只能提供 2GB的免費空間提供給使用者，但是他優秀的跨平台性，除了Windows 、Mac 之外Linux 也有提供原生的程式，讓使用者可以無縫的同步自己的資料，是一個方便的雲端硬碟選擇。&lt;span style=&quot;color: #990000;&quot;&gt;如果你是學生的話，可以透過 Dropbox 的&lt;a href=&quot;https://www.dropbox.com/spacerace?r=NTEyNTQ3Njk5OQ&quot;&gt;這個方案&lt;/a&gt;，驗證你自己的.edu信箱，可以馬上獲得 5.5GB 的雲端空間，而推廣這個方案的話，可以快速累積到 25GB 的空間，使得 Dropbox 成為目前免費空間裡最大容量選擇。&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://android.appstorm.net/wp-content/blogs.dir/6/files/2011/05/minus.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;http://android.appstorm.net/wp-content/blogs.dir/6/files/2011/05/minus.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;最近一個剛崛起的新雲端空間 &lt;a href=&quot;http://minus.com/&quot;&gt;Minus&lt;/a&gt; ，一開始他是集中注意力在分享圖片上，是一個標準的圖庫區，簡單的使用方式，快速的蒐集到許多的使用者，並且讓他開始放寬上下傳的限制，並提供免登入 200MB檔案上傳，而註冊帳號的話，可以得到 10GB 的免費空間，而且也有提供上傳管理工具，在各平台上，如 Windows、Mac、Linux 及行動平台上都有提供支援，是一個新崛起的強勁新秀。&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</description><link>http://dylandychat.blogspot.com/2012/10/blog-post.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-VEXM1HhE284/Te27pbdlcLI/AAAAAAAAEoI/vTAdzJFQ0No/s72-c/icloud.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4796470019675546757.post-3274641611626323461</guid><pubDate>Mon, 15 Oct 2012 08:42:00 +0000</pubDate><atom:updated>2014-02-06T02:46:45.751-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">fix</category><category domain="http://www.blogger.com/atom/ns#">hangout</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>解決 linux 下 google+ hangout 螢幕分享bug 問題</title><description>這個問題困擾我很久，之前因為這個問題讓我每次要開hangout 的時候都會想說乾脆開windows好了，這樣就不會有這個問題了，在google 的問題回報裡面也有列入這個選項，請使用者回報，他們會處理這個問題，大家可以上這個&lt;a href=&quot;http://support.google.com/plus/bin/static.py?hl=en&amp;amp;page=known_issues.cs&quot;&gt;網站&lt;/a&gt;上去點選，希望google 可以在未來釋出新的更新的時候就能改善這個問題。&lt;br /&gt;
&lt;br /&gt;
以往在linux 下 hangout 分享桌面的時候會造成視訊畫面都變成黑色的，而關閉分享按鍵以後，黑畫面的狀況也沒有辦法解決，所以只能很乾脆的重開 hangout了&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRxM3Q6hE35GJUWwmxwjLZM-o69h7RVB18ztW6hVW9Sq8IUrBzRxj3NKMdtj1-LZTCI7KfMhO-JkhUqDs-HHbn7l1K5RYmy0-gCBOZghmw3RJDhQ8H5bAUcHsH4iHsgWUh5Cjl1KnYSnLO/s1600/Screenshot-Google++Hangouts.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRxM3Q6hE35GJUWwmxwjLZM-o69h7RVB18ztW6hVW9Sq8IUrBzRxj3NKMdtj1-LZTCI7KfMhO-JkhUqDs-HHbn7l1K5RYmy0-gCBOZghmw3RJDhQ8H5bAUcHsH4iHsgWUh5Cjl1KnYSnLO/s320/Screenshot-Google++Hangouts.png&quot; height=&quot;202&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
現階段可以透過安裝補丁來解決這樣的問題：&lt;br /&gt;
&lt;br /&gt;
Ubuntu：&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;pre class=&quot;程式語言&quot; name=&quot;code&quot; style=&#39;color:black;border-radius:5px&#39;&gt;sudo apt-get install libxrandr-dev
&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 14px;&quot;&gt;Fedora：&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;pre class=&quot;程式語言&quot; style=&#39;color:black;border-radius:5px&#39;&gt;yum install libXrandr-devel&lt;/pre&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: red; font-family: arial, sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;注意在 Fedora 上補丁的名稱不同，安裝完以後，重開瀏覽器，就可以正常分享桌面了。&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
</description><link>http://dylandychat.blogspot.com/2012/10/linux-google-hangout-bug.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRxM3Q6hE35GJUWwmxwjLZM-o69h7RVB18ztW6hVW9Sq8IUrBzRxj3NKMdtj1-LZTCI7KfMhO-JkhUqDs-HHbn7l1K5RYmy0-gCBOZghmw3RJDhQ8H5bAUcHsH4iHsgWUh5Cjl1KnYSnLO/s72-c/Screenshot-Google++Hangouts.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4796470019675546757.post-7143398923687779437</guid><pubDate>Mon, 03 Sep 2012 23:41:00 +0000</pubDate><atom:updated>2012-09-03T16:41:50.312-07:00</atom:updated><title>Hello World！</title><description>&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 自從上了大學以後就很久沒有那個心情還有意願再繼續寫網誌，自從噗浪、臉書的使用之後，這個現象又更加的明顯了，這次重新提筆回來寫網址的動機，真的是最近發生了太多的事情了，參加了「&lt;a href=&quot;https://groups.google.com/forum/?hl=zh-TW&amp;amp;fromgroups#!forum/Taichung-FOSS-Fans-Party&quot;&gt;台中自由軟體固定聚會&lt;/a&gt;」以後，學到了很多東西，這些都想讓我好好的寫下來，分享給網路上有需要的大家，希望我的網誌也可以像聚會裡的大大們一樣，有幫助到有需要幫助到的人，就像九把刀說的「希望可以因為我，而讓這個世界有一點小小的改變」那我就很滿足了。</description><link>http://dylandychat.blogspot.com/2012/09/hello-world.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item></channel></rss>