摘要: HttpURLConnection使用分析 阅读全文
posted @ 2023-02-28 17:12 阿弱 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 在一次升级过程中,发现Mysql插入数据报了个错 Column 'create_time' cannot be null. 但是看了下这个字段虽然是非null,但是是有默认值的 `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP 报这 阅读全文
posted @ 2022-10-11 11:31 阿弱 阅读(739) 评论(0) 推荐(0) 编辑
摘要: 使用Arthas trace分析接口 阅读全文
posted @ 2022-09-21 18:41 阿弱 阅读(731) 评论(0) 推荐(4) 编辑
摘要: leetcode 687 最长同值路径 阅读全文
posted @ 2022-09-06 15:54 阿弱 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 跨域问题,CORS解决跨域的原理 阅读全文
posted @ 2022-08-31 15:17 阿弱 阅读(1358) 评论(0) 推荐(0) 编辑
摘要: Spring Security认证器实现,Spring Security认证器原理 阅读全文
posted @ 2022-06-23 23:40 阿弱 阅读(606) 评论(5) 推荐(2) 编辑
摘要: 这题的目的是找出排序后和排序前位置不同的元素的个数 正常通过复制出一个新的数组,然后对比排序后的数组就能做出,但是时间是1ms 然后发现一种基于桶排序来计数的做法 public int heightCheckerV2() { int[] heights = {1,1,4,2,1,3}; // 值的范 阅读全文
posted @ 2022-06-13 16:09 阿弱 阅读(23) 评论(0) 推荐(0) 编辑
摘要: Spring Security自定义认证器,自定义登录方式 阅读全文
posted @ 2022-05-24 17:38 阿弱 阅读(644) 评论(2) 推荐(0) 编辑
摘要: Canal实现dump,如何获取bin-log数据 阅读全文
posted @ 2022-05-19 18:46 阿弱 阅读(323) 评论(0) 推荐(0) 编辑
摘要: MySQL常用日期、自然周、月函数查询 阅读全文
posted @ 2022-04-18 14:56 阿弱 阅读(645) 评论(0) 推荐(0) 编辑