上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: 参考: https://dzone.com/articles/how-use-linkedin-market-your 表空间信息 https://coderanch.com/t/300498/databases/Java-find-List-tablespaces-database getCata 阅读全文
posted @ 2019-02-21 20:06 lvlin241 阅读(1879) 评论(0) 推荐(0)
摘要: jdk自带的查看工具(jdk安装目录/bin) 1、Java VisualVM 2、jconsole 阅读全文
posted @ 2019-01-29 10:23 lvlin241 阅读(223) 评论(0) 推荐(0)
摘要: 访问日志名:localhost_access_log.2019-01-29.txt 日志格式示例 192.168.0.1 - - [22/Nov/2017:17:26:28 +0800] "GET /images/rand HTTP/1.0" 200 1720 "https://www.test.c 阅读全文
posted @ 2019-01-28 17:22 lvlin241 阅读(1004) 评论(0) 推荐(0)
摘要: INNER JOIN (内连接) 只返回两表都有匹配的行 -- 查询有订单的客户 SELECT c.name, o.order_id, o.amount FROM customers c INNER JOIN orders o ON c.id = o.customer_id; -- 结果: 只显示既 阅读全文
posted @ 2019-01-27 20:11 lvlin241 阅读(240) 评论(0) 推荐(0)
摘要: 什么是 ThreadLocal? ThreadLocal 是 Java 中的一个类,用于为每个线程提供独立的变量副本,实现线程隔离。每个线程访问 ThreadLocal 变量时,操作的是自己的副本,互不干扰。 为什么使用 ThreadLocal? 线程安全:通过为每个线程提供独立的变量副本,避免多线 阅读全文
posted @ 2019-01-22 13:39 lvlin241 阅读(186) 评论(0) 推荐(0)
摘要: // 检索(字符串中判断是否包含某个字符) 字符串.search('检索的内容');// 返回-1,不包含; 返回非-1,包含 字符串.indexOf("待判断的内容"); // 截取 字符串.substr(起始位置,长度); 字符串.substring(起始位置,长度); 示例: var a = "as far as i known, xxx is handsome"; b = a.sub... 阅读全文
posted @ 2019-01-22 12:09 lvlin241 阅读(3811) 评论(0) 推荐(0)
摘要: 百万对象内存指定字段排序 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 阅读(532) 评论(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 阅读(2107) 评论(0) 推荐(0)
摘要: 属性设置为display:inline或display:inline-block 阅读全文
posted @ 2018-11-26 20:19 lvlin241 阅读(11656) 评论(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 阅读(318) 评论(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 阅读(448) 评论(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 阅读(226) 评论(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 阅读(18088) 评论(0) 推荐(0)
摘要: 解决方法如下: 1、在Firefox浏览器的地址栏中输入about:config,即打开Firefox的配置页面 2、然后搜索dom.allow_scripts_to_close_windows,找到后你会发现该配置的默认值是false,右键选择Toggle选项,选择切换,将值修改为true即可. 阅读全文
posted @ 2018-09-29 13:39 lvlin241 阅读(319) 评论(0) 推荐(0)
摘要: 1、通过URL传递并接受 阅读全文
posted @ 2018-09-28 17:56 lvlin241 阅读(145) 评论(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 阅读(2493) 评论(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 阅读(2279) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/qq_27093465/article/details/52796892 阅读全文
posted @ 2018-09-25 16:56 lvlin241 阅读(147) 评论(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 阅读(1205) 评论(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 阅读(1276) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页