2011-09-30

【軟體】MAC : SynergyKM - Soft KVM

0 comments

SynergyKM 是一個 Synergy For Mac 的一個 GUI 套件。
裡面就包含了 Synergy。
可以從 SynergyKM 下載來安裝。

2011-09-23

【系統】pgFouine : Parsing PostgreSQL Log 的好工具

0 comments


最近系統換了資料庫。
所以要開始學著怎麼管理,找問題。
後來找到一個不錯的東西 pgFouine
它可以對PostgreSQL 的Log 檔,以html的格式,產生一個詳細的分析檔案。
現在來記錄一下怎麼使用。

2011-09-19

【系統】Lighttpd : Rewrite VS Redirect

0 comments
如果你同時使用了Rewrite & Redirect
這時,Rewrite 的優先權會高於 Redirect。
所以如果你的寫法如下:

2011-09-09

【攝影】快門線 : MC-36

0 comments
後天就要去翠峰湖玩了,好不容易訂到了翠峰山莊,真棒。
為了要拍日出還有星空 ( 縮時攝影) ,所以特去在今天殺去買了快門線 ( $800 ),
還有一顆副廠的LE-P8的電池 ( $350 ) 。
本來是要買永諾的,但…都沒找到台北方便的買家。
所以就只好改買SHOOT了。
其實我也不知道這個的型號是啥,
RS-60E3、RS-C1、MC-36b 好像都是,好亂。
回家試了一下,功能都可以用,還不賴,剩下的就是看它的耐用度了。
這個花了我800大洋,不過比起原廠的,應該就便宜多了。
拍個照,記念新玩具入手。

2011-08-30

【攝影】Canon EF-S 10-22mm : 中正紀念堂亂拍

2 comments

上禮拜買了 Canon EF-S 10-22mm /F3.5-4.5 USM
讓我一直想找機會去拍一下,可是都沒有出去玩。
所以今天就帶來公司,想說中午去旁邊的中正紀念堂拍一下。
結果還真的給我一個好天氣,熱死我了,
我都覺的我走不回公司了,可能隨時都會昏倒在地上。
一件好好的衣服都溼了……
不過也感受到了廣角的威力。
果然還是要有一顆廣角呀,拍風景超讚的啦。
不懂什麼拍照的技術,就亂拍些照片。
貼上今天中午,冒著生命危險,差點被熱死…,所拍出來的照片。

2011-08-24

【Web】Open Graph Protocol

0 comments
The Open Graph Protocol enables you to integrate your Web pages into the social graph. It is currently designed for Web pages representing profiles of real-world things — things like movies, sports teams, celebrities, and restaurants. Including Open Graph tags on your Web page, makes your page equivalent to a Facebook Page. This means when a user clicks a Like button on your page, a connection is made between your page and the user. Your page will appear in the "Likes and Interests" section of the user's profile, and you have the ability to publish updates to the user. Your page will show up in the same places that Facebook pages show up around the site (e.g. search), and you can target ads to people who like your content. The structured data you provide via the Open Graph Protocol defines how your page will be represented on Facebook.

【Web】oEmbed

0 comments
最近發現有些網站的內容多了oEmbed這個東西。
就問了一下Google。
結果發現是個很不錯的東西耶。
就個人的初步瞭解,就是你可以將你網頁中想第三方網網站使用的各種資源,
像是Video or Photos等元件,清楚的制定在oEmbed中,
這樣第三方網站要使用時,就可以直接取用,而不用去Parsing 整個網頁。

2011-08-16

【Linux】Shell Script : 寄信 - 內容包含Html

0 comments
之前有寫一個 【Linux】Shell Script : 輸出 Html Code 
最後 html code 的結果就存在變數 ${html}中
現在要將這個 ${html} 內容寄出去。

【Web】Gmail : CSS 沒用!!

0 comments

因為習慣性都會把 CSS 利用 Class 的方式來套用。
以減少程式碼,又方便維護。
但這個方式,會讓你包含Html 的信件在Gmail上,看不到你套用的CSS。

【Linux】Shell Script : 輸出 Html Code

0 comments

之前用Shell Script 來 Parsing Log ,然後寄Mail給自己看。
可是都是純文字,有點醜。
所以就想說還是加一下 Html 好了。
發現一個在Shell Script輸出Html的好方法。