上一页 1 2 3 4 5 6 ··· 23 下一页
  2022年4月18日
摘要: 1、拼接 sql 语句 Sub geSql2() Dim i, j As Integer Dim str As String For i = 2 To 4591 Range("AA" & i) = "INSERT INTO `t_idx_dim`(`index_id`, `index_name`, 阅读全文
posted @ 2022-04-18 20:32 快鸟 阅读(185) 评论(0) 推荐(0) 编辑
  2022年4月2日
摘要: 容灾演练,做故障模拟使用: 查看网卡信息: ifconfig 模拟网络丢包: tc qdisc add dev eth1 root netem loss 50% 删除丢包规则: sudo tc qdisc del dev eth1 root tc qdisc add dev eth1 root ne 阅读全文
posted @ 2022-04-02 10:41 快鸟 阅读(474) 评论(0) 推荐(0) 编辑
  2022年1月17日
摘要: scutil --set HostName "localhost" 参考: https://blog.csdn.net/fngang/article/details/80769905 阅读全文
posted @ 2022-01-17 08:16 快鸟 阅读(61) 评论(0) 推荐(0) 编辑
  2021年6月1日
摘要: 1. Lists.transform 避坑 Lists.transform(List<F> fromList, Function<? super F, ? extends T> function) 使用的是懒加载机制,它返回的是原始 list (fromList)的一个 view 视图。 既然是vi 阅读全文
posted @ 2021-06-01 17:55 快鸟 阅读(178) 评论(0) 推荐(0) 编辑
  2021年5月20日
摘要: 1. 登录 linux 服务器,less 查看日志时,显示的中文内容乱码,vi 编辑时,显示的内容又不乱码 export LESSCHARSET=utf-8 试试指定 less 的编码,再使用 less 查看一下 2. shell 连接 mysql ,查询表的记录时,中文出现乱码,显示的是 “??? 阅读全文
posted @ 2021-05-20 07:54 快鸟 阅读(125) 评论(0) 推荐(0) 编辑
  2021年5月13日
摘要: spring 在某些情况下是存在这样的问题:https://github.com/spring-projects/spring-framework/issues/18879https://github.com/spring-projects/spring-framework/issues/24325 阅读全文
posted @ 2021-05-13 14:54 快鸟 阅读(3183) 评论(0) 推荐(0) 编辑
  2021年2月19日
摘要: Mac使用技巧:1. 快速打开指定目录:在 terminal 中输入 open . ,打开当前路径2. Shift+command+3 全屏幕截图Shift+command+4 区域截图3. Command + space 在访达中查找4. Control + 鼠标 :相当于windows 的右键5 阅读全文
posted @ 2021-02-19 14:12 快鸟 阅读(222) 评论(0) 推荐(0) 编辑
  2021年2月1日
摘要: https://www.cnblogs.com/softidea/p/5741192.html netstat -ano 查看 tcp 连接状态(timer 是倒计时的) 通过 netstat -ano|grep 2181|grep 110.110.35.90:37296 查看一个处于 TIME_W 阅读全文
posted @ 2021-02-01 16:49 快鸟 阅读(154) 评论(0) 推荐(0) 编辑
  2020年11月25日
摘要: 在网上找到如下方案,监控 zk 的进程,如果进程不在,就重启 zk。有种情况解决不了:当 zk 僵死的时候,进程还在,但是存在很多 CLOSE_WAIT 的 tcp 连接,导致 zk 连接不上! #!/bin/sh while true; do time1=$(date) echo $time1 c 阅读全文
posted @ 2020-11-25 23:54 快鸟 阅读(265) 评论(0) 推荐(0) 编辑
  2020年10月12日
摘要: CAS https://apereo.github.io/cas/5.1.x/protocol/CAS-Protocol.html CAS 是 Central Authentication Service 的缩写,中央认证服务,一种独立开放指令协议。CAS 是 耶鲁大学发起的一个开源项目,旨在为 W 阅读全文
posted @ 2020-10-12 08:33 快鸟 阅读(490) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 23 下一页