- 博客(12)
- 收藏
- 关注
原创 mac OS 触控板失灵问题
最近手欠,玩指尖陀螺仪时,不小心砸了一下触控板,导致触控板失灵。然后自行更换触控板后(更换触控板的教材,详见网络或者再出一片教程),开机后触控板不可用。但是开机前可用。
2024-11-29 18:27:21
287
原创 本地同时配置github 和gitee 远程仓库
在当下,gitee 也成为国内很多开发人员交友社区。同时为了跟上时代的步伐,大家也不想放弃github。所以同时将自己的项目提交到gitee 和github 成了开发人员的诉求。
2023-02-18 12:37:00
425
原创 mongodb授权失败:org.springframework.data.mongodb.UncategorizedMongoDbException
org.springframework.data.mongodb.UncategorizedMongoDbException: Exception authenticating MongoCredential Caused by: com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=SCRAM-SHA-1, userName='xxx', source='xxxx', pa
2022-05-24 17:58:34
2459
原创 frp-内网穿透-远程桌面
系列文章目录提示:这里可以添加系列文章的所有文章的目录,目录需要自己手动添加例如:第一章 Python 机器学习入门之pandas的使用提示:写完文章后,目录可以自动生成,如何生成可参考右边的帮助文档文章目录系列文章目录前言一、pandas是什么?二、使用步骤1.引入库2.读入数据总结欢迎使用Markdown编辑器新的改变功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创
2022-03-18 15:23:21
2172
原创 redis 操作命令集
启动命令:redis-server.exe redis.windows.conf建立链接:redis-cli.exe -h 127.0.0.1 -p 6379 (这时候另启一个 cmd 窗口,原来的不要关闭,不然就无法访问服务端了。)redis 支持数据类型Strings(字符串)character:Redis 字符串是二进制安全的,也就是说,一个 Redis 字符串可以包含任意类型的数据,例如一张 JPEG 图像,或者一个序列化的 Ruby 对象。一个字符串最大为 512M 字.
2021-03-09 09:21:11
313
原创 python 学习笔记
生成式 生成器使用import sysf = [x for x in range(1, 10)]print(f)f = [x + y for x in 'ABCDE' for y in '1234567']print(f)# 用列表的生成表达式语法创建列表容器# 用这种语法创建列表之后元素已经准备就绪所以需要耗费较多的内存空间f = [x ** 2 for x in range(1, 1000)]print(sys.getsizeof(f)) # 查看对象占用内存的字节数print(f.
2021-02-26 11:41:30
128
原创 spingCloud gateway 启动报错: xxx.ReactiveJwtDecoder that could not be found
spingCloud gateway 启动报错: xxx.ReactiveJwtDecoder that could not be found报错信息如下:Parameter 0 of method setSecurityWebFilterChains in org.springframework.security.config.annotation.web.reactive.WebFluxSecurityConfiguration required a bean of type 'org.spr
2021-02-26 11:31:25
4836
1
原创 spring项目启动报_Could not resolve placeholder_解决
问题:spring的配置文件中增加了一个 配置:<context:property-placeholder location="classpath:config.properties" ignore-unresolvable="true"/>引发问题:java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCac
2021-02-26 11:30:23
1135
原创 前端下载文件变成了export.zip
前端下载文件变成了export.zip.主要原因是文件头设置有问题:未设置有效的文件头设置文件头要在写入数据之前。源码 /** * 设置 数据流写入成功的响应头信息(需要将请求头放在流写入的前面,下载文件会出现问题) * @param response * @param name * @throws IOException */public static void setSuccessResponseHeader(HttpServletRes
2021-02-26 11:27:53
817
原创 RestTemplate 调用exchange方法 请求参数 和返回 值都为json 数据,http请求报错
RestTemplate 调用exchange 请求 发送 和返回 json 数据,报错报错信息org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Unexpected character '{' (code 123) in prolog; expected '<' at [row,col {unknown-source}]: [1,1]; nested exception
2021-02-26 11:24:03
7271
原创 Mac iterm2打开时 Failed to load preferences from custom directory. Falling back to local copy
报错信息如下: Failed to load preferences from custom directory. Falling back to local copy。 missing or malformed file at ""解决方案:打开 Preferences -> General页签,修改如下:完美解决。
2020-08-09 10:45:38
1719
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人