随笔 - 170
文章 - 0
评论 - 16
阅读 -
35387
09 2023 档案
c++正则表达式汇总
摘要:一、校验字符的表达式 1 汉字:^[\u4e00-\u9fa5]{0,}$ 2 英文和数字:^[A-Za-z0-9]+或[A−Za−z0−9]4,40 3 长度为3-20的所有字符:^.{3,20}$ 4 由26个英文字母组成的字符串:^[A-Za-z]+$ 5 由26个大写英文字母组成的字符串:^
阅读全文
标准c++正则表达式语法 URL
摘要:https://cplusplus.com/reference/regex/ECMAScript/
阅读全文
Ubuntu内核编译
摘要:1、 https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel 权威内核编译说明
阅读全文
debian 安装包中changelog.Debian 日志格式
摘要:官方说明文档 : https://www.debian.org/doc/debian-policy/index.html#contents A、 debian/changelog应该简单就介绍安装包的版本,当然也可以包含与上一个版本的些改变。changelog应该能够使安装工具(例如:dpkg)去发
阅读全文
字符集探测
摘要:1、 Src/charsets.c 2、 Src/codepage_detect.cpp ::FileTextEncoding Guess() 3、 Src/FileTextEncoding.h / .cpp 4、 Src/Common/ExConverter.cpp ::int detectInp
阅读全文
开发微信支付C/C++代码
摘要:抄自: https://zhuanlan.zhihu.com/p/606909332?utm_id=0 在Qt C++中实现微信收费使用功能需要借助微信开放平台提供的API接口,具体步骤如下: 注册微信开放平台账号,并创建应用。在创建应用时,需要选择相应的应用类型(如网页应用、移动应用等)和使用场景
阅读全文
C++对一个map进行for(auto it : ....)特别慢
摘要:使用注释掉的代码就特别慢,超级慢 int find_task = 0; std::map<std::string, std::map<unsigned int, std::vector<std::string>>>::iterator git; git = g_m_task_files.find(t
阅读全文
Linux X11 波火屏幕 窗口
摘要:#include <X11/Xlib.h> #include <X11/Xatom.h> #include <X11/Xutil.h> //获取窗口图片后,在QListWidget中显示,图片缩放大小为210*100const QSize IMAGE_SIZE(210, 100); const QS
阅读全文
文本提取工具KV官网
摘要:https://www.kantarverbalisationplatform.com/
阅读全文
github上有用的项目
摘要:1、从屏幕上抽取text,Linux,Windows,Mac https://github.com/leanflutter/screen_text_extractor
阅读全文