網絡暴民之 CLI

Monday, January 22, 2007

CLI

CLI,Commmand Line Interface 也,用在 Blog 上雖不實用,但很好玩: 進入 CLI 模式

跟據 終極邊疆 那邊的提供的 plugin 來安裝 CLI 此 wordpress theme,但遇上不少問題,紀錄如下:

  • plugins 不知怎的抓不到 $_SERVER[‘SCRIPT_URL’],結果自己砌
  • hosting 好像沒有 ImageMagik,所以關掉了該功能,但還是讀不到有圖的文章,結果將整段相關的程式碼都 comment 了。
  • 因為本人用 textile ,所以也要調整用 textile 輸出內文
  • $_SESSION 不知怎地常常被 reset,經過一番試驗後,將 session_start 放在 require statment 後就可以了

還好都搞定了。

Skinning your Gmail

Thursday, October 7, 2004

This is done by using a custom style sheet. The basic principle is to design another set of style and with every styles add “body#gmail-google-com” as prefix (i.e. the ancestor element). Install the firefox extension URL id , copy the CSS to your chrome directory and rename it. Then Firefox would apply to style in the file to the specific web site the id mentioned. This is quite an interesting way to skin your web content as long as they are using CSS to layout and style almost everything.

Of course, you have to use Mozilla / Firefox.

Related Link: Skinning Gmail with a Custom Stylesheet

Change your MT style

Tuesday, April 27, 2004

Don’t know how to decorate your MT Blog with CSS and template? Here is the place you want. Just select the style from the drop-down box and download the styel. Apply it to your MT template.

相關網站:Movable Style