- 博客(89)
- 收藏
- 关注
原创 Unable to set system config “diff.astextplain.textconv“:=“astextplain“: exit code 4294967295stderr:
下错git版本了,要下载X64,而不是ARM64。
2025-05-08 15:56:35
229
1
原创 游戏性能测试
2. 以一二三级,各个指标为点,分别列出高中低三档的性能表现,有问题的点用红色字体标注。执行完6个标准机测试后,要把测试结果和测试标准的达标数据做对比,优先关注一级指标。1. 分阶段,看目的,确定高中低三档测试机,最低档机的确定需要和客户端主程和制作人等共同确定。根据项目类型不同,设计出不同的测试点,核心思想是玩家能遇到的最消耗的场景。指标分出一级指标,二级指标,三级指标,确定出各个指标的达标值。满屏玩家,满屏怪物,多玩家同时战斗,粒子特效,半透特效等。一级指标:平均帧率,卡顿率,内存,典型卡顿点。
2025-04-30 17:03:45
313
原创 kotlin gradle踩过的坑
配置文件里的gradle版本,需要和gradle环境版本一致。只要环境是正确的,可无视这个报错,能直接打包。java历史版本,附账号密码。
2024-06-05 10:13:14
591
1
原创 Android Studio 找不到 Sync project with Gradle Files
Android Studio 找不到 Sync project with Gradle Files
2024-06-01 02:29:51
1680
3
原创 python文件路径处理库,from pathlib import Path
Path.mkdir(mode, parents, exist_ok) #创建目录,想整个路径一起创建,就设置parents为True, 想要覆盖创建,就设置exist_ok为True。create_time = datetime.datetime.fromtimestamp(path.stat().st_ctime) #转换成日期格式。换成'w'就是以写模式打开文件。path.glob("**/*.py") #返回该目录下的所有.py文件。path.stat().st_mtime #上次修改文件时间。
2024-01-09 10:57:28
531
原创 failed to run the wc db work queue associated with
解决SVN Cleanup错误: Failed to run the WC DB work queue associated with - 灰信网(软件开发博客聚合)
2023-07-11 11:57:12
348
原创 python SyntaxError: unterminated string literal
SyntaxError: unterminated string literal
2023-04-19 12:58:25
5482
原创 xml.parsers.expat.ExpatError: mismatched tag: line 63, column 4
xml.parsers.expat.ExpatError: mismatched tag: line 63, column 4
2022-06-28 16:21:57
3564
3
原创 python excel PermissionError: [WinError 5]
python excel PermissionError: [WinError 5]
2022-05-11 23:06:16
422
原创 Mac git 自动补全
终端运行:brew install brew install bash-completion创建个文件夹,进入这个文件夹,取git源码,等会要用git clone git://git.kernel.org/pub/scm/git/git.git进入刚才的文件夹内,执行命令cp contrib/completion/git-completion.bash ~/.git-completion.bash找到这个文件没有这个文件,执行这个命令创建cd ~touch ..
2022-04-21 10:59:03
906
原创 Python json和dict
Json是字符串 type(json) out: str 所以所有字符串的方法json都能用 Dict是字典,有自己的key,value方法 Json和dict相互转换(dumps, loads),可以用到想要的方法loads,dumps带s的都是和字符串相关的,操作字符串 Json转字典用json.loads() 字典转json,把字符串存入数据库或excel,不需要操作文件,都用json.dumps()load,dump不带s的都是和文件相关的,操作文件 读以.js...
2022-03-31 12:14:50
1789
原创 python setdefault setdefault.append
dic1 = {}# 在字典中查找key"1",如果找不到,就创建一个以"1"为key,以缺省值[]为value的键值对dic1.setdefault('1', [])print("dic1: ", dic1)#dic1: {'1': []}# 如果字典中有该key,就啥也不做dic1.setdefault('1', [])print("dic1: ", dic1)#dic1: {'1': []}# 查找dict['1'], 定位到它的value[],列表使用appendd..
2022-03-28 10:51:16
1508
原创 git常用命令,学习笔记
【狂神说Java】Git最新教程通俗易懂_哔哩哔哩_bilibiligit config --system --list #系统配置git config --global --list #用户配置git config --global user.name "text" #设置用户名,该文件地址:C:\Users\x\.gitconfiggit config --global user.email "xx@qq.com" #设置邮箱#git
2022-03-12 23:16:36
787
1
原创 python抓取tb并汇总为excel
# coding=utf-8# 功能: 可选择忽略指定bug表单import requestsimport jsonimport timefrom openpyxl import Workbookclass TB: def __init__(self): self.get_current_time = int(time.time()) self.headers = { "password": "password" ...
2022-02-26 17:51:17
596
原创 python修改注册表
def modify(): ''' 修改注册表 :return: ''' try: key = win32api.RegOpenKey(win32con.HKEY_CURRENT_USER, r'Software', 0, win32con.KEY_READ) win32api.RegCreateKey(key, '111...
2019-10-22 10:40:45
406
原创 python 接入支付宝
0.官方文档1. 使用国内源,安装依赖包:pip install -ihttps://pypi.douban.com/simplealipay-sdk-python2. 如安装步骤1中出现error: Microsoft Visual C++ 14.0 is required.让安装c++, 提取码:wkgv,选择默认安装即可3. 再次安装alipay-sdk-python,会出...
2019-10-11 11:39:34
1980
1
原创 python接入支付宝 40004 invalid-signature 错误原因: 验签出错
出现这个报错,可能是你代码中alipay_public_key的值填错了,打开这个网页,接口加签方式,点击复制支付宝公钥,替换即可解决
2019-10-10 19:15:42
2143
原创 pycrypto python error C2143: syntax error: missing
https://www.cnblogs.com/lyy-blog/p/9755806.html
2019-10-09 18:04:23
221
原创 selenium xpath 取@href
newest_version = driver.find_element_by_xpath('//*[@class="element-narrow"]/a').get_attribute('href')xpath获取到a标签,用get_attribute方法获取href
2019-07-16 14:20:54
2411
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人