04 2011 档案
摘要:find . -name "*.htm" | xargs sed -i -e "s%somebody%donal%g"
阅读全文
摘要:传统的MapReduce框架是google于2004年在论文:“MapReduce: Simplified Data Processing on Large Clusters”提出的,该框架把一些数据密集型应用的数据处理过程简化抽象成map和reduce两个阶段,用户在设计分布式程序时,只要实现 map()和reduce()两个函数,至于其它细节,例如数据分片,任务调度,机器容错,机器间通信等,都交由MapReduce框架处理。随着技术的 发展,在传统MapReduce框架的基础上,出现了一些针对特殊应用的MapReduce框架,主要有以下几种: (1) 支持迭代MapReduce的Twis.
阅读全文
摘要:bash shell hot keys:Ctrl + A Go to the beginning of the line you are currently typing on Ctrl + E Go to the end of the line you are currently typing on Ctrl + L Clears the Screen, similar to the clear command Ctrl + U Clears the line before the cursor position. If you are at the end of the line, cle
阅读全文
摘要:find . -name .svn -type d -exec rm -fr {} \;
阅读全文
摘要:不知道是故意宣传IM聊天功能,还是程序设计bug,如果都不是,就是产品设计者脑子进水了:哪个产品会每隔几秒不断的弹窗口啊?这样除了引起用户反感,我想不出啥好结果!
阅读全文
摘要:删除空行:g/^$/ d行首加' :%s/^/'/g行末尾加' :%s/$/'/g 在第3到第40行的 末尾加':3,40s/$/'/g
阅读全文

浙公网安备 33010602011771号