Google Chrome OS 又名 Google OS.
我到 gdgt 下載了 VMware 版本的Chromium OS 玩. 不確定裡面有沒有spyware. 所以我註冊了一個新的 google 帳號就只為了玩 Google OS. 這個版本應該不是 google 的人 build 的. 不知道有多可靠? Chromium OS 開機速度真是驚人. 在我的 VMware 只花10秒鐘就開起來了. 下面是它的畫面 :

Chromium OS 登入畫面. 直接使用 Google 帳號密碼就可以了.
簡單來說 Google OS 就是一個非常陽春的作業系統. 裡面只跑一隻程式, 那叫做 Google Chrome 瀏覽器. 這也是為什麼 Google 努力的在開發他們自己的瀏覽器. 而且提出一些新的觀念. 以往的瀏覽器都是使用同一隻 Process 然後再開很多 Threads . 如果某個tab當機或是吃資源吃太重. 就會導致整個瀏覽器不能運作. Google Chrome 瀏覽器. 就是 fork 出很多 Processes 使得每個頁面都擁有自己的資源. 當某個 Process 當掉的時候不會導致 Google Chrome 瀏覽器當掉. 我在測試 Google OS 的時候, 就嘗試把所有的 tab 關掉. 不管我怎麼關閉. 最後還是跑出一隻 Google Chrome 瀏覽器. 有點像是踩不死的蟑螂. 另外, 在 gdgt 下載的那個版本不太穩定常常當機. Orz.
用來跑 Google OS 的電腦不需要很強的CPU, 也不需要很高的記憶體. 甚至還不需要很大的硬碟. 我認為現今的 Netbook 來跑 Google OS 就很夠用了. 只是螢幕可能需要大一些. Google OS 所有的應用程式都在網路上. 換而言之, 沒有網路那台電腦就廢掉了. 除非 Google 把 Google Gear 寫得非常完善. (Google Gear 是用來處理離線的工具) 雖然我知道這是一個很嶄新的革命. 很顛覆傳統的作法. 但是, 我相信短時間內 Google OS 還是沒辦法普及. 甚至沒辦法取代現在的使用者的習慣. 大家都還是習慣有硬碟的生活. 放照片影片在自己的硬碟內. 來來很有可能 Google 提供非常大的硬碟空間. 或許要付費. 縱使Google解決了網路空間的問題. 但是他們還要面對網路頻寬不夠的問題. 現階段光是處理照片上傳就要很久. 況且未來的照片解析度會越來越高. 所以我看 Google OS 短時間內很難生存得下去.
你可以到 The Chromium Projects 了解更多 Chromium OS的訊息. 也當然可以下載他們的原始碼. 自行建立自己的 Google OS 版本.
這裡可以看到更詳細的解說 :
What is Google Chrome OS?
在3分鐘附近可以看到 Google OS 的真面目. 也能體驗一下到底 Google OS 開機速度有多快.
Chromium OS Fast Boot
另外我不是在唱衰 Google OS. 我只是認為還有一段很長的路要走. 例如 Google Docs 要更完善的功能. 例如預覽列印. 甚至 Google OS 裡面要能調整螢幕解析度. 還有如果 Google OS 裡面能有 iTunes 會更好. 當然如果他能與手機裝置同步也不錯. 甚至 Google OS 裡面還是沒有類似 photoshop 的軟體. 當然我是個重度需要 terminal 工作的使用者. 如果沒有 terminal 我就很難工作了. 所以短時間. Google OS 對我來說還是沒辦法滿足我的需求.
我拿到 Google Voice 的邀請了. 可是, 又很殘念不能使用阿.
好想測試看看這個新玩具喔. 大概的功能如下. 就是 Google 提供一個電話號碼給你.那個號碼沒有綁住你任何設備. 你可以指定到你的手機, 家裏電話或是辦公室電話. 它可以同時響那些電話.或是只響手機家裏.甚至你換手機號碼別人也可以聯絡到你. 只要透過 Google Voice就可以.還有它提供線上語音留言…etc功能
First of all, you need to install Zend Gdata on your web server. Using following codes. Just modified at 12, 13 and 105 lines to your own. Make sure your username and password is safe. You better don’t write your password in your php codes. You can design your input form. And using https to send your password to your web server.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | <? /** * Author : Sam Tseng * Date : 18-MAY-2009 * * Program Name : Accessing Google Calendar Demo * Function : Using php to add a Google Calendar event and a reminder. * */ // Please use your username and password at your google service. $username = "username@gmail.com"; $password = "xxxxxxxxxxxxxxxxxxxxxx"; $alarm_method = ""; require_once 'Zend/Loader.php'; Zend_Loader::loadClass('Zend_Gdata'); Zend_Loader::loadClass('Zend_Gdata_AuthSub'); Zend_Loader::loadClass('Zend_Gdata_ClientLogin'); Zend_Loader::loadClass('Zend_Gdata_HttpClient'); Zend_Loader::loadClass('Zend_Gdata_Calendar'); function getClientLoginHttpClient($user, $pass) { $service = Zend_Gdata_Calendar::AUTH_SERVICE_NAME; $client = Zend_Gdata_ClientLogin::getHttpClient($user, $pass, $service); return $client; } function createEvent($client, $title, $desc, $where, $startDate, $startTime, $endDate, $endTime, $tzOffset = '+08') { $gc = new Zend_Gdata_Calendar($client); $newEntry = $gc->newEventEntry(); $newEntry->title = $gc->newTitle(trim($title)); $newEntry->where = array($gc->newWhere($where)); $newEntry->content = $gc->newContent($desc); $newEntry->content->type = 'text'; $when = $gc->newWhen(); $when->startTime = "{$startDate}T{$startTime}:00.000{$tzOffset}:00"; $when->endTime = "{$endDate}T{$endTime}:00.000{$tzOffset}:00"; $newEntry->when = array($when); $createdEntry = $gc->insertEvent($newEntry); return $createdEntry->id->text; } function setReminder($client, $eventId, $minutes=15) { $gc = new Zend_Gdata_Calendar($client); global $alarm_method; $method = $alarm_method; if ($event = getEvent($client, $eventId)) { $times = $event->when; foreach ($times as $when) { $reminder = $gc->newReminder(); $reminder->setMinutes($minutes); $reminder->setMethod($method); $when->reminders = array($reminder); } $eventNew = $event->save(); return $eventNew; } else { return null; } } function getEvent($client, $eventId) { $gdataCal = new Zend_Gdata_Calendar($client); $query = $gdataCal->newEventQuery(); $query->setUser('default'); $query->setVisibility('private'); $query->setProjection('full'); $query->setEvent($eventId); try { $eventEntry = $gdataCal->getCalendarEventEntry($query); return $eventEntry; } catch (Zend_Gdata_App_Exception $e) { var_dump($e); return null; } } function triger_event_now($method, $title, $desc, $where) { global $username, $password, $alarm_method; $alarm_method = $method; $client = getClientLoginHttpClient($username, $password); $today = date("Y-m-d"); $now = date("H:i", mktime(date("H"), date("i") + 12, date("s"), date("m"), date("d"), date("Y"))); // by default, I use Taiwan timezone. You should modify your own timezone. $id = createEvent($client, $title, $desc, $where, $today, $now, $today, $now, "+08"); $id = str_replace("http://www.google.com/calendar/feeds/default/private/full/", "", $id); setReminder($client, $id, 10); } // There are three type of reminders which are "sms", "email" and "alert". // The below is using sms to send the event to your mobile. This program will delay two minutes. triger_event_now("sms", "surf The Paradiso blog", "http://www.samtseng.liho.tw/~samtz/blog/", "Anywhere"); ?> |
使用 php 傳送 Google Calendar 簡訊
首先,你需要在你的網頁伺服器安裝 Zend Gdata. 更改下列程式碼 :
改成你的 Google 帳號與密碼. 你要確保這個檔案不會被其他人讀取到. 最好不要把密碼寫在程式內. 你可以設計你的表單使用 https 傳遞你的密碼到你的網頁伺服器.
11 12 13 | // Please use your username and password at your google service. $username = "username@gmail.com"; $password = "xxxxxxxxxxxxxxxxxxxxxx"; |
觸發事件有三種方式 “sms”, “email” and “alert”. 下面展示是用 sms 提醒. 兩分鐘後簡訊就會傳送到你的手機.
102 103 104 | // There are three type of reminders which are "sms", "email" and "alert". // The below is using sms to send the event to your mobile. This program will delay two minutes. triger_event_now("sms", "surf The Paradiso blog", "http://www.samtseng.liho.tw/~samtz/blog/", "Anywhere"); |
如果有問題歡迎留言一起討論.
剛剛聽友人說”google是不是被駭了?” 我心想哪有可能?!! 堂堂一個 Google 怎麼可能輕易的被 Hack? 想說我之前要讀 google 的一些服務(e.g. gmail..)的javascript程式碼都有額外的編碼了. 哪有那麼輕易的可以攻破 google 不過, 事實擺在眼前. 我真的看到 Google “疑似”被 Hack. 有圖有真相.
搜尋我的 blog 也變成”有可能危害你的電腦”. 看一下下面一張圖 :
林北, 不相信. 那用google google 一下 google. 也是一樣.
注意看這張圖喔. google 首頁. 也有可能危害你的電腦喔!

在我寫這篇部落格的時候, Google 神已經復原了. 真是令人瞠目結舌的修復速度. Orz.
我個人認為 Google Analytics 是很強大的網路流量分析軟體. 可以藉由 Google Analytics 知道我的使用者是怎麼找到我.也知道他們的作業系統.螢幕解析度.甚至知道他們來自於哪些國家. 雖然 Google Analytics 裡面把台灣放入中國. 是有點讓本人小感冒.
Google Analytics 加在 WordPress 部落格還算滿容易的. 因為已經有人寫好 Plug-in 套件. 在 MediaWiki 好像就沒看到有人解釋怎麼加入. 下面步驟就可以讓你的 Wiki 加入 Google Analytics
首先先編輯 MEDIAWIKI/skins/MonoBook.php 這個檔案.
然後搜尋下列關鍵字
php print Skin::makeGlobalVariablesScript( $this->data );
在前面加入你的 Google Analytics codes. 就完成了
















Recent Comments