Javascript.输出 JavaScript向网页的输出方式是通过document对象的write方法: document.write(something); 或者带有换行的 document.writeln(something); JS输出内带有变量的: d = "Hello World!"; ...
分类:
Web程序 时间:
2019-01-07 23:33:10
阅读次数:
303
Before getting into the post, this isn’t anything brand new or leet in the area of XML External Entity (XXE) attacks, it is purely something I came ac ...
分类:
其他好文 时间:
2019-01-06 18:53:44
阅读次数:
204
1.0 Object.keys()的用法 在实际开发过程中,有时需要知道对象的所有属性,除了(for...in...)之外,原生js给我们提供了一个更优雅的方法:Object.keys(object) 1.1 传入对象,返回包含对象可枚举属性和方法的数组 let obj = {a:'1',b:'2' ...
分类:
其他好文 时间:
2019-01-04 17:24:32
阅读次数:
182
一部编程发展史就是一部程序员偷懒史,MapReduce(下称MR)同样是程序员们用来偷懒的工具。本期说说MR的基础概念,以及WordCount示例。 ...
分类:
其他好文 时间:
2019-01-03 12:58:44
阅读次数:
201
//The arrow operator has no inputs. Technically, it can return whatever you want, but it should return something that either is a pointer or can becom ...
分类:
其他好文 时间:
2018-12-26 10:29:28
阅读次数:
177
1. pom 1) normal 2) spring boot 3) spring boot2 2. create CB 1) CircuitBreakerRegistry (1)default (2)custom 2) directly (1) default (2) custom 3. deco ...
分类:
其他好文 时间:
2018-12-24 10:22:08
阅读次数:
284
module 在 Node.js 模块系统中,每个文件都视为独立的模块,node在运行某个模块儿时会生成一个module对象 id为当前文件 exports为当前node文件模块儿导出的值 parent为父级调用,如果为null则该文件没有被调用 filename为当前文件名 loaded是否被加载 ...
分类:
Web程序 时间:
2018-12-22 19:35:43
阅读次数:
234
ComboBox绑定数据源时触发SelectedIndexChanged事件的处理办法 事件,而这个时候用户并没有选择内容,其SelectedValue也不是对应字段的值。那么时写在SelectedIndexChanged中的处理代码就会因为SelectedValue的内容不正确引发异常。一般网上找 ...
本文是C++0x系列的第四篇,主要是内容是C++0x中新增的lambda表达式, function对象和bind机制。之所以把这三块放在一起讲,是因为这三块之间有着非常密切的关系,通过对比学习,加深对这部分内容的理解。在开始之间,首先要讲一个概念,closure(闭包),这个概念是理解lambda的 ...
分类:
编程语言 时间:
2018-12-20 14:26:32
阅读次数:
217
Spring Security’s Java Configuration does not expose every property of every object that it configures. This simplifies the configuration for a majori ...
分类:
编程语言 时间:
2018-12-17 23:59:34
阅读次数:
386