2007年1月14日 星期日

HTML Tag

HTML and CSS Tutorials, References, and Articles | HTML Dog
http://www.htmldog.com/

無聊人的無聊小站 - 完全W3C手冊(HTMLDOG中文版)
http://www.chweng.idv.tw/w3cguide/

HTML Tag分類表

Why windows takes so long to start up

IntelliAdmin.com: Why windows takes so long to start up.
http://www.intelliadmin.com/blog/2006/09/why-windows-takes-so-long-to-start-up.html

人總是希望電腦越快越好,尤其是自己用的,上面詳述記載著一些方法。
  1. The prefetch cache
  2. Hard drive fragmentation
  3. Disconnected network drives
  4. Spyware & Adware
  5. Disable File and Printer Sharing if you do not use
其中第一項是我比較少看到的,清理目錄c:\windows\prefetch下的檔案,並修改機碼(HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters\EnablePrefetcher)為3.
此機碼有4個可能的值,如下:
0 - Disabled : The prefetch system is turned off.
1 - Application : The prefetch only caches applications.
2 - Boot : The prefetch only caches boot system files.
3 - All : The prefetch caches boot, and application files.

Turn Google into Napster 2000

Tech Tonic » Turn Google into Napster 2000
http://tech-tonic.net/technology-trends/turn-google-into-napster.html

文章裡說明了如何利用Google搜尋特殊的檔案,比如說

搜尋mp3, wma
-inurl:(htm|html|php) intitle:”index of” +”last modified” +”parent directory” +description +size +(wma|mp3) “檔名”

搜尋doc, pdf
-inurl:(htm|html|php) intitle:”index of” +”last modified” +”parent directory” +description +size +(pdf|doc) “檔名″

搜尋mpg, wmv
-inurl:(htm|html|php) intitle:”index of” +”last modified” +”parent directory” +description +size +(mpg|wmv) “檔名”

2007年1月1日 星期一

Wii

最近在朋友那邊,接觸到Nintendo的Wii,著實令人深深著迷。已經很久對電視遊樂器提不起興趣的我,但在接觸Wii後,讓我再度重新燃起對TV Game的慾望。

不管Wii的體積有多小(3個DVD盒),用了什麼樣先進的技術(Virtual Console),我不用記太多的指令,什麼操作祕技(上上下下ABAB的),只知道在遊戲中,簡單的揮舞著手中的操作搖捍,可以是球捧,可以是桌球拍,可以網球拍,也可以是高爾夫球桿,更可以是釣魚杆,利劍,長槍,繩索,指揮棒等...,都是相當直覺的操作。

而且讓人投入遊戲的程度,從Nintendo公司回收搖桿的動作,補強搖桿的設計可以看的出來。簡易的操作讓人更容易投入遊戲之中,我自己則是手酸了二天還沒退,比我實際打球還酸!

Wii宣傳短片
http://www.youtube.com/watch?v=ARQKcWJHRp0
Wii體感操作
http://www.youtube.com/watch?v=FaUvbncE3Gk
Wii - Wikipedia
http://zh.wikipedia.org/wiki/Wii

2006年10月24日 星期二

Timezone

寫了一個簡單的php script,拿來當batch file用,定期把log備份出來,結果備份的log資料缺了一段時間,搞了好幾天才發現,將php的時區沒有設好,導致php程式與os的時區不一致。這有php設定的指令date_timezone_set,或是在設定檔(php.ini)裡的[Date]區設定date.timezone = Asia/Taipei。

SELinux

最近裝VMware Server來玩,上面跑了Fedora,而且裝了apache, php, mysql套件,自己則裝了phpMyAdmin來管理mysql,結果phpMyAdmin連的上本機的mysql,其他的機器的mysql都連不上,直覺上是firewall沒設好,網路及port都是通的,接著一度懷疑是VMware的問題,因為想不到有什麼可疑。後來索性把seclinux disable,結果卻意外連通了。管理LINXU,學問也不少。

Security-Enhanced Linux - Wikipedia