July 19th, 2011 Phanix
當透過 access token 去 facebook 抓取資料時,回傳的資料將以 JSON 的方式編碼,在 C# 裡頭可以用 JavaScriptSerializer 來處理,下面是個很懶惰的處理方式,不需要另外先去設計與宣告一個符合 facebook JSON 格式的 class object 來儲存資料,反正需要的時候再來針對 Key 另外處理即可。
Read the rest of this entry / 繼續閱讀 »
Posted in 學習工作, 工作, 程式, 網路應用, 電腦網路 | No Comments »
December 17th, 2010 Phanix
早上從布丁的 Facebook 跟 DK 大神那邊看到的消息…
Read the rest of this entry / 繼續閱讀 »
Posted in 網路應用, 電腦網路 | 1 Comment »
November 26th, 2010 Phanix
把 ADSL 撥號跟斷線做成 Batch (.bat) 檔。
什麼時候可以用?當用浮動IP ADSL,想要跳IP掃網頁的時候。
Read the rest of this entry / 繼續閱讀 »
Posted in 學習工作, 程式, 網路應用, 電腦網路 | No Comments »
April 10th, 2009 Phanix
Early this morning, a fiber optic cable from Santa Cruz to San Francisco area is severed.
Read the rest of this entry / 繼續閱讀 »
Posted in 學習工作, 工作, 研究, 閒聊嘴炮, 電腦網路 | No Comments »
March 3rd, 2009 Phanix
從 WordPress 2.6 之後,就開始提供了 revision 的功能,雖然很貼心,可是每次的 autosave 都會建立一個 revision 版本,使得資料庫及文章編號成長的速度都變快許多,所以就有許多人想辦法來解決這個問題。
一開始我是參考廖大寫的方法,在 wp-config.php 中加上一行程式碼,或者安裝 Disable Revisions 或 No Revisions。
但是對我這種還是會去編輯過去已經發表的文章的人來說,這樣還是不夠的,因為如果去編輯「已經發表的文章」,我發現還是會建立一個 revision… 。原本已經打算手動改 wp-includes/post.php 了,幸好尋尋覓覓之後找到了 WP-CMS Post Control 這個 plug-in,一勞永逸把 autosave 跟 revision 通通關掉乾脆多了。
Posted in blog, 電腦網路 | No Comments »
February 7th, 2009 Phanix
If you are a “tab-holic” and usually open a mass of tabs, you will love this cutie. (L)
如果你是個tab(分頁)重度使用者,老是愛開一大堆 tab ,那一定會喜歡這玩意。
Read the rest of this entry / 繼續閱讀 »
Posted in 網路應用, 軟體, 電腦網路 | 2 Comments »
January 17th, 2009 Phanix
之前被 invite 的西雅圖照片在 Schmap 的 Seattle Guide (6th ed.) 上頭刊出了。
Read the rest of this entry / 繼續閱讀 »
Posted in 攝影, 網路應用, 自己拍, 電腦網路 | No Comments »
January 9th, 2009 Phanix
Remeber to check the item “Integration Services” (SSIS) in the install process, or you will fail and get a error message like “product level is insufficient for components” while importing data from txt, excel, etc. files into a SQL server 2005 database.
Related: porduct level is insufficient for components
Posted in 學習工作, 工作, 研究, 程式, 軟體, 電腦網路 | No Comments »