摘要: 1、以管理员运行 CMD 2、依次执行一下两句 %windir%\system32\inetsrv\appcmd unlock config -section:system.webServer/handlers %windir%\system32\inetsrv\appcmd unlock conf 阅读全文
posted @ 2021-12-23 10:32 happywithus 阅读(991) 评论(0) 推荐(0) 编辑
摘要: Navicat常用快捷键 来源:https://www.cnblogs.com/yulia/p/9212136.html 1.ctrl+r 运行当前查询窗口的所有sql语句2.ctrl+shift+r 只运行选中的sql语句3.ctrl+/ 注释sql语句4.ctrl+shift +/ 解除注释5. 阅读全文
posted @ 2021-11-12 16:06 happywithus 阅读(179) 评论(0) 推荐(0) 编辑
摘要: import java.io.*; public class PiperTest { public static void main(String[] args) throws IOException { PiperOutputTest send = new PiperOutputTest(); R 阅读全文
posted @ 2021-10-29 16:20 happywithus 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 慢查询日志分析法 慢查询日志开启方法: 在配置文件my.cnf在[mysqld]一行下面加入两个配置参数 【Linux修改方式】my.cnf修改 [mysqld]slow_query_log=ONslow_query_log_file=/var/lib/mysq/slow-query.loglong 阅读全文
posted @ 2021-10-26 15:11 happywithus 阅读(64) 评论(0) 推荐(0) 编辑
摘要: ① 向sys_option添加索引 ALTER TABLE sys_option2 ADD KEY(descript); ②情况一:前后%号匹配 EXPLAIN SELECT * FROM sys_option2 WHERE descript LIKE '%房号%'; 可以看到type显示的是“AL 阅读全文
posted @ 2021-10-26 14:05 happywithus 阅读(624) 评论(0) 推荐(0) 编辑
摘要: public static void main(String args[]) { System.getProperties().list(System.out); } 阅读全文
posted @ 2021-10-19 09:48 happywithus 阅读(45) 评论(0) 推荐(0) 编辑
摘要: mashes常用的正则标记: java.util.regex.Pattern 开发包里 1、【单个匹配】字符匹配 · 任意字符 · \\:匹配‘\’ · \n:匹配换行 · \t:匹配制表符2、【数量:单个】字符集(可以从里面任选一个字符) ·[abc] : 表示可以是a,b,c中的任意一个 ·[^ 阅读全文
posted @ 2021-08-13 14:04 happywithus 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 1 package com.producerandconsumer; 2 3 class Message2{ 4 private String name; 5 private String deString; 6 private boolean tag = true; 7 public synchr 阅读全文
posted @ 2021-08-11 16:36 happywithus 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 安装步骤:https://www.cnblogs.com/exmyth/p/10722625.html curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused的几种解决方式 地址打不开 阅读全文
posted @ 2021-08-03 22:09 happywithus 阅读(387) 评论(0) 推荐(0) 编辑
摘要: String 不要经常修改赋值,容易产生垃圾 因为每次修改都是堆重定向。 阅读全文
posted @ 2021-07-15 10:34 happywithus 阅读(99) 评论(0) 推荐(0) 编辑