上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
摘要: 百万对象内存指定字段排序 package com; import java.util.Arrays; import java.util.Comparator; import java.util.List; import java.util.Objects; import java.util.stre 阅读全文
posted @ 2019-01-17 14:30 lvlin241 阅读(502) 评论(0) 推荐(0)
摘要: 一、环境说明 1、物理机信息(主要): 内存:8G 系统/主频:Win7(旗舰版)64位/3.70GHZ 2、虚拟机信息: VMware Workstation 14 Pro 下载地址: 链接:https://pan.baidu.com/s/1X4RtZdQxL6HWGH1pAYyBhg 提取码:2 阅读全文
posted @ 2018-12-20 17:25 lvlin241 阅读(2063) 评论(0) 推荐(0)
摘要: 属性设置为display:inline或display:inline-block 阅读全文
posted @ 2018-11-26 20:19 lvlin241 阅读(11642) 评论(0) 推荐(0)
摘要: var a = 2.34567; var b = a.toFixed(3); // 输出结果:2.346 // 数字字符串转换为数字 var c = "123"; typeof c; // string var d = parseInt(c); typeof d; // number var e = parseInt(c); typeof e; // number 阅读全文
posted @ 2018-11-26 20:17 lvlin241 阅读(300) 评论(0) 推荐(0)
摘要: 原因: IE和Firefox是不支持含有'-'字符的日期格式,如:"2018-11-23" 解决方法: 日期格式 'yyyy-mm-dd' 改成 'yyyy/mm/dd' 代码: var dataParam = "2018-11-23 15:45:18"; // 转换为时间戳 var timestamp = Date.parse(new Date(data... 阅读全文
posted @ 2018-11-23 15:48 lvlin241 阅读(427) 评论(0) 推荐(0)
摘要: 1、github网站创建 参考:https://www.cnblogs.com/autoXingJY/p/9004724.html 2、命令更新 参考:https://www.cnblogs.com/hope-markup/p/6679564.html 阅读全文
posted @ 2018-11-15 10:50 lvlin241 阅读(201) 评论(0) 推荐(0)
摘要: 1、ElasticSearch Head ES-HEAD(插件下载与安装,非web插件): https://github.com/mobz/elasticsearch-head nodejs https://nodejs.org/dist/ 安装参考:https://blog.csdn.net/zi 阅读全文
posted @ 2018-10-18 17:38 lvlin241 阅读(18024) 评论(0) 推荐(0)
摘要: 解决方法如下: 1、在Firefox浏览器的地址栏中输入about:config,即打开Firefox的配置页面 2、然后搜索dom.allow_scripts_to_close_windows,找到后你会发现该配置的默认值是false,右键选择Toggle选项,选择切换,将值修改为true即可. 阅读全文
posted @ 2018-09-29 13:39 lvlin241 阅读(304) 评论(0) 推荐(0)
摘要: 1、通过URL传递并接受 阅读全文
posted @ 2018-09-28 17:56 lvlin241 阅读(127) 评论(0) 推荐(0)
摘要: 参考: https://www.gaotengjiao.com/kibana%E4%B8%AD%E6%93%8D%E4%BD%9C%E6%95%B0%E6%8D%AE%E4%B9%8B%E5%88%A0%E9%99%A4%E4%B8%80%E6%9D%A1%E6%96%87%E6%A1%A3%E4% 阅读全文
posted @ 2018-09-28 17:23 lvlin241 阅读(2469) 评论(0) 推荐(0)
摘要: 背景:elasticsearch 进行排序的时候,可能会排序数字、日期。但是在排序text类型的时候就会出现上述错误 原因(参考): https://blog.csdn.net/wild46cat/article/details/62889554 https://www.elastic.co/guide/en/elasticsearch/reference/current/fielddata.... 阅读全文
posted @ 2018-09-27 15:38 lvlin241 阅读(2245) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/qq_27093465/article/details/52796892 阅读全文
posted @ 2018-09-25 16:56 lvlin241 阅读(129) 评论(0) 推荐(0)
摘要: public class DateTest { // 支持时分秒 private static String LocalDateTimeTest(){ LocalDateTime date = LocalDateTime.now(); String res = date.format(DateTim 阅读全文
posted @ 2018-09-21 10:54 lvlin241 阅读(1174) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/qq_27446553/article/details/52433375 1、a href="_blank" 添加属性 rel="noreferrer" 2、window.ope var newWindow = window.open("跳转链接") 阅读全文
posted @ 2018-09-12 14:07 lvlin241 阅读(1255) 评论(0) 推荐(0)
摘要: background-color:transparent; 阅读全文
posted @ 2018-09-06 14:41 lvlin241 阅读(3017) 评论(0) 推荐(0)
摘要: 思路:把对象转换为字符串进行传递 参考:https://blog.csdn.net/shuai870081885/article/details/51283390 阅读全文
posted @ 2018-09-06 11:41 lvlin241 阅读(1091) 评论(0) 推荐(0)
摘要: 问题: 一个界面有个多个文本框输入值(或下拉框)展示的查询条件,也就是组合条件查询,需要在java里面动态拼接SQL,where条件如何写? 解决思路: 在where关键字后面固定写 1=1, 若还有其他条件,直接拼接 " and 条件 "。 阅读全文
posted @ 2018-09-05 10:20 lvlin241 阅读(4045) 评论(0) 推荐(0)
摘要: /** * 时间戳转换为日期 */ function convertTimestamp(timestamp){ // 时间戳转换为日期 var d = new Date(timestamp); // 日期按指定格式输出(例如: 2018-09-03 17:09:45) var year = date.getFullYear(); var month = ... 阅读全文
posted @ 2018-09-03 17:45 lvlin241 阅读(464) 评论(0) 推荐(0)
摘要: 参考: https://blog.csdn.net/dandelion_drq/article/details/79270597 改变Y轴单位:https://www.cnblogs.com/conserdao/p/6911048.html 阅读全文
posted @ 2018-08-30 12:03 lvlin241 阅读(954) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/u011262847/article/details/78007119 阅读全文
posted @ 2018-08-29 14:52 lvlin241 阅读(4459) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页