上一页 1 2 3 4 5 6 7 ··· 25 下一页
摘要: #!/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)
摘要: #!/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)
摘要: 添加.desktop后 sudo update-desktop-database 阅读全文
posted @ 2024-12-06 17:45 马肯尼煤牙巴骨 阅读(14) 评论(0) 推荐(0)
摘要: xstartup脚本 加 autocutsel -fork autocutsel -fork -selection CLIPBOARD 阅读全文
posted @ 2024-12-05 23:02 马肯尼煤牙巴骨 阅读(82) 评论(0) 推荐(0)
摘要: find . -name "*.txt" -exec sh -c 'mv "$0" "${0%.txt}.predict"' {} ; 阅读全文
posted @ 2024-10-02 16:09 马肯尼煤牙巴骨 阅读(17) 评论(0) 推荐(0)
摘要: 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)
摘要: hw_server -d -stcp::3389 阅读全文
posted @ 2024-07-11 18:10 马肯尼煤牙巴骨 阅读(62) 评论(0) 推荐(0)
摘要: 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)
摘要: 先给/cores目录写入权限 sudo chmod 1777 /cores 然后设置ulimit ulimit -c unlimited 阅读全文
posted @ 2024-06-29 17:59 马肯尼煤牙巴骨 阅读(53) 评论(0) 推荐(0)
摘要: 关机后, 按下开机,再快速按两下电源键,最后一次按住,直到看到白平果 进入后从顶部菜单栏可以打开终端 csrutils disable 如果要再打开, 同样的步骤,命令改为 csrutils enable 阅读全文
posted @ 2024-06-29 17:57 马肯尼煤牙巴骨 阅读(1010) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 25 下一页