node中exports模块对象相信大家一定不陌生; 如studentModule.js: 在另一个模块中这样引用: 那么问题来了:module.exports是什么呢? 其实,Module.exports才是真正的接口,exports只不过是它的一个辅助工具。 最终返回给调用的是Module.ex ...
分类:
Web程序 时间:
2017-03-29 23:44:13
阅读次数:
244
jQuery.print.js /* @license * jQuery.print, version 1.3.2 * (c) Sathvik Ponangi, Doers' Guild * Licence: CC-By (http://creativecommons.org/licenses/by ...
分类:
其他好文 时间:
2017-03-29 16:01:43
阅读次数:
319
最近在学习ES6的基础知识,整理了一下ES6用来判断数值的相关函数 Math.sign() =>判断正负数的函数 Math.trunc() =>取整函数 Number.isInteger() =>判断一个值是否为整数 Number.isNaN() =>用来检查一个值是否为NaN Number.isF ...
分类:
其他好文 时间:
2017-03-29 15:34:19
阅读次数:
4438
<input type="range"/>需求:滑动时,计数$.fn.RangeSlider = function(cfg) { this.sliderCfg = { min: cfg && !isNaN(parseFloat(cfg.min)) ? Number(cfg.min) : null, ...
分类:
其他好文 时间:
2017-03-29 14:00:35
阅读次数:
2379
模拟退火裸题(输出"nan nan"可以AC) 代码: 1 #include<iostream> 2 #include<cstdio> 3 #include<cstring> 4 #include<cmath> 5 #include<cstdlib> 6 using namespace std; 7 ...
分类:
其他好文 时间:
2017-03-27 17:40:56
阅读次数:
147
●Monkey工具执行 com.houbank.houbankfinance ?adb shell monkey -p com.android.calculator2 1000 (可以看出计算器随机运行1000次) ?adb shell monkey -p com.houbank.houbankfi ...
分类:
其他好文 时间:
2017-03-27 10:58:09
阅读次数:
166
0、写在前面的话在JS世界中,一切都是对象,区别对象类型使用tyepof,返回一个字符串,如:typeof 123; // 'number'typeof NaN; // 'number'typeof 'str'; // 'string'typeof true; // 'boolean'typeof ... ...
分类:
Web程序 时间:
2017-03-26 19:26:15
阅读次数:
280
Customer Intelligence Social Media Finance Credit Scoring Manufacturing Pharma / Health Care Retail Cross Industry Government Customer Intelligence So ...
分类:
其他好文 时间:
2017-03-26 11:47:08
阅读次数:
2985
一 引子 数据中心虚拟化成为了趋势,最典型的场景莫过于:对数据中心的服务器进行虚拟化,来提高资源利用率,同时降低单位能耗。 但是,随着数据中心虚拟化程度的不断提高、虚拟化服务器规模的不断扩大,带来了巨大的管理压力。 >这就孕育了云计算诞生的条件。 ps:在大规模虚拟化的基础上,实现了自动化管理和集中 ...
分类:
其他好文 时间:
2017-03-25 19:59:12
阅读次数:
1269