linux cp -r chmod -R 递归拷贝 删除 改权限
摘要:在linux下拷贝的时候有时候会出现cp:omitting directory的错误 ,例如 cp:omitting directory "bbs" 说明bbs目录下面还有目录,不能直接拷贝 解决办法:递归拷贝 命令:cp -r bbs ../backup/bbs 解释:-r 这个options是递
阅读全文
解读Secondary NameNode的功能
摘要:1.概述 最近有朋友问我Secondary NameNode的作用,是不是NameNode的备份?是不是为了防止NameNode的单点问题?确实,刚接触Hadoop,从字面上看,很容易会把 Secondary NameNode当作备份节点;其实,这是一个误区,我们不能从字面来理解,阅读官方文档,我们
阅读全文
Variable hoisting Function hoisting
摘要:Variable hoisting Another unusual thing about variables in JavaScript is that you can refer to a variable declared later, without getting an exception
阅读全文
A Look at the Razor View Engine in ASP.NET MVC
摘要:The biggest architectural difference that exists between ASP.NET MVC and ASP.NET Web Forms is the neat separation between the two key phases of proces
阅读全文
Areas in ASP.NET MVC 4
摘要:Download source - 2.7 MB Introduction to Areas In this article, we will learn the concept of Areas and how to use it with a practical scenario in ASP.
阅读全文
Two's Complement
摘要:Contents and Introduction Contents and Introduction Conversion from Two's Complement Conversion to Two's Complement Arithmetic with Two's Complement W
阅读全文
Using Browser Link in Visual Studio 2013
摘要:题记:Browser Link是VS 2013开始引入的一个强大功能,让前端代码(比如AngularJS的代码)在VS中的修改更加轻而易举。 前 端代码是运行在浏览器中,而Visual Studio通常只会和服务端代码交互。微软通过Browser Link技术在VS和浏览器之间架起了一个桥梁。这一技
阅读全文
duck typing
摘要:在程序设计中,鸭子类型(英语:duck typing)是动态类型的一种风格。在这种风格中,一个对象有效的语义,不是由继承自特定的类或实现特定的接口,而是由"当前方法和属性的集合"决定。这个概念的名字来源于由James Whitcomb Riley提出的鸭子测试(见下面的“历史”章节),“鸭子测试”可
阅读全文