摘要: https://stackoverflow.com/questions/19305821/multiple-modals-overlay#$(document).on('hidden.bs.modal', '.modal', function () { $('.modal:visible').len 阅读全文
posted @ 2017-07-19 14:02 he0xff 阅读(595) 评论(0) 推荐(0) 编辑
摘要: (1)ftl去缓存配置 (2)tomcat下配置 (3)配置 template_update_delay为0属性 阅读全文
posted @ 2017-03-14 11:09 he0xff 阅读(244) 评论(0) 推荐(0) 编辑
摘要: *********************************感谢互联网 解决方案: 1、打开MySQL目录下的my.ini文件,在文件的最后添加一行“skip-grant-tables”,保存并关闭文件。 2、重启MySQL服务。 3、在命令行中输入“mysql -uroot -p”(不输入密 阅读全文
posted @ 2017-03-11 23:08 he0xff 阅读(199) 评论(0) 推荐(0) 编辑
摘要: SELECT lat, lng, SQRT(POW(111.2 * ( lat - 31.8366060000), 2) + POW(111.2 * (118.5984990000 - lng) * COS(lat/ 57.3), 2)) AS distance FROM rep_info wher 阅读全文
posted @ 2017-02-17 14:11 he0xff 阅读(932) 评论(0) 推荐(0) 编辑
摘要: DELIMITER:CREATE PROCEDURE test_insert() BEGIN DECLARE i INT DEFAULT 1;WHILE i<100 DO insert into test(id, name) values (i, i); SET i=i+1; END WHILE ; 阅读全文
posted @ 2017-02-09 11:10 he0xff 阅读(453) 评论(0) 推荐(0) 编辑
摘要: <iframe style="display:none;" name="exportExcelIframe"></iframe> <form id="exportExcelForm" method="post" style="display:none;" target="exportExcelIfr 阅读全文
posted @ 2017-01-17 15:41 he0xff 阅读(1332) 评论(0) 推荐(0) 编辑
摘要: 一、校验数字的表达式 数字:^[0-9]*$ n位的数字:^\d{n}$ 至少n位的数字:^\d{n,}$ m-n位的数字:^\d{m,n}$ 零和非零开头的数字:^(0|[1-9][0-9]*)$ 非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(.[0-9]{1,2})?$ 带1- 阅读全文
posted @ 2017-01-13 10:42 he0xff 阅读(201) 评论(0) 推荐(0) 编辑
摘要: http://tool.oschina.net/commons HTTP Content-type HTML转义字符 RGB颜色参考 ASCII对照表 HTTP状态码详解 运算符优先级 TCP/UDP常见端口参考 网页字体参考 HTTP Content-type HTML转义字符 RGB颜色参考 A 阅读全文
posted @ 2017-01-13 10:41 he0xff 阅读(269) 评论(0) 推荐(0) 编辑
摘要: package com.aliyun; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.Properties; public class PropertyConfigurer{ private stat... 阅读全文
posted @ 2016-12-23 14:09 he0xff 阅读(159) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/6063308/touch-css-pseudo-class-or-something-similar 替代touchstart/touchend的一种css方案;手指按下的时候变换样式; (2)css后面用... 样式: wor 阅读全文
posted @ 2016-12-12 23:40 he0xff 阅读(473) 评论(0) 推荐(0) 编辑