#include #include #include #define Max 1000090 void read (int &now) { now = 0; register char word = getchar (); while (word '9') word = getchar (); wh... ...
分类:
其他好文 时间:
2017-06-17 22:30:47
阅读次数:
177
错误如题。 原因:web.xml中的servlet映射<url-pattern> 配置错误 改动正确就可以。我直接删除了,bug就攻克了。 另一个问题是 xxx.jar fail to load.. 这样的可能是项目projectlib包中的jar文件与tomcat自带的lib包中的jar文件反复导 ...
分类:
编程语言 时间:
2017-06-17 16:00:56
阅读次数:
141
#include #include #include #include #define Max 100 #define Mod 1000000007LL void read (int &now) { now = 0; register char word = getchar (); while (w... ...
分类:
其他好文 时间:
2017-06-16 23:12:13
阅读次数:
256
今天上午部署了wcf,部署了好久,一直没有部署好,最后找到了dudu的部署方法,结果中午吃饭的时候成功了,这是链接:http://www.cnblogs.com/dudu/p/3328066.html。 下午部署了web api ,由于用的是core 2.0预览版1,结果部署了很久都是没有成功,报的 ...
https://zhuanlan.zhihu.com/p/26181360 ***************************** 程序员每天都和代码打交道。经过数年的基础教育和职业培训,大部分程序员都会「写」代码,或者至少会抄代码和改代码。但是,会读代码的并不在多数,会读代码又真正读懂一些大项 ...
分类:
其他好文 时间:
2017-06-15 10:20:07
阅读次数:
131
Introduction conductor中的事件提供工作流之间的松散耦合,并支持从外部系统生成和消耗事件。 包括: 1. 能够在外部系统像SQS或Conductor内部生成一个事件(消息)。 2. 当发生与提供的条件匹配的特定事件时启动工作流。 conductor提供了SUB_WORKFLOW任 ...
分类:
其他好文 时间:
2017-06-14 21:04:49
阅读次数:
195
工作需要实现一个微博自动登录的操作,在网上差了一些资料,决定使用selenium+python实现 selenium 是一个web的自动化测试工具,主流一般配合java或者python使用,我这里使用的是python,可支持的浏览器基本包括所有主流浏览器IE、Mozilla Firefox、Goog ...
分类:
编程语言 时间:
2017-06-14 16:40:18
阅读次数:
195
原文:http://www.cnblogs.com/ygj0930/p/6543350.html 快速失败( fail-fast ):当你在迭代一个集合的时候,如果有另一个线程正在修改你正在访问的那个集合时,就会抛出一个ConcurrentModification异常。 在java.util包下的都 ...
分类:
编程语言 时间:
2017-06-13 20:44:11
阅读次数:
282
近期,使用师兄的project时。突然报错之前没发现这个错误。信息例如以下: ld: -pie can only be used when targeting iOS 4.2 or later clang: error: linker command failed with exit code 1 ...
分类:
移动开发 时间:
2017-06-13 20:42:48
阅读次数:
179
快照备份 1.创建文件仓库 1.1 在$ELASTICSEARCH_HOME/config/elasticsearch.yaml中增加配置 #这个路径elasticsearch必须有权限访问,这个路径是所有快照仓库的根路径 path.repo: your_path 1.2 调用rest api // ...
分类:
其他好文 时间:
2017-06-13 19:45:28
阅读次数:
143