- 博客(204)
- 资源 (4)
- 收藏
- 关注
原创 我的影刀编码规范
本文档制定了影刀自动化工具的编码规范,主要包括:1)元素库和图像库命名需加"元素"/"图像"后缀;2)变量命名规则:全局变量加"glv_"/"全局_"前缀,英文变量加"var_"前缀,中文变量加"变量"后缀;3)注释规范:单行用备注,多行用注释模块;4)分组和流程命名规则:分组加数字编号,流程需加"流程"后缀,并采用"A1/B2"分级编号,可选添加版本号。这些规范旨在保持代码的一致性和可读性。
2026-06-16 20:13:44
166
原创 影刀处理下载对话框超时或者失败
摘要 影刀处理下载对话框时出现超时或失败问题,原因是浏览器未弹出下载前询问保存位置的对话框。解决方法是在Chrome浏览器设置中开启"下载前询问每个文件保存位置"选项(路径:设置→下载内容)。该设置可确保下载对话框正常弹出,避免影刀处理失败。
2026-05-15 18:33:06
50
原创 Mysql 5.6 迁移 Mysql 5.7 timestamp 字段默认值报错 [1067] [42000]: Invalid default value
在MySQL 5.7中执行SpringAuthorizationServer授权表SQL时,出现[1067][42000]报错,原因是5.7版本对timestamp字段的默认值限制更严格,不允许为NULL。解决方案是将所有timestamp字段的默认值修改为当前时间(CURRENT_TIMESTAMP),而不是NULL。这反映了MySQL 5.7版本对时间戳字段更严格的数据完整性要求。
2025-05-25 00:45:26
355
原创 SpringAuthorizationServer 发展历程
Spring Authorization Server(SAS)的发展历程可分为三个阶段
2025-05-23 01:39:34
366
原创 Docker 安装 RabbitMQ,自定义数据卷位置启动失败,分析过程
删除容器docker stop [容器ID]docker ps -a [容器ID]docker rm -f [容器ID]将默认数据卷文件,复制到自定义数据卷位置指定数据卷位置,启动失败。
2024-07-14 04:00:48
606
原创 解决npm run start 和 node.js src/main.js 引用资源文件路径不一致问题
【代码】解决npm run start 和 node.js src/main.js 引用资源文件路径不一致问题。
2024-01-11 03:23:50
978
1
原创 讲一个openssl升级时运维才知道的笑话
再次看到大神的配置,我懂了,我居然笑了,原来大神非常的谨慎,害怕在生成环境上删除了openssl,导致一系列重大事故,哈哈哈,不知道作为读者的你,看到这里是否也笑了。导致yum无法使用了,555,其实我可以手动在装上openssl的,然后再yum,很麻烦,而且怕有连锁反应,还好是虚拟机环境,我直接恢复快照了,有惊无险。因为python3 pip的TSL/SSL问题,需要openssl 1.1以上版本,我只能安装openssl替换CentOS7系统openssl版本。生产环境无小事,谨慎操作才是王道!
2023-01-01 07:23:05
821
原创 python 从扩展模块中定义和导出C的API
扩展模块头源代码,pysample.h/*** Created on: 2022年12月30日*/#endif= NULL)?1 : 0;}#endif}#endif扩展模块源代码,ptexample.c/*** Created on: 2022年12月30日*/Point *p;if (!}if (!p) {}}};-1,};if (!}return m;}python编译配置,ptsetup.py)])
2023-01-01 03:09:12
716
原创 python 调用C程序异常 OSError: [WinError 193] %1 不是有效的 Win32 应用程序
【代码】python 调用C程序异常 OSError: [WinError 193] %1 不是有效的 Win32 应用程序。
2023-01-01 03:07:58
1955
原创 python打开其他浏览器异常webbrowser.Error: could not locate runnable browser
【代码】python打开其他浏览器异常webbrowser.Error: could not locate runnable browser。
2022-11-18 10:43:02
2161
1
原创 解决python脚本异常/usr/bin/python3^M: bad interpreter: No such file or directory
【代码】解决python脚本异常/usr/bin/python3^M: bad interpreter: No such file or directory
2022-11-17 09:53:38
1808
原创 解决python继承实现线程异常can‘t pickle _thread.lock objects
【代码】解决python继承实现线程异常can't pickle _thread.lock objects。
2022-11-14 16:34:28
996
原创 Visual Studio Code 设置在文件目录中运行python程序
【代码】Visual Studio Code 设置在文件目录中运行python程序。
2022-09-23 14:27:55
904
2
原创 react 中 Warning A future version of React will block javascript 异常解决
【代码】react 中 Warning A future version of React will block javascript 异常解决。
2022-09-07 11:30:57
509
原创 解决 eslint 的 Parsing error: Unexpected token 错误
【代码】解决 eslint 的 Parsing error: Unexpected token 错误。
2022-09-07 11:27:47
6229
原创 react 中 Warning A future version of React will block javascript 异常解决
react 中 Warning A future version of React will block javascript 异常解决
2022-08-31 17:40:09
417
原创 cordova 安装错误 Command failed: powershell 解决方法
cordova 安装错误 Command failed: powershell 解决方法。
2022-08-10 16:31:22
720
原创 curl: (1) Received HTTP/0.9 when not allowed 解决方法
curl: (1) Received HTTP/0.9 when not allowed 解决方法
2022-08-10 16:26:54
5551
1
原创 electron + vue 打包错误 UnhandledPromiseRejectionWarning: ReferenceError: Multispinner is not defined
electron+vue打包错误UnhandledPromiseRejectionWarningReferenceErrorMultispinnerisnotdefined
2022-07-18 16:39:09
1763
原创 electron + vue 打包错误 Identifier ‘tasks‘ has already been declared
electron+vue打包错误Identifier'tasks'hasalreadybeendeclared
2022-07-18 16:38:24
836
原创 深入浅出node模板解析错误escape is not a function
深入浅出node模板解析错误escape is not a function
2022-07-05 16:57:10
644
原创 django 创建项目异常 django-admin.py is deprecated in favor of django-admin.
RemovedInDjango40Warning: django-admin.py is deprecated in favor of django-admin.
2022-06-22 10:04:40
1155
原创 python3爬虫使用代理爬取页面noscript标签问题
python3爬虫使用代理爬取页面noscript标签问题操作运行python爬虫,使用代理爬取网页from urllib.error import URLError from urllib.request import ProxyHandler, build_opener url = 'https://www.baidu.com'proxy_handler = ProxyHandler({ 'http': 'http://127.0.0.1:8888', 'https':
2022-05-25 15:28:34
1259
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅