//加法函数 function accAdd(arg1, arg2) { var r1, r2, m; try { r1 = arg1.toString().split(".")[1].length; ...
分类:
Web程序 时间:
2016-01-04 10:05:43
阅读次数:
207
The spread operator allow us to split an Array arguement into individual elements.getRequest("/topics/17/tags", function(data){ let tags = data.tag...
分类:
其他好文 时间:
2016-01-03 17:33:40
阅读次数:
156
1. 五个基本工作流模式这五个模式的共同点在于:模式所涉及流程的执行路径是在设计时即可确定的,不需运行时的信息。包括:Sequence(顺序模式)Parallel split(平行拆分模式)Synchronization(同步模式)Exclusive choice(排他选择)Simple merge...
分类:
其他好文 时间:
2016-01-01 13:00:37
阅读次数:
328
//定义JS命名空间、防止JS签名重复var Namespace = Namespace || new Object();Namespace.register = function(path){var arr = path.split("."),ns = "";;for(var i=0;i0){ns...
分类:
其他好文 时间:
2015-12-31 10:34:11
阅读次数:
324
B. HDD is Outdated TechnologyHDD hard drives group data by sectors. All files are split to fragments and each of them are written in some sector of ha...
分类:
其他好文 时间:
2015-12-29 20:50:32
阅读次数:
186
A. The Text SplittingYou are given the stringsof lengthnand the numbersp,?q. Split the stringsto pieces of lengthpandq.For example, the string "Hello"...
分类:
其他好文 时间:
2015-12-29 19:13:49
阅读次数:
151
? 文件夹大小#du -h --max-depth=1 *#du -sh *|sort -n? ll显示结果排序从小大到:ll -Sh从大到小:ll -Srh从先到后: ll -rt从后到先: ll -t?文件分割#split -d -50000 CPUSER.201305.uid userId-d...
分类:
其他好文 时间:
2015-12-29 11:06:39
阅读次数:
163
map 通过自定义函数 f:T->u 将元数据T转换为u,不会将split进行合并flatMap通过自定义函数 f:T->u 进行数据变换,并将拆分后的小集合合并成一个大集合。mapPartitionsIter => iter.filter(_>3)作用于整个分区(例如hbase表等)进行操作glo...
分类:
移动开发 时间:
2015-12-28 20:20:12
阅读次数:
589
function pageName() { var strUrl = location.href; var arrUrl = strUrl.split("/"); var strPage = arrUrl[arrUrl.length - 1]; if (strPage.indexOf("?") >=...
分类:
Web程序 时间:
2015-12-28 14:14:59
阅读次数:
146