上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: 1 服务器启动jar包 (监听端口5005) java -Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y -jar xxxxxx.jar 2配置idea -agentlib:jdwp=transport=dt_ 阅读全文
posted @ 2018-11-28 14:31 itvita 阅读(2972) 评论(0) 推荐(0) 编辑
摘要: 1 安装java 环境 2安装elasticsearch 安装包下载地址 https://www.elastic.co/downloads/past-releases/elasticsearch-2-4-3 wget https://download.elastic.co/elasticsearch 阅读全文
posted @ 2018-10-30 11:30 itvita 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 匹配IP function isIP1(strIP) { if (strIP == ""){return false}; var strRegex= /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[09][0-9]|[1-9][0-9]|[0-9]|\*)$... 阅读全文
posted @ 2018-10-19 01:54 itvita 阅读(272) 评论(0) 推荐(0) 编辑
摘要: import java.util.Random; public class tests { /** * * author LiuQiang * date 2013-10-14 下午01:13:54 * @param args */ public static void main(String[] args) { ... 阅读全文
posted @ 2018-10-19 01:52 itvita 阅读(917) 评论(0) 推荐(0) 编辑
摘要: package demoone; import java.sql.Timestamp; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import j... 阅读全文
posted @ 2018-10-19 01:32 itvita 阅读(366) 评论(0) 推荐(0) 编辑
摘要: package wzh.Http; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.URL; import java.net.URLConnection; import ... 阅读全文
posted @ 2018-10-19 01:30 itvita 阅读(362) 评论(0) 推荐(0) 编辑
摘要: CREATE DEFINER=`root`@`%` FUNCTION `latlon`(lat1 DOUBLE,lon1 DOUBLE,lat2 DOUBLE,lon2 DOUBLE) RETURNS varchar(200) CHARSET utf8mb4 begin return ROUND( 6378.138 * 2 * ASIN( SQRT( ... 阅读全文
posted @ 2018-10-16 16:29 itvita 阅读(2535) 评论(0) 推荐(0) 编辑
摘要: 查询配置目录 select @@basedir; 查询数据目录 select @@datadir; 查询数据库编码 show variables like 'char% my.ini 阅读全文
posted @ 2018-09-08 15:17 itvita 阅读(4057) 评论(0) 推荐(0) 编辑
摘要: SELECT T2.id, T2.name FROM ( SELECT @r AS _id, @stop:=@stop+if(@r=2,1,@stop) as stop, (SELECT @r := p_id FROM goods_class WHERE id = _id) AS p_id, @l := @l + ... 阅读全文
posted @ 2018-08-09 17:04 itvita 阅读(2544) 评论(0) 推荐(0) 编辑
摘要: 1引入jar包 2实体类 3接口 4 controller测试 5 官方api参考地址 https://www.elastic.co/guide/en/elasticsearch/client/java-api/5.5/java-full-text-queries.html 阅读全文
posted @ 2018-08-08 18:22 itvita 阅读(739) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页