nick@tech

Friday, August 10, 2007

ubuntu

wiki

http://ubuntuguide.org/wiki/Ubuntu:Feisty


pppoe

http://wiki.debian.org.hk/w/Connect_Internet_with_PPPoEConf

apt-get

http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html

install Apache PHP

http://hi.baidu.com/loveubuntu/blog/item/077efd134cb961025aaf531b.html

Labels:

Wednesday, June 13, 2007

webmaster tools

your site memory : http://web.archive.org/web/*/mcmug.org

your site ranking http://www.webuildpages.com/cool-seo-tool/

Site Analysicts http://www.google.com/analytics/

Labels:

Tuesday, March 27, 2007

lightbox effect

http://zeo.unic.net.my/notes/wp-lightbox-js-wordpress-plugin/

http://thomaslao.blogspot.com/2007/02/bloggerlightbox.html


http://swf.com.tw/?p=76

Friday, November 25, 2005

Save, archive or delete Email

reading articles on computerworld HK. 10-Nov-2005

It mention about the srchiving/backup email message.

backup versus archiving
archinving and backup are two distinct and separate operations. Archiving files data no longer required for immediate access-backup enables speedy recovery of data in the event of data loss.

Due to increasing mail storage, i recently lazy to delete mail and categorize it. let it go... but a month back to the mail box... Sh.... so much.. including spam and Cc mail.

Wednesday, October 19, 2005

write document

good source to write software spec


software requirement specification (SRS)

Thursday, October 06, 2005

IE: Popularity theft

Reference Link

So, let's assume that we dynamically create 50 elements having a certain “background-image”, defined through CSS. So we will have the following style:

.element { background-image: url("bg.png"); }

The following code will create 50 elements that have the class “element”:

function test() {
for (var i = 0; i < 50; i++) {
var el = document.createElement("div");
el.className = "element";
el.innerHTML = " ";
document.body.appendChild(el);
}
}

There's nothing strange about it; it's the DOM way to create elements and append it to the document. Visit the test page to see it happening. With any browser other than IE6, the page will display almost instantly as the image is loaded only once. Yes, even with IE5. But with IE6, you have a chance to see how each and every of those 50 images (that are actually the same) is loaded over and over from the server.

It will work only the first time you access the page; then, it is only visible after you remove the browser “cache”. This is because our server uses special cache configuration (we will talk about it later). If you are using IE5.x and IE6 on the same machine [2], please be aware that they share the cache, so in order to see the effect with IE6 you must remove the cache if you first tried it with IE5.x.


Can't believe that when design a web page, it should make attention on this case, otherwise the bandwidth is spending out.

Thursday, August 18, 2005

xml http request

http://www.w3schools.com/xml/xml_http.asp



Note: An important property in the example above is the onreadystatechange property. This property is an event handler which is triggered each time the state of the request changes. The states run from 0 (uninitialized) to 4 (complete). By having the function xmlhttpChange() check for the state changing, we can tell when the process is complete and continue only if it has been successful.