上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页
摘要: 让当前操作暂停3秒后再执行。 使用es6和 es7 语法来实现。 function sleep(millisecond) { return new Promise(resolve => { setTimeout(() => { resolve() }, millisecond) }) } async 阅读全文
posted @ 2021-09-21 22:36 一万年以前 阅读(2667) 评论(0) 推荐(1) 编辑
摘要: 主:192.168.10.2 从:192.168.10.3 1、修改配置文件 MySQL 搭建主从需要配置 my.cnf ,在主库 my.cnf 的 [mysqld] 段落下添加如下内容: [mysqld] # 设置server-id,唯一值,标识主机,必须与从库不一致 server-id=1 # 阅读全文
posted @ 2021-08-31 13:24 一万年以前 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://blog.csdn.net/u013948858/article/details/96492659 <?xml version='1.0' encoding='utf-8'?> <Server port="9005" shutdown="SHUTDOWN"> <Listen 阅读全文
posted @ 2021-07-29 11:41 一万年以前 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 什么是Druid? Druid首先是Java语言中最好的数据库连接池,也是阿里巴巴的开源项目。Druid是阿里巴巴开发的号称为监控而生的数据库连接池,在功能、性能、扩展性方面,都超过其他数据库连接池,包括DBCP、C3P0、BoneCP、Proxool、JBoss DataSource等等等,秒杀一 阅读全文
posted @ 2021-07-23 09:56 一万年以前 阅读(1717) 评论(0) 推荐(0) 编辑
摘要: 日志存储路径: D:\app\Administrator\diag\rdbms\orcl\orcl\alert(警告) D:\oracle_data\orcl\REDOxx.LOG ALTER SYSTEM ARCHIVE LOGThread 1 cannot allocate new log, s 阅读全文
posted @ 2021-07-13 10:38 一万年以前 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 阿里云CentOS7安装nginx (原文地址:https://blog.csdn.net/qq_21017997/article/details/108367677) 另一个参考地址:https://www.cnblogs.com/huny/p/13702929.html 1、安装gcc插件 我使 阅读全文
posted @ 2021-04-08 13:50 一万年以前 阅读(133) 评论(0) 推荐(0) 编辑
摘要: springboot @OneToOne 解决JPA双向死循环/返回json数据死循环 项目场景: 问题描述: 解决方案: 1. 转成DTO时并设置缺省 2. 使用@JsonIgnore 3. 使用@JsonIgnoreProperties(推荐) 项目场景: 在使用spring data jpa时 阅读全文
posted @ 2020-12-29 19:35 一万年以前 阅读(1064) 评论(0) 推荐(0) 编辑
摘要: 不直接运行软件,而是运行一个引导程序,在引导程序里面判断.Net Framework 的版本,满足条件就启动软件,不满足就提示用户安装.Net Framework 下面是如果确定用户的电脑是4.0及以上,才可以使用的新方法,否则只能使用老的方法,一样可以解决 各版本需要的 release 可以在微软 阅读全文
posted @ 2020-12-17 18:45 一万年以前 阅读(925) 评论(0) 推荐(0) 编辑
摘要: 原始的脚本为 [Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersio 阅读全文
posted @ 2020-12-10 08:50 一万年以前 阅读(807) 评论(0) 推荐(0) 编辑
摘要: windows服务器,在catalina.bat加上红色字体即可 setlocalset "JAVA_OPTS=%JAVA_OPTS% %JSSE_OPTS% -Dfile.encoding=UTF-8" 阅读全文
posted @ 2020-11-05 17:54 一万年以前 阅读(1220) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页