Map: 映射Reduce : 分解个人理解,打个比方:你想在一个有1亿条记录的文本中,找到”hello"这个单词出现的次数,你有10台服务器拟用,你发出要求,结果10台有一台生病了,只有9台能跑,这就是Map这9台电脑数完了之后,把结果汇总相加,这就是Reduce如果只有1台电脑来做这个事,会累屎... Read More
posted @ 2013-02-19 16:47 lein.wang Views(85) Comments(0) Diggs(0) Edit
class CouchSimple { function CouchSimple($options) { foreach($options AS $key => $value) { $this->$key = $value; } } ... Read More
posted @ 2013-02-19 16:46 lein.wang Views(113) Comments(0) Diggs(0) Edit
Xcopy尼玛,我一度以为这种方式是要敲神马命令的,结果仔细一看,原来就是手动拷贝。原来所谓的Xcopy就是手动拷贝啊!!!法克1. winform项目: 把release下面那两文件拷到任意一个文件夹里都能运行2. web项目:建好虚拟目录,拷之(这岂不是连源代码都给拷过来了???)Publish... Read More
posted @ 2013-02-19 16:45 lein.wang Views(300) Comments(0) Diggs(0) Edit
http://blog.csdn.net/xiaosu_521/article/details/2160458我下载的是二进制包,然后把路径放到path变量 Read More
posted @ 2013-02-19 16:45 lein.wang Views(91) Comments(0) Diggs(0) Edit
1. HTML 事件处理程序<a onclick="show()" ...function show(){......}a 点之前还要求show函数已经加载。2. DOM 0 事件处理程序var a = document.getElementById("a");a.onclick = functio... Read More
posted @ 2013-02-19 16:44 lein.wang Views(110) Comments(0) Diggs(0) Edit
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/ Read More
posted @ 2013-02-19 16:44 lein.wang Views(67) Comments(0) Diggs(0) Edit