简单队列方式 结果: 生产队列增长过程过程 producer_queue=deque([0])producer_queue=deque([0, 1])producer_queue=deque([0, 1, 2])producer_queue=deque([0, 1, 2, 3])producer_q ...
分类:
编程语言 时间:
2017-06-09 14:05:42
阅读次数:
183
CKEditor使用setData()时会自动丢失初始时绑定的时间,在百度时发现有很多方法都不对。 近期在做项目的时候,由于客户需要,将原来的文本格式的textarea标签更改成富文本编辑器--CKEditor,插件使用起来很方便,网上教程很多。API看起来比较麻烦。 为文本框添加绑定事件的两种方式 ...
分类:
Web程序 时间:
2017-06-09 13:22:55
阅读次数:
202
这里的参数表示接收他们的协议 wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub ...
分类:
系统相关 时间:
2017-06-09 12:37:54
阅读次数:
339
In mathematics, a stiff equation is a differential equation for which certain numerical methods for solving the equation are numerically unstable, unl ...
分类:
其他好文 时间:
2017-06-08 20:33:30
阅读次数:
131
Atitit.java 异常的使用总结最佳实践 Vo8f 1. 为什么使用异常 1 2. 用throw抛出一个异常到catch子句中与通过函数调用传递一个參数两者基本同样。 2 3. S E H的主要动机 2 4. RuntimeException跟checked Exception 2 5. 要不 ...
分类:
编程语言 时间:
2017-06-07 11:14:24
阅读次数:
186
一、安装Charles,并破解 版本要求:3.10以上,建议安装以下版本 安装包:32位 charles-proxy-3.11.5-win32.msi,64位 charles-proxy-3.11.5-win64.msi 破解jar包:charles.jar,替换掉 lib/charles.jar。 ...
分类:
Web程序 时间:
2017-06-05 12:40:48
阅读次数:
210
Cat vs. Dog Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1520 Accepted Submission(s): 570 Pro ...
分类:
其他好文 时间:
2017-06-04 19:54:52
阅读次数:
250
HDU1800 这题的大意是求出现次数最多的数。所以这题我直接用map做了。 811MS 1876K 差点超时了。 发现网上有一种用ELFHash的做法,就仔细研究了下,由于是位运算,看了好久。 EFLHash模板是: 参考了@ACdreamers的文章 ...
分类:
其他好文 时间:
2017-06-04 13:46:32
阅读次数:
118
redux 有点类似flux。但是我觉得远比flux要复杂。因为他非常的绕。一般搭配使用是redux 和react-redux 使用。 主要的思路就是: 写action:动作类型 写reducer:动作计算过程 写store:将action和reducer结合起来,创建store,一般结合reduc ...
分类:
其他好文 时间:
2017-06-03 16:10:50
阅读次数:
221
、下载相关Docker镜像 首先要安装docker,安装docker参考http://www.cnblogs.com/menglingqian/p/6880633.html Shipyard 默认访问端口是8080,默认用户名和密码是admin 和 shipyard 二、修改官方安装脚本下载成中文镜 ...
分类:
系统相关 时间:
2017-06-03 09:54:32
阅读次数:
1265