摘要:centos安装步骤如下:首先到官网下载:http://nodejs.org/#download我选择的版本是0.6.2# tar zxvf node-v0.6.2.tar.gz# cd node-v0.6.2# ./configure# make # make install测试node.jsvim node.jsvar http = require('http');http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/plain'})
阅读全文
11 2011 档案
摘要:<html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title></head><body> 检测浏览器关闭,同时屏蔽F5 listen browser colse event and disable F5,</body></html><script type="text/javascript"><!-- window.onbeforeunload = onbeforeunloa
阅读全文