- 博客(229)
- 资源 (21)
- 收藏
- 关注
原创 SonarQube遇到ScannerEngine: You‘re not authorized to analyze this project or the project doesn‘t exis
# SonarQube遇到ScannerEngine: You're not authorized to analyze this project or the project doesn't exist on SonarQube and you're not authorized to create it. Please contact an administrator.执行```bashsonar \ -Dsonar.host.url=http://localhost:9000 \ -D
2025-05-26 12:32:52
310
原创 macOS 安装了Docker Desktop版终端docker 命令没办法使用
# macOS 安装了Docker Desktop版终端docker 命令没办法使用## 1、检查Docker Desktop能否正常运行。确保Docker Desktop能正常运行。## 2、检查环境变量是否添加### 1、添加环境变量如果环境变量中没有包含Docker的路径,你可以手动添加。首先,找到Docker的二进制文件位置在**/Applications/Docker.app/Contents/Resources/bin**目录下。然后,你可以将此路径添加到你的.bash_prof
2025-04-30 16:23:49
1012
原创 Maven下载aspose依赖失败的解决方法
# Maven下载aspose依赖失败的解决方法> 日期:2025年4月27日遇到问题:Could not find artifact com.aspose:aspose-cad:pom:23.9 in aliyunmaven (https://maven.aliyun.com/repository/public)[WARNING] The POM for com.aspose:aspose-cad:jar:23.9 is missing, no dependency information a
2025-04-27 20:01:41
1204
原创 python使用requests模拟multipart/form-data请求
# python使用requests模拟multipart/form-data请求模拟multipart/form-data请求,会遇到:*Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7RgPwjW5Gf1JZ9SX*的情况。以下使用库 **requests_toolbelt** 实现安装```powershellpip install requests_toolbelt```下面是简单的请求示例
2024-09-05 15:13:15
1117
原创 python 加了try except之后如何打印报错信息
当你运行这段代码时,如果发生异常,traceback.print_exc()会打印出错误信息,包括错误类型、错误消息和错误发生的位置。这样你就可以根据错误信息找到并修复问题。在Python中,如果你加了try…except但不知道错误在哪一行发生,可以在except块中使用traceback模块打印出错误信息。
2024-06-19 15:29:42
1227
原创 Swift 5 数组如何获取集合的索引和对应的元素值
值得注意的是,使用enumerated()方法获得的索引默认从0开始。如果你想从一个非零索引开始,可以通过传递一个参数到enumerated()方法中来指定起始索引。在Swift 5中,你可以使用enumerated()方法来获取集合的索引和对应的元素值。在上述示例中,我们使用了enumerated()方法来遍历数组array的每个元素。在这个示例中,我们使用了enumerated(startingFrom: 1)来指定索引从1开始。这样,输出的索引值会从1开始递增。
2023-08-10 11:23:20
2116
原创 golang1.18+ go mod 导入本地包
golang 1.11+ 加入了go mod来替代GOPATH,传统的go项目需要将包导入到$GOPATH/src目录下,比较麻烦。golang1.18+ go.work文件。
2023-06-06 20:30:00
1886
原创 【Cocoapods】遇到 undefined method `targets‘ for nil:nilclass 的问题
就会出现undefined methodtargets’ for nil:NilClass`的提示,提示:targets找不到了。看到这个警告一般会在Podfile的最底部添加以下代码:会报错。但是在新版本cocoapods中使用了新特性。老项目删除pods文件夹,执行。
2023-04-23 15:28:25
2727
原创 Swift下如何使用#if条件编译
# Swift下如何使用#if条件编译> Swift 不像ObjectC一样,通过定义一个变量,然后使用**#if #endif** 方法。OC代码如下:```objectivec#define USE_IMSDK使用#if USE_IMSDK//其他代码#endif```## Swift如果想和OC一样使用,需要设置一下才能使用。1、点击项目**targets**,点击**build setting**,搜索 **Swift Compiler Custom Flags**设
2023-02-16 11:33:07
930
原创 iOS上架审核之IDFA以及审核被拒问题
# iOS上架审核之IDFA以及审核被拒问题We're looking forward to completing our review, but we need more information to continue. Your app uses the AppTrackingTransparency framework, but we are still unable to locate the App Tracking Transparency permission request when
2022-12-08 10:52:47
3707
原创 App Store上架出现“二进制文件无效“的处理方法
# App Store上架出现"二进制文件无效"的处理方法App Store上架点击审核之后,出现**二进制文件无效**,最后发现是Analyze设成了debug模式。解决方法:第一步:Product ---->Scheme---->editScheme,
2022-08-12 18:30:00
1232
原创 canal.deployer-1.1.6 遇到dump address has an error, retrying. caused by问题
# canal.deployer-1.1.6 遇到dump address has an error, retrying. caused by问题canal.deployer-1.1.6 遇到 dump address has an error, retrying. caused by com.alibaba.otter.canal.parse.exception.CanalParseException: java.io.IOException: ErrorPacket [errorNumber=114
2022-07-19 16:15:44
1035
原创 mysql-connector-java-下载地址
# mysql-connector-java-下载地址mysql-connector-java-5.1.46-bin.jarmysql-connector-java-5.1.47-bin.jarmysql-connector-java-5.1.48-bin.jarmysql-connector-java-5.1.49-bin.jar[官方下载地址](https://downloads.mysql.com/archives/c-j/)下载步骤如下:1、打开网址[官方下载地址](https
2022-07-12 17:39:32
4421
原创 vue动态加载js和css以及部分页面加载特定的js和css
# vue动态加载js和css以及部分页面加载特定的js和cssvue项目第一次加载很慢的,发现在第一次加载要很大的js导致卡顿、可以使用cdn加速和其他gzip方式效果不是很明显。因此考虑每个页面动态加载js和css的方式来解决。## 第一种方式 直接在index.html直接引入js和css> 注意这种方式,第一次加载大量js会很慢、很慢、很慢!```html ......
2022-07-06 11:22:20
8937
原创 springboot遇到java.sql.SQLSyntaxErrorException: Unknown database问题
springboot遇到java.sql.SQLSyntaxErrorException: Unknown database问题## java.sql.SQLSyntaxErrorException: Unknown database 'springboot'```bashERROR o.a.c.c.C.[Tomcat].[localhost].[/].[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in
2022-07-01 10:30:22
1709
原创 Vue动态组件Component的:is命名规则以及简单实现
# Vue动态组件Component的:is命名规则以及简单实现* 当组件使用**短横线分隔命名** (kebab-case) 定义一个组件为**my-component-name**时,你在引用这个自定义元素时也必须使用 kebab-case,则必须使用**my-component-name**引用组件。vue3 不能使用短横线* 当组件使用 **帕斯卡命名法**(PascalCase)组件命名MyComponentName,**my-component-name** 、**myComponen
2022-06-22 12:00:22
2506
原创 SpringBoot2.x简单实现定时任务功能
# SpringBoot2.x简单实现定时任务功能## 1、新建一个SpringBoot项目可以使用[https://start.spring.io/](https://start.spring.io/)快速新建一个SpringBoot项目。> 本教程使用的是2.7.4版本## 2、启动类启用定时在启动类上面加上@EnableScheduling即可开启定时```java@EnableScheduling@SpringBootApplicationpublic class Can
2022-06-16 15:45:45
324
原创 解决Could not find a declaration file for module ‘vue-xxx‘问题
# 解决Could not find a declaration file for module 'vue-xxx'问题Could not find a declaration file for module 'vue-json-pretty'. '/Users/apple/Desktop/workspace/H5/vue/packapp/node_modules/vue-json-pretty/lib/vue-json-pretty.js' implicitly has an 'any' type.
2022-05-02 22:33:36
7522
2
原创 Failed to execute script ‘first‘ due to unhandled exception:cannot import name问题
pyinstaller 打成exe,遇到Failed to execute script 'first' due to unhandled exception:cannot import name问题.Failed to execute script 'first' due to unhandled exception:cannot import name 'recordclient' from 'recordtool' (unknown location)
2022-05-01 15:21:02
8553
原创 遇到/bin/sh: mysql_config: command not found的问题
# 遇到/bin/sh: mysql_config: command not found的问题在执行 pip install mysqlclient的时候出现以下错误:/bin/sh: mysql_config: command not found/bin/sh: mariadb_config: command not found/bin/sh: mysql_config: command not found```bash/bin/sh: mysql_config: command not
2022-04-28 11:30:22
7317
2
原创 遇到ImportError: cannot import name ‘soft_unicode’ from ‘markupsafe’问题
遇到ImportError: cannot import name ‘soft_unicode’ from 'markupsafe’问题
2022-04-27 17:21:32
17078
10
原创 iOS获取设备唯一标识和UUID方案
# iOS获取设备唯一标识和UUID方案以下获取**uuidString**的方法,每次重启都会改变。```swiftUIDevice.current.identifierForVendor?.uuidString``` 但是项目的要求是不变,并且删除app 只有也有有保留的需求。显然这个无法满足我们的需求。## 使用KeyChain解决> 来了解一下一KeyChain。keychain(钥匙串)存储在iOS系统中,并且恢复iPhone会使keychain的内容也恢复.但是删除App是
2022-03-10 18:10:44
1631
原创 Springboot实战之spring-boot-starter-data-elasticsearch搭建ES搜索接口
Springboot实战之spring-boot-starter-data-elasticsearch搭建ES搜索接口
2022-03-09 13:59:01
3310
原创 【iOS开发】dyld: Symbol not found: ___chkstk_darwin 问题解决
【iOS开发】dyld: Symbol not found: ___chkstk_darwin 问题解决Xcode 13.2.1 运行到iOS12.x版本上崩溃报错如下:dyld: Symbol not found: ___chkstk_darwindyld: Symbol not found: ___chkstk_darwin Referenced from: /private/var/containers/Bundle/Application/A424CEFD-51DB-450E-9D62-B8
2022-03-01 18:09:57
6285
2
原创 【iOS开发】CMSampleBuffer 和 UIImage 相互转换
iOS CMSampleBuffer 转换 UIImageCMSampleBuffer 转换 UIImage第一种方法: /// Convert CMSampleBuffer to UIImage func WM_FUNC_sampleBufferToImage(_ sampleBuffer:CMSampleBuffer) -> UIImage { let imageBuffer = CMSampleBufferGetImageBuffer(sampleBuffe
2022-02-22 18:05:39
3132
原创 canal-adapter出现com.alibaba.druid.pool.DruidDataSource errorCode 0, state 08S01的问题
环境:系统:Ubuntu 20.04数据库:MySQL5.7.37canal-adapter:1.1.15出现问题 ERROR com.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/canal_test?useUnicode=true, errorCode 0, state 08S01com.mysql.jdbc.exceptions.j.
2022-02-18 13:40:58
1895
原创 MySql5.7出现ERROR 1054 (42S22): Unknown column ‘password‘ in ‘field list‘的问题
MySQL5.7.37 修改canal密码时候,使用update user set password=password('canal') where user='canal';出现了ERROR 1054 (42S22): Unknown column ‘password’ in 'field list’的问题系统:Ubuntu20.04mysql> update user set password=password('canal') where user='canal';ERROR 1054
2022-02-18 11:58:27
1960
原创 canal 启动遇到error while reading from client socket java.io.IOException: Received error packet:
canal 启动遇到error while reading from client socketjava.io.IOException: Received error packet: errno = 1236, sqlstate = HY000 errmsg = Could not find first log file name in binary log index file的问题canal server 对应的是 canal-deployer使用 tail -f canal_server/l
2022-02-18 10:25:14
1608
原创 Ubuntu遇到W: GPG error: The following signatures couldn‘t be verified问题
Ubuntu遇到W: GPG error: The following signatures couldn’t be verified问题如下:W: GPG error: http://repo.mysql.com/apt/ubuntu bionic InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29解决方
2022-02-17 14:11:04
5927
4
原创 Ubuntu出现dpkg: error processing package mysql-community-server (--configure):问题
Ubuntu出现dpkg: error processing package mysql-community-server (–configure):问题无论使用 sudo apt upgrade 还是 sudo apt autoremove 问题依旧。使用mysql deb包安装出错sudo apt upgradeReading package lists... DoneBuilding dependency treeReading state information... DoneCalc
2022-02-17 13:35:36
8133
2
原创 Ubuntu 遇到 bin/stop.sh: 52: kill: No such process和bin/stop.sh: 58: [: unexpected operator的问题
Ubuntu 遇到 bin/stop.sh: 52: kill: No such process和bin/stop.sh: 58: [: unexpected operator的问题bin/stop.sh: 47: [: 25893: unexpected operator-e ubuntu01: stopping canal 25893 ...bin/stop.sh: 52: kill: No such processbin/stop.sh: 58: [: unexpected operator
2022-02-16 16:03:10
2426
原创 SwiftUI界面显示预览窗口的两种方式
# SwiftUI界面显示预览窗口的两种方式## 1.在“project”导航器中,随便选择一个使用SwiftUI的文件,然后选择“Editor”>“Canvas”。
2022-01-17 18:13:42
6341
原创 Python Chrome 96版本以上获取cookie
Python Chrome 96版本以上获取cookieChrome96版本更新之后,chookie的位置变更,导致获取不到cookie的值。
2022-01-17 15:20:06
670
原创 mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?
修复 mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?出现问题 not valid for use in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?no
2022-01-15 22:04:36
3153
3
Qt Designer Setup2019-09-28.exe
2019-09-28
CC301子佩录音盒子二次开发SDK6.9.zip
2019-09-16
Qt Designer 2019-09-27.dmg
2019-09-28
nisedit203-src.zip
2019-10-09
screenshot.zip
2019-09-19
nsis制作 windows 安装程序的工具
2019-10-11
Keka Mac版 1.4.8版本
2025-05-15
103976个英语单词库(sql版,csv版,Excel版)
2023-09-22
java面试大集合一共485页
2023-08-29
Mounty for NTFS 最新版1.14
2022-06-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人