会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
马肯尼煤牙巴骨
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
···
25
下一页
2025年2月9日
rsync 同步 qml
摘要: #!/bin/bash SOURCE_DIR="." DEST_DIR="/repos/dv_app_solution" REMOTE_USER="dv" REMOTE_HOST="10.2.1.203" rsync -av -e ssh --include='*/' --include='*.sv
阅读全文
posted @ 2025-02-09 10:47 马肯尼煤牙巴骨
阅读(17)
评论(1)
推荐(0)
2025年1月19日
tightvnc/tigervnc 启动脚本
摘要: #!/bin/bash xhost + xrdb "$HOME/.Xresources" xsetroot -solid grey autocutsel -fork autocutsel -fork -selection CLIPBOARD #x-terminal-emulator -geometr
阅读全文
posted @ 2025-01-19 16:09 马肯尼煤牙巴骨
阅读(62)
评论(0)
推荐(0)
2024年12月6日
ubuntu22 程序图标
摘要: 添加.desktop后 sudo update-desktop-database
阅读全文
posted @ 2024-12-06 17:45 马肯尼煤牙巴骨
阅读(14)
评论(0)
推荐(0)
2024年12月5日
tightvnc 不能粘贴
摘要: xstartup脚本 加 autocutsel -fork autocutsel -fork -selection CLIPBOARD
阅读全文
posted @ 2024-12-05 23:02 马肯尼煤牙巴骨
阅读(82)
评论(0)
推荐(0)
2024年10月2日
find 批量修改文件后辍名
摘要: find . -name "*.txt" -exec sh -c 'mv "$0" "${0%.txt}.predict"' {} ;
阅读全文
posted @ 2024-10-02 16:09 马肯尼煤牙巴骨
阅读(17)
评论(0)
推荐(0)
2024年7月17日
windows上,c++ utf8程序 通过命令行传参给python,pytorch交互的问题
摘要: 1.python返回的字符串在 utf8的c++程序中筹码 设置环境变量PYTHONIOENCODING=utf-8 把python脚本的标准输入输出改为utf8 2.命令行传入的utf8路径, 在python中用于pytorch的模型保存,会保存失败 可以用 with open("utf8_pat
阅读全文
posted @ 2024-07-17 10:00 马肯尼煤牙巴骨
阅读(47)
评论(0)
推荐(0)
2024年7月11日
vivado hw_server 开启另一个端口
摘要: hw_server -d -stcp::3389
阅读全文
posted @ 2024-07-11 18:10 马肯尼煤牙巴骨
阅读(62)
评论(0)
推荐(0)
2024年7月6日
mac os 迁移后,编译链接foundation的qt 项目失败
摘要: error: unknown type name 'CFAttributedStringRef'; did you mean 'NSAttributedStringKey'? CFAttributedStringRef attrString ) CT_AVAILABLE(macos(10.5), i
阅读全文
posted @ 2024-07-06 13:35 马肯尼煤牙巴骨
阅读(76)
评论(0)
推荐(0)
2024年6月29日
macos 生成cores
摘要: 先给/cores目录写入权限 sudo chmod 1777 /cores 然后设置ulimit ulimit -c unlimited
阅读全文
posted @ 2024-06-29 17:59 马肯尼煤牙巴骨
阅读(53)
评论(0)
推荐(0)
macbook m3 pro 关掉SIP
摘要: 关机后, 按下开机,再快速按两下电源键,最后一次按住,直到看到白平果 进入后从顶部菜单栏可以打开终端 csrutils disable 如果要再打开, 同样的步骤,命令改为 csrutils enable
阅读全文
posted @ 2024-06-29 17:57 马肯尼煤牙巴骨
阅读(1010)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
25
下一页
公告