摘要: public static final Object parse(String text); // 把JSON文本parse为JSONObject或者JSONArray public static final JSONObject parseObject(String text); // 把JSON 阅读全文
posted @ 2023-03-27 19:18 Cate_Hunter 阅读(41) 评论(0) 推荐(0) 编辑
摘要: git remote update origin --prune git fetch 拉取分支,远程被删除的分支不会同步删除本地origin的分支(origin/xxxx) 比如你有个本地分支feat,然后也有本地origin/feat,假设remote新增了test分支且其他人删除了remote的 阅读全文
posted @ 2022-10-08 16:32 Cate_Hunter 阅读(1089) 评论(0) 推荐(1) 编辑
摘要: 转载 https://www.cnblogs.com/jpfss/p/10413985.html Java 8中表示日期和时间的类有多个,主要的有: Instant:表示时刻,不直接对应年月日信息,需要通过时区转换 LocalDateTime: 表示与时区无关的日期和时间信息,不直接对应时刻,需要通 阅读全文
posted @ 2022-01-25 09:11 Cate_Hunter 阅读(1305) 评论(0) 推荐(0) 编辑
摘要: 如果是升级导致不提示保存密码,首先关闭浏览器,然后进入Chrome浏览器的数据存储文件夹【C:\Users\你的用户名\AppData\Local\Google\Chrome\User Data\Default】删除【Login Data、Login Data-journal 】两个文件即可。 阅读全文
posted @ 2022-01-10 09:46 Cate_Hunter 阅读(3403) 评论(0) 推荐(0) 编辑
摘要: annoy函数包使用 AnnoyIndex(f, metric='angular') 初始化新的索引树,元素向量维度为f. Metric 可以是 “angular”, “euclidean”, “manhattan”, “hamming”, or “dot”. a.add_item(i, v) 添加 阅读全文
posted @ 2020-07-30 19:33 Cate_Hunter 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 常用镜像源: 清华:https://pypi.tuna.tsinghua.edu.cn/simple阿里云:http://mirrors.aliyun.com/pypi/simple/中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/在安装包的时候执行命令 阅读全文
posted @ 2020-06-08 14:10 Cate_Hunter 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 配置文件properties和yml互转 https://www.toyaml.com/index.html 阅读全文
posted @ 2020-05-07 16:58 Cate_Hunter 阅读(99) 评论(0) 推荐(0) 编辑
摘要: IO 阻塞、非阻塞 同步、异步 的理解 阻塞和非阻塞 是指的客户端的状态,客户端时直接挂起等待结果,还是继续做其他任务 同步和异步 针对的是如何获取到消息,同步就是客户端主动获取,异步是由服务端间接推送 阅读全文
posted @ 2020-05-07 09:49 Cate_Hunter 阅读(141) 评论(0) 推荐(0) 编辑
摘要: sql练习网站: https://sqlzoo.net/wiki/The_JOIN_operation/zh where和having的比较1. where和having都可以使用的场景 select goods_price,goods_name from sw_goods where goods_ 阅读全文
posted @ 2020-04-27 15:39 Cate_Hunter 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 此为springmvc中配置 采用tomcat发布: 上图Deployment界面的红框中目录可以任意修改,然后点击Apply 上图Server界面会出现红框中的网址,接着在后面添加springconfig.xml中的配置,保存运行即可。 修改url需要先将部署(Deployment)删掉,重新配置 阅读全文
posted @ 2019-10-24 20:52 Cate_Hunter 阅读(4258) 评论(0) 推荐(0) 编辑