"ヾ(?°?°?)??加油哟~","愿a56爆大奖在线娱乐们不负昭华,以梦为马!","愿a56爆大奖在线娱乐们历尽千帆,归来仍是少年!"
上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: 1、单例模式 饿汉模式 优点:执行效率高,性能高,没有任何的锁 缺点:某些情况下,可能会造成内存的浪费 public class MyStaticHungrySingleton { private static final MyStaticHungrySingleton myStaticHungry 阅读全文
posted @ 2022-06-05 00:38 深夜独行侠 阅读(24) 评论(0) 推荐(0) 编辑
摘要: yum install nmap nmap -sS -p 0-1000 XXX.XXX.XXX.XXX 阅读全文
posted @ 2022-05-26 16:33 深夜独行侠 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 1、a56爆大奖在线娱乐接口添加token https://blog.csdn.net/weixin_43970743/article/details/123810480 2、全局设置token https://www.freesion.com/article/24791387978/ 阅读全文
posted @ 2022-05-26 12:48 深夜独行侠 阅读(552) 评论(0) 推荐(0) 编辑
摘要: linux 添加用户,无权限修改passwd问题 1、首先检查 /etc/passwd 文件权限 [root@VM-0-3-centos tempfile]# lsattr /etc/passwd ia e-- /etc/passwd 文件的扩展属性多了 i a # i:不可修改权限# a:只追加权 阅读全文
posted @ 2022-05-22 11:05 深夜独行侠 阅读(956) 评论(0) 推荐(0) 编辑
摘要: 备份 https://blog.csdn.net/a807557328/article/details/114223840 https://zhuanlan.zhihu.com/p/423506052 阅读全文
posted @ 2022-05-05 15:46 深夜独行侠 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 配置依赖/Gbeniot/p/5157245.htmlhttps://www.jianshu.com/p/c50209404b92 阅读全文
posted @ 2022-05-05 09:33 深夜独行侠 阅读(82) 评论(0) 推荐(0) 编辑
摘要: String PW_PATTERN = "^(?![A-Za-z0-9]+$)(?![a-z0-9\\W]+$)(?![A-Za-z\\W]+$)(?![A-Z0-9\\W]+$)[a-zA-Z0-9\\W]{8,}$"; String pw1 = "ABCDEFGHIG"; String pw2 阅读全文
posted @ 2022-04-19 18:44 深夜独行侠 阅读(181) 评论(0) 推荐(0) 编辑
摘要: redis 性能测试工具命令找不到问题 [root@VM-0-3-centos bin]# redis-benchmark -n 10000 -q -bash: redis-benchmark: 未找到命令 https://blog.csdn.net/qq_34608423/article/deta 阅读全文
posted @ 2022-04-12 09:38 深夜独行侠 阅读(121) 评论(0) 推荐(0) 编辑
摘要: https://wenku.baidu.com/view/22b5c60e925f804d2b160b4e767f5acfa1c783cf.html 阅读全文
posted @ 2022-04-11 16:51 深夜独行侠 阅读(363) 评论(0) 推荐(0) 编辑
摘要: import java.io.FileInputStream; import java.io.IOException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; /** * @ 阅读全文
posted @ 2022-04-03 19:17 深夜独行侠 阅读(397) 评论(0) 推荐(0) 编辑
摘要: import org.springframework.context.annotation.Configuration; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframe 阅读全文
posted @ 2022-03-27 18:44 深夜独行侠 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 一、开启慢日志查询 1、查询开启 #慢查询是否开启和日志位置 show variables like 'slow_query%'; #慢查询时间 show variables like 'long_query_time'; #开启慢查询日志 set global slow_query_log='ON 阅读全文
posted @ 2022-03-22 14:47 深夜独行侠 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 进入mysql数据库,修改数据库的内容 1, use mysql; 2,update user set authentication_string="" where User='root';//设 authentication_string 为空值 ,因为是连接这个加密的东西 先设密码为空 3,up 阅读全文
posted @ 2022-03-22 12:56 深夜独行侠 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 如果有穿墙插件如Google助手 VPN SS 之类别 有可能被全局代理 首先关闭这些软件 或者浏览器插件 假设,您的本地代理端口为:1080 ,打开git base窗口进行按下列的方式设置。(在Linux及OSX系统环境下测试通过。) 全局代理(不推荐) 设置代理 git config --glo 阅读全文
posted @ 2022-03-20 18:56 深夜独行侠 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 修改host文件 # update: 20220222 # Github Hosts # domain: github.com 140.82.113.4 github.com 140.82.114.9 nodeload.github.com 140.82.112.5 api.github.com 1 阅读全文
posted @ 2022-03-20 18:52 深夜独行侠 阅读(18570) 评论(0) 推荐(0) 编辑
摘要: 1、轮询(默认)a56爆大奖在线娱乐请求按时间顺序逐一分配到不同的后端服务器,如果后端服务器down掉,能自动剔除。upstream backserver {undefinedserver 192.168.0.14;server 192.168.0.15;} 2、指定权重指定轮询几率,weight和访问比率成正比, 阅读全文
posted @ 2022-03-19 19:57 深夜独行侠 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 一、依赖安装 在linux下安装nginx,首先需要安装 gcc-c++编译器。然后安装nginx依赖的pcre和zlib包。最后安装nginx即可。 1.先安装gcc-c++编译器 yum install gcc-c++ yum install -y openssl openssl-devel 2 阅读全文
posted @ 2022-03-19 19:04 深夜独行侠 阅读(3128) 评论(0) 推荐(1) 编辑
摘要: 去掉框中的选项 阅读全文
posted @ 2022-03-19 16:13 深夜独行侠 阅读(362) 评论(0) 推荐(0) 编辑
摘要: @echo on @rem 删除SVN版本控制目录 @rem for /r . %%a in (.) do @if exist "%%a\.svn" @echo "%%a\.svn" @for /r . %%a in (.) do @if exist "%%a\.svn" rd /s /q "%%a 阅读全文
posted @ 2022-03-19 12:37 深夜独行侠 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 原因: 利用mybatis插入空值给数据库;mysql能够正常执行,而Oracle却抛出异常; 这两种截然不同的表现给程序员造成了困扰,那么这个抛异常的锅到底应该是谁来背呢? 当然是mybatis来背锅喽。oracle和mysql都根据jdbc接口来提供了自己的实现方法, 而mybatis作为一个封 阅读全文
posted @ 2022-03-18 22:35 深夜独行侠 阅读(824) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页