Blueherb In solitude, where we are least alone 王佳鑫
摘要: `update xxxx_tab set if_internet = 2 and netposition = 1 where job= 'xxxxx' and name= 'xxxx';` 2 and netposition = 1 , and 是与运算,先判断netposition = 1 在数据 阅读全文
posted @ 2023-02-01 10:52 阿呆学习之路 阅读(19) 评论(0) 推荐(0) 编辑
摘要: Runnable runnable = new Runnable() { //定义一个Runnable对象 @Override public void run() { System.out.println("【Runnable】 i love you"); } }; Thread thread = 阅读全文
posted @ 2023-01-29 09:42 阿呆学习之路 阅读(165) 评论(0) 推荐(0) 编辑
摘要: --Mysql--导出函数、存储过程 mysqldump -u root -paawwqqaa -ntd -R shujuku > prorandfunc.sql --Mysql--导出表结构、数据 mysqldump -u root -paawwqqaa shujuku > data.sql my 阅读全文
posted @ 2022-12-23 09:16 阿呆学习之路 阅读(34) 评论(0) 推荐(0) 编辑
摘要: select ip_type 'IP类型', timestamp '数据填报时间' from ( select d.id, if(d.ip_type = 0, 'IP', 'IP段') ip_type , d.timestamp, (CASE d.visible WHEN 0 THEN '否' WH 阅读全文
posted @ 2022-12-22 10:36 阿呆学习之路 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 在文件夹中搜索特定文件 find . -name "xxxxx" -print 查询指定内容 输出到指定文件 grep "xxxx" xxxx.log > xx.txt 阅读全文
posted @ 2022-11-24 15:26 阿呆学习之路 阅读(8) 评论(0) 推荐(0) 编辑
摘要: ps aux | grep elasticsearch 修改 elasticsearch.yml 点击查看代码 xpack.security.enabled: true xpack.security.transport.ssl.enabled: true xpack.license.self_gen 阅读全文
posted @ 2022-08-22 16:55 阿呆学习之路 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 点击查看代码 server { limit_conn perip 20; limit_conn perserver 200; limit_rate 1024M; listen 61061; server_name 10.10.10.10; #root /home/issa/fanzha/html-y 阅读全文
posted @ 2022-07-29 16:38 阿呆学习之路 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 属性注入 autowire 1.xml autowire="byName" 点击查看代码 public class User { @Value(value = "abc") private String name; public void add(){ System.out.println("add 阅读全文
posted @ 2022-07-27 10:21 阿呆学习之路 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 点击查看代码 Demo user = new Demo(1); change(user); System.out.println("user "+user.getAge()); public static void change(Demo demo){ Demo sd = new Demo(5); 阅读全文
posted @ 2022-07-22 17:06 阿呆学习之路 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 点击查看代码 List<String> stringList = new ArrayList<>(); stringList.add("1"); stringList.add("2"); stringList.add("3"); stringList.add("4"); stringList.add 阅读全文
posted @ 2022-07-21 16:38 阿呆学习之路 阅读(971) 评论(0) 推荐(0) 编辑