module.exports 初始值为一个空对象 {} exports 是指向的 module.exports 的引用 require() 返回的是 module.exports 而不是 exports exports = module.exports = somethings 上面的代码等价于: ... ...
分类:
其他好文 时间:
2017-07-28 11:44:07
阅读次数:
115
1.准备一个有测试数据表的mysql数据库 2.在测试计划面板点击【浏览】按钮,将你的JDBC驱动添加进来 3.设置数据库 4.在JDBC请求中输入select*from name where user like 'test1'; 5.在请求中添加响应断言,添加测试字段test1, 6.添加断言结果 ...
分类:
数据库 时间:
2017-07-28 11:09:58
阅读次数:
178
A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the ...
分类:
其他好文 时间:
2017-07-28 11:05:30
阅读次数:
133
在清楚了js创建对象和new方法的过程之后,再来看原型的概念就容易理解多了。 原型存在的目的是为了能更加节约内存地继承。 我认为原型中主要需要搞清楚这4个概念,显式原型指向什么,隐式原型指向什么,constructor指向什么,原型链是什么。 一图胜千言。下面这张图就解释了所有这些概念。 下面自己总 ...
分类:
Web程序 时间:
2017-07-28 11:04:19
阅读次数:
243
Linux下操作 1. 将loss值存储到lossInf.txt中 2. Python画出loss曲线 ...
分类:
其他好文 时间:
2017-07-28 10:59:11
阅读次数:
113
#user nobody;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/nginx.pid;events { ...
分类:
其他好文 时间:
2017-07-28 09:53:36
阅读次数:
225
这段时间喜欢上python语言。所以各种折腾python语言。现在突然想把一些log问题写入数据库用于以后分析,突然发现用python链接mysql竟然有各种问题。首先我的系统是win1064位。去官网下载了mysql-python-1.2.3版本的32位源码没有(64位啊)。结果在安装的时候,首先是发现缺少什..
分类:
数据库 时间:
2017-07-28 09:49:10
阅读次数:
310
一.WebRTC的Android客户端搭建 1.libjingle_peerconnection_so.so 2.libjingle_peerconnection.jar 3.客户端源码一份(可以在github上下载) 二、相关概念介绍 1.P2P:点对点通讯; 2.STUN:提供反射地址使双方可以 ...
分类:
移动开发 时间:
2017-07-28 09:48:17
阅读次数:
1306
在写frameset的时候发现页面较小的时候不能在屏幕上居中,记录一下frameset页面居中的写法 ...
分类:
其他好文 时间:
2017-07-28 09:47:55
阅读次数:
156