会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
liliyou
练习一切
博客园
首页
新随笔
联系
订阅
管理
2025年11月13日
sqlite 避免并发锁库问题
摘要: // 启用WAL模式提高并发性能 Connection conn = DriverManager.getConnection("jdbc:sqlite:test.db"); Statement stmt = conn.createStatement(); stmt.execute("PRAGMA j
阅读全文
posted @ 2025-11-13 15:17 liliyou
阅读(2)
评论(0)
推荐(0)
2025年11月7日
达梦数据库插入数据创建表方法
摘要: -- 如果新表不存在,则创建并插入数据 CREATE TABLE new_table AS SELECT * FROM source_table WHERE your_conditions;
阅读全文
posted @ 2025-11-07 08:30 liliyou
阅读(4)
评论(0)
推荐(0)
2025年11月3日
linux 不删除文件清空文件内容
摘要: truncate -s 0 test.txt
阅读全文
posted @ 2025-11-03 09:55 liliyou
阅读(4)
评论(0)
推荐(0)
2025年9月23日
cmd 执行git bash 命令
摘要: "D:\Program Files\Git\bin\bash.exe" -c "ls"
阅读全文
posted @ 2025-09-23 09:18 liliyou
阅读(12)
评论(0)
推荐(0)
2025年9月20日
vcpkg 安装依赖
摘要: vcpkg install nlohmann-json
阅读全文
posted @ 2025-09-20 09:36 liliyou
阅读(7)
评论(0)
推荐(0)
2025年7月11日
Qt5.6.3 是最后支持xp系统的长期支持版本。
摘要: Qt5.6.3 是最后支持xp系统的长期支持版本。
阅读全文
posted @ 2025-07-11 16:34 liliyou
阅读(34)
评论(0)
推荐(0)
C# .net8 串口通信
摘要: Thread thread = new Thread(new ThreadStart(() => { Console.WriteLine("可用串口列表:"); string[] ports = SerialPort.GetPortNames(); foreach (string port in p
阅读全文
posted @ 2025-07-11 08:57 liliyou
阅读(100)
评论(0)
推荐(0)
2025年7月8日
sqlite3 命令执行sql脚本
摘要: sqlite3 wms.sqlite < sql.sql
阅读全文
posted @ 2025-07-08 08:28 liliyou
阅读(21)
评论(0)
推荐(0)
2025年6月6日
bat 常用命令
摘要: 删除文件 del 1.txt 删除某个后缀的所有文件 有时候需要批量删除一些文件名比较有规律的文件,可以用通配符*代替不规则的字符,保留规则的字符;例如 ,想删除当前目录下所有后缀为.txt .png .jpg的文件,可以使用: del *.txt *.png *.jpg 删除文件夹 >rmdir
阅读全文
posted @ 2025-06-06 14:44 liliyou
阅读(30)
评论(0)
推荐(0)
2025年6月5日
qt textBrowser 使用示例
摘要: // 假设ui是您的用户界面对象 ui->textBrowser->document()->setMaximumBlockCount(10); ui->textBrowser->append("[接收] " + message.trimmed()); 清空文本 ui->textBrowser->cl
阅读全文
posted @ 2025-06-05 17:20 liliyou
阅读(34)
评论(0)
推荐(0)
下一页
公告