diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 8870f68..751db6f 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -6,15 +6,7 @@ - - - - - - - - - + diff --git a/笔记文件/2.笔记/navicat数据库工具破解.md b/笔记文件/2.笔记/navicat数据库工具破解.md index 17e3986..1ed1b07 100644 --- a/笔记文件/2.笔记/navicat数据库工具破解.md +++ b/笔记文件/2.笔记/navicat数据库工具破解.md @@ -22,7 +22,7 @@ https://www.52pojie.cn/thread-1631867-1-1.html 清理的脚本逻辑,直接新建`txt`写入,然后保存为`bat`批处理,需要的时候,执行一下就好 -## 重置Navicat.bat +## 重置Navicat.bat(已废弃,不太好使) ``` shell @echo off @@ -45,6 +45,45 @@ pause exit ``` +## 重置Navicat.bat(好使的版本) + +优化思路: +![[Pasted image 20250509151054.png]] + +``` shell +@echo off +setlocal EnableDelayedExpansion + +set "dn=Info" +set "dn2=ShellFolder" +set "rp=HKEY_CURRENT_USER\Software\Classes\CLSID" + +reg delete "HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium\Registration16XCS" /f >nul 2>&1 +reg delete "HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium\Registration17XCS" /f >nul 2>&1 +reg delete "HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium\Update" /f >nul 2>&1 + +echo Finding..... + +for /f "tokens=*" %%a in ('reg query "%rp%" 2^>nul') do ( + set "key=%%a" + reg query "!key!" /f "%dn%" /s /e >nul 2>&1 + if !errorlevel! equ 0 ( + echo Deleting: !key! + reg delete "!key!" /f >nul 2>&1 + ) + reg query "!key!" /f "%dn2%" /s /e >nul 2>&1 + if !errorlevel! equ 0 ( + echo Deleting: !key! + reg delete "!key!" /f >nul 2>&1 + ) +) + +echo Re-trial done! + +pause >nul +exit +``` + 每次打开,也是直接试用即可 ![[Pasted image 20250429180404.png]] \ No newline at end of file diff --git a/笔记文件/2.笔记/python性能监控 数据分析.md b/笔记文件/2.笔记/python性能监控 数据分析.md new file mode 100644 index 0000000..a5ea713 --- /dev/null +++ b/笔记文件/2.笔记/python性能监控 数据分析.md @@ -0,0 +1,68 @@ +#python +#数据分析 + +首先,把对应的,数据库插件,安装一下 + +``` shell +pip install pandas sqlalchemy +``` + +![[Pasted image 20250509154650.png]] + +然后,可以参考,这个python脚本,写查询统计,相关逻辑 + +``` py +import sqlite3 +import pandas as pd +from pathlib import Path + +# 1. 设置CSV文件路径(使用原始字符串r防止转义问题) +csv_path = r"C:\Users\admin\Desktop\player.csv" + +# 2. 检查文件是否存在 +if not Path(csv_path).exists(): + print(f"错误:文件 {csv_path} 不存在!") + exit() + +# 3. 读取CSV文件 +try: + df = pd.read_csv(csv_path) + print("CSV文件加载成功!前5行数据预览:") + print(df.head()) +except Exception as e: + print(f"读取CSV文件失败:{e}") + exit() + +# 4. 创建内存数据库 +conn = sqlite3.connect(":memory:") + +# 5. 将数据导入数据库 +try: + df.to_sql("players", conn, index=False, if_exists="replace") + print("\n数据已成功导入SQLite内存数据库(表名:players)") +except Exception as e: + print(f"导入数据库失败:{e}") + conn.close() + exit() + +# 6. 执行示例查询 +while True: + print("\n" + "="*50) + print("请输入SQL查询语句(输入q退出):") + sql = input("SQL> ").strip() + + if sql.lower() == 'q': + break + + try: + result = pd.read_sql(sql, conn) + print("\n查询结果:") + print(result) + print(f"\n共返回 {len(result)} 条记录") + except Exception as e: + print(f"查询错误:{e}") + +# 7. 关闭连接 +conn.close() +print("\n程序已退出") +``` \ No newline at end of file diff --git a/笔记文件/2.笔记/slot业务逻辑 临时记录.md b/笔记文件/2.笔记/slot业务逻辑 临时记录.md index 10f1671..f7d38fa 100644 --- a/笔记文件/2.笔记/slot业务逻辑 临时记录.md +++ b/笔记文件/2.笔记/slot业务逻辑 临时记录.md @@ -162,10 +162,26 @@ Theme7的话,这样设置是可以正常进游戏,但是无法确定结果 ![[Pasted image 20250508161421.png]] +tolua如果需要,加一些,自定义的CSharp方法,是可以在`CustomSettings`这个脚本里,去加,例如加了这俩 + +![[Pasted image 20250509105407.png]] + +需要注意的是,最好不要放在namespace里面,不然在lua里面调用相关,会出现nil空指针等报错 + +![[Pasted image 20250509105511.png]] + +![[Pasted image 20250509105726.png]] + +最好,不要有任何命名空间引用吧: + +![[Pasted image 20250509105757.png]] + 生成lua逻辑,直接点这个按钮就好 ![[Pasted image 20250508173711.png]] 如果谷歌sdk相关,没有正确配置,会有这个提示 -![[Pasted image 20250508181109.png]] \ No newline at end of file +![[Pasted image 20250508181109.png]] + +谷歌相关组件,官方sdk地址:https://github.com/playgameservices/play-games-plugin-for-unity/releases \ No newline at end of file diff --git a/笔记文件/2.笔记/数据中台 临时记录.md b/笔记文件/2.笔记/数据中台 临时记录.md index 1d40b1a..4063cde 100644 --- a/笔记文件/2.笔记/数据中台 临时记录.md +++ b/笔记文件/2.笔记/数据中台 临时记录.md @@ -46,4 +46,10 @@ sql的数据转换,也是使用这个json插件 项目组频繁发送埋点的屏蔽,在这里: -![[Pasted image 20250423164317.png]] \ No newline at end of file +![[Pasted image 20250423164317.png]] + +对齐AMP 用户属性,用户属性,增量上传相关 + +![[Pasted image 20250509145032.png]] + +![[img_v3_02k9_c4f0c181-f5d1-4224-ba9a-a803859b50hu.jpg]] \ No newline at end of file diff --git a/笔记文件/2.笔记/数据密集型应用系统设计.md b/笔记文件/2.笔记/数据密集型应用系统设计.md new file mode 100644 index 0000000..03697af --- /dev/null +++ b/笔记文件/2.笔记/数据密集型应用系统设计.md @@ -0,0 +1,2 @@ +#读后感 + diff --git a/笔记文件/2.笔记/普吉岛行程参考.md b/笔记文件/2.笔记/普吉岛行程参考.md new file mode 100644 index 0000000..346ed20 --- /dev/null +++ b/笔记文件/2.笔记/普吉岛行程参考.md @@ -0,0 +1,3 @@ +#灵感 + +https://inspire.sg.larksuite.com/docx/Bx4rdsTHDo3LvDxtRzxl9Tr7gUb \ No newline at end of file diff --git a/笔记文件/2.笔记/社恐需要自救吗 观后感.md b/笔记文件/2.笔记/社恐需要自救吗.md similarity index 98% rename from 笔记文件/2.笔记/社恐需要自救吗 观后感.md rename to 笔记文件/2.笔记/社恐需要自救吗.md index 849b64a..5af5360 100644 --- a/笔记文件/2.笔记/社恐需要自救吗 观后感.md +++ b/笔记文件/2.笔记/社恐需要自救吗.md @@ -1,4 +1,4 @@ -#观后感 +#读后感 感觉很多道理是触类旁通,例如阿德勒的一些心理学分析,以自己为出发点,去追求自由,有被讨厌的勇气,在节目里也有说到类似,社交被拒绝其实也是需要勇气去接受,而且预期没那么高的时候,其实很多东西就会放下,这需要阅历。 diff --git a/笔记文件/2.笔记/编码.md b/笔记文件/2.笔记/编码.md new file mode 100644 index 0000000..03697af --- /dev/null +++ b/笔记文件/2.笔记/编码.md @@ -0,0 +1,2 @@ +#读后感 + diff --git a/笔记文件/2.笔记/被讨厌的勇气 读后感.md b/笔记文件/2.笔记/被讨厌的勇气.md similarity index 99% rename from 笔记文件/2.笔记/被讨厌的勇气 读后感.md rename to 笔记文件/2.笔记/被讨厌的勇气.md index e017f70..c26da8e 100644 --- a/笔记文件/2.笔记/被讨厌的勇气 读后感.md +++ b/笔记文件/2.笔记/被讨厌的勇气.md @@ -1,4 +1,4 @@ -#观后感 +#读后感 刚看完这本书,还是挺感触良多,通过对话的形式,哲人跟普通青年平等交流,实际上是跟读者平等交流。期间会有戾气,不解,冲突,但都没有关系,思想的碰撞本该如此。 diff --git a/笔记文件/日记/2023_08_19_星期六.md b/笔记文件/日记/2023_08_19_星期六.md index 0c77f31..808a092 100644 --- a/笔记文件/日记/2023_08_19_星期六.md +++ b/笔记文件/日记/2023_08_19_星期六.md @@ -21,5 +21,5 @@ # 今日任务 -[[社恐需要自救吗 观后感]] +[[社恐需要自救吗]] # Journal diff --git a/笔记文件/日记/2023_08_20_星期日.md b/笔记文件/日记/2023_08_20_星期日.md index e564270..a9700af 100644 --- a/笔记文件/日记/2023_08_20_星期日.md +++ b/笔记文件/日记/2023_08_20_星期日.md @@ -21,5 +21,5 @@ # 今日任务 -[[被讨厌的勇气 读后感]] +[[被讨厌的勇气]] # Journal diff --git a/笔记文件/日记/2025_04_29_星期二.md b/笔记文件/日记/2025_04_29_星期二.md index b3bc69d..c606504 100644 --- a/笔记文件/日记/2025_04_29_星期二.md +++ b/笔记文件/日记/2025_04_29_星期二.md @@ -25,7 +25,7 @@ - [x] 记得想一下 三国杀 规则介绍 - [x] 完善一下 navicat破解笔记 - [x] 完善一下 nginx 端口转发笔记 -- [ ] 测试一下Resend机制和逻辑,上限是否可以提高 +- [x] 测试一下Resend机制和逻辑,上限是否可以提高 - [x] 今晚也记得叫一下两人 --- [[端口检测工具]] diff --git a/笔记文件/日记/2025_04_30_星期三.md b/笔记文件/日记/2025_04_30_星期三.md index ffcfa7c..b5419af 100644 --- a/笔记文件/日记/2025_04_30_星期三.md +++ b/笔记文件/日记/2025_04_30_星期三.md @@ -26,7 +26,7 @@ - [x] 确认和过一遍 性能检测相关的逻辑 是否符合预期 - [ ] 出一个安卓测试包,确认 离线进入游戏 ,重新联网后,数据中台 补发消息是否正常 - [x] 确认一下 slots meta支付接口相关 -- [ ] 写一下sql语句,筛选统计一下性能检测和统计的数据 +- [x] 写一下sql语句,筛选统计一下性能检测和统计的数据 - [x] 记得拿礼盒 放后排 --- diff --git a/笔记文件/日记/2025_05_09_星期五.md b/笔记文件/日记/2025_05_09_星期五.md index 1f9f01f..0d689d1 100644 --- a/笔记文件/日记/2025_05_09_星期五.md +++ b/笔记文件/日记/2025_05_09_星期五.md @@ -23,6 +23,15 @@ - [ ] 今晚记得拿一下 neko - [ ] 解决一下 安卓和ios移动端 sqlite文件的重建处理 +- [ ] 把上报,也都统一放到后台线程队列里,进行处理吧 +- [ ] 对标amp上报机制,完成几种上报驱动的重构[[解构amp项目 临时记录]] +- [ ] 今晚记得,也拿一下身份证 +- [ ] 处理一下 多表联结查询统计 数据分析 +- [ ] 弄一下 存储过程 --- [[设备分级 临时记录]] +[[数据密集型应用系统设计]] +[[编码]] +[[python性能监控 数据分析]] +[[普吉岛行程参考]] # Journal diff --git a/笔记文件/附件/Pasted image 20250509105407.png b/笔记文件/附件/Pasted image 20250509105407.png new file mode 100644 index 0000000..c876d9e Binary files /dev/null and b/笔记文件/附件/Pasted image 20250509105407.png differ diff --git a/笔记文件/附件/Pasted image 20250509105511.png b/笔记文件/附件/Pasted image 20250509105511.png new file mode 100644 index 0000000..63739dd Binary files /dev/null and b/笔记文件/附件/Pasted image 20250509105511.png differ diff --git a/笔记文件/附件/Pasted image 20250509105726.png b/笔记文件/附件/Pasted image 20250509105726.png new file mode 100644 index 0000000..734ba1f Binary files /dev/null and b/笔记文件/附件/Pasted image 20250509105726.png differ diff --git a/笔记文件/附件/Pasted image 20250509105757.png b/笔记文件/附件/Pasted image 20250509105757.png new file mode 100644 index 0000000..5dd6385 Binary files /dev/null and b/笔记文件/附件/Pasted image 20250509105757.png differ diff --git a/笔记文件/附件/Pasted image 20250509145032.png b/笔记文件/附件/Pasted image 20250509145032.png new file mode 100644 index 0000000..6e3962e Binary files /dev/null and b/笔记文件/附件/Pasted image 20250509145032.png differ diff --git a/笔记文件/附件/Pasted image 20250509151054.png b/笔记文件/附件/Pasted image 20250509151054.png new file mode 100644 index 0000000..46be1fc Binary files /dev/null and b/笔记文件/附件/Pasted image 20250509151054.png differ diff --git a/笔记文件/附件/Pasted image 20250509154650.png b/笔记文件/附件/Pasted image 20250509154650.png new file mode 100644 index 0000000..6d0948d Binary files /dev/null and b/笔记文件/附件/Pasted image 20250509154650.png differ diff --git a/笔记文件/附件/img_v3_02k9_c4f0c181-f5d1-4224-ba9a-a803859b50hu.jpg b/笔记文件/附件/img_v3_02k9_c4f0c181-f5d1-4224-ba9a-a803859b50hu.jpg new file mode 100644 index 0000000..7ba5cff Binary files /dev/null and b/笔记文件/附件/img_v3_02k9_c4f0c181-f5d1-4224-ba9a-a803859b50hu.jpg differ