qt5.15 msvc静态编译 2023/05/23 | 折腾 | justchen | 暂无评论 | 599 views E:\sourcecode\tmp\qt-everywhere-src-5.15.9\configure.bat -static -static-runtime -release -platform win32-msvc -prefix D:\Qt\Static5.15 -confirm-license -opensource -noma……
QT智能指针与裸指针的性能对比测试 2023/03/22 | 嵌入式笔记 | justchen | 暂无评论 | 616 views 代码是gpt直接生成的,感觉没毛病 #include <QCoreApplication> #include <QDebug> #include <QSharedPointer> #include <chrono> class MyClass { public: MyClass(int va……
Git 中出现 ^M 解决方案 2023/02/11 | 嵌入式笔记 | justchen | 暂无评论 | 563 views 下面简单的方法可以让git diff的时候忽略换行符的差异: git config –global core.whitespace cr-at-eol 对于已经被修改的文件.使用dos2unix批量替换 # 单个文件直接 dos2unix.exe xxx.file # 多个文件使用 xargs处理 find ./ -name “*” |……
windows server2022 使用记录 2022/11/07 | 折腾 | justchen | 暂无评论 | 983 views 安装hypyer-v # powershell Add-WindowsFeature Hyper-V,Hyper-V-Tools,Hyper-V-PowerShell -IncludeManagementTools Restart-Computer -Force 创建虚拟机及虚拟交换机过程略 PCIE直通虚拟机 参考 https://ww……
git ssh端口非22端口解决方案 2022/09/07 | 折腾 | justchen | 暂无评论 | 832 views 对于新项目 git clone ssh://git@xxxx.com:22222/xxxxx/xxx.git 对于已经存在的项目,修改 .git/config 中仓库路径为上面的格式
gitea 无法ssh clone push解决 2022/09/07 | 折腾 | justchen | 暂无评论 | 962 views 首先确认ssh key已经添加,但还是无法push, docker后台提示Authentication refused: bad ownership or modes for directory /data/git/.sshAuthentication refused: bad ownership or modes for directo……
替换垃圾WIN11的任务栏,支持任务不合并 2022/04/23 | 折腾 | justchen | 暂无评论 | 1053 views 使用工具: https://github.com/valinet/ExplorerPatcher
Linux实时监控网卡网速及流量 2021/07/28 | 嵌入式笔记 | justchen | 暂无评论 | 1951 views 脚本查看实时速度 #!/bin/bash ethn=$1 while true do RX_pre=$(cat /proc/net/dev | grep $ethn | sed ‘s/:/ /g’ | awk ‘{print $2}’) TX_pre=$(cat /proc/net/dev | grep $ethn | sed ‘s/:/……
i2cdetect 工具简单使用 2021/02/26 | 嵌入式笔记 | justchen | 暂无评论 | 2085 views 列出所有I2C设备 i2cdetect -l 返回 i2c-3 i2c xiic-i2c I2C adapter i2c-1 i2c Cadence I2C at ff020000 I2C adapter i2c-2 i2c Cadence I2C at ff030000 I2C adapter i2c-0 i2c xiic-i2c I2……