摘要: 1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld 2.systemc 阅读全文
posted @ 2018-05-20 20:14 探讨 阅读(143) 评论(0) 推荐(0) 编辑
摘要: IE下使用fireEvent 高级浏览器下使用dispatchEvent 示例代码如下 阅读全文
posted @ 2018-04-11 08:58 探讨 阅读(446) 评论(0) 推荐(0) 编辑
摘要: 1、修改字段名: alter table 表名 rename column A to B 2、修改字段类型: alter table 表名 alter column 字段名 type not null 3、修改字段默认值 alter table 表名 add default (0) for 字段名 阅读全文
posted @ 2018-04-10 09:38 探讨 阅读(140) 评论(0) 推荐(0) 编辑
摘要: cellWidth : function () { var $testDiv = $(""), testCell = $testDiv.appendTo("body") .find("td") .width(); $testDiv.remove(); // return testCell ... 阅读全文
posted @ 2018-04-02 11:24 探讨 阅读(3221) 评论(0) 推荐(0) 编辑
摘要: 验证数字的正则表达式集 验证数字:^[0-9]*$ 验证n位的数字:^\d{n}$ 验证至少n位数字:^\d{n,}$ 验证m-n位的数字:^\d{m,n}$ 验证零和非零开头的数字:^(0|[1-9][0-9]*)$ 验证有两位小数的正实数:^[0-9]+(.[0-9]{2})?$ 验证有1-3位 阅读全文
posted @ 2017-10-18 20:23 探讨 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 这个方法主要用于获取枚举数据时用到。 GenericEnum是枚举抽象类。 阅读全文
posted @ 2016-12-19 16:16 探讨 阅读(2761) 评论(0) 推荐(0) 编辑
摘要: /** * 复制对象属性(对象类型必须相同) * * @param orig 资源对象 * @param dest 目标对象 * @param clazz 源对象类 * @param ignoreNull 是否忽略空(true:忽略,false:不忽略) * @return */ public st... 阅读全文
posted @ 2016-06-23 19:57 探讨 阅读(4240) 评论(0) 推荐(0) 编辑
摘要: _setReadOnly: function(_readOnly) { _readOnly = this.readOnly||_readOnly; var types = ['field']; for(var i=0; i<types.length; i++){ fields = this.find 阅读全文
posted @ 2016-06-03 16:27 探讨 阅读(1476) 评论(0) 推荐(0) 编辑
摘要: 1.ivy的解析最简单标签为 2. 解析的时候会把相关依赖包也一起下载。这是可以把transitive属性设置为false。 这样只下载当前jar包。 3. 要是你不想把javadoc.jar包跟sources.jar包下载到本地lib目录, 可以把type设置为jar, 这样只取class文件jar包。 阅读全文
posted @ 2016-05-01 00:13 探讨 阅读(351) 评论(0) 推荐(0) 编辑
摘要: eclipse中使用maven插件的时候,运行run as maven build的时候报错 -Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and 阅读全文
posted @ 2015-05-29 03:57 探讨 阅读(380) 评论(0) 推荐(0) 编辑