Loading

上一页 1 2 3 4 5 6 ··· 29 下一页
摘要: grep -P '[\p{Han}]+' **/*.md -oh | tr -d '\s' > cat.log -P 是正则表达式匹配 -h, --no-filename Suppress the prefixing of file names on output. This is the defa 阅读全文
posted @ 2023-12-28 14:54 ZXYFrank 阅读(50) 评论(0) 推荐(0)
摘要: 问题来源 安装了zsh-autocomplete 但是 Alt + ↓ 键用不了 我是在 https://github.com/marlonrichert/zsh-autocomplete 这里发现了 > Depending on your terminal, not all keybindings 阅读全文
posted @ 2023-06-21 15:55 ZXYFrank 阅读(46) 评论(0) 推荐(0)
摘要: 绕开代理 https://blog.csdn.net/m0_68734901/article/details/128411072 sudo -E add-apt-repository ppa:git-core/ppa sudo apt-get update sudo apt-get install 阅读全文
posted @ 2023-05-14 10:54 ZXYFrank 阅读(958) 评论(0) 推荐(0)
摘要: https://github.com/pjreddie/darknet/issues/2356#issuecomment-756701965 请看这个issue sudo cp cuda/include/cudnn*.h /usr/local/cuda/include sudo cp cuda/li 阅读全文
posted @ 2023-05-14 10:11 ZXYFrank 阅读(133) 评论(0) 推荐(0)
摘要: 其实这里有一个悖论 我的服务器不设置代理就没办法上网,但是Anaconda又提示这个 export https_proxy="http://ABCD:XXX" export http_proxy="http://ABCD:XXX" ProxyError: Conda cannot proceed d 阅读全文
posted @ 2023-05-13 19:10 ZXYFrank 阅读(362) 评论(0) 推荐(0)
摘要: colors = (np.array(colors) * 255).astype(np.int) color = colors[i] cv2.rectangle(img, (x0, y0), (x1, y1), color, 2) """ tuple(colors[i]) (0, 255, 0) t 阅读全文
posted @ 2023-04-29 09:56 ZXYFrank 阅读(622) 评论(0) 推荐(0)
摘要: https://stackoverflow.com/a/34926983 curl -x "" "0.0.0.0:8000" 阅读全文
posted @ 2023-03-22 10:48 ZXYFrank 阅读(231) 评论(0) 推荐(0)
摘要: https://learn.microsoft.com/en-us/windows/wsl/wsl-config#configure-global-options-with-wslconfig 阅读全文
posted @ 2023-03-20 09:30 ZXYFrank 阅读(198) 评论(0) 推荐(0)
摘要: 有效序列的数量 我们定义一个有效序列为:该序列两端的数一个为最小值,另一个为次小值。(即序列两端以外的数一定大于等于最左边的数且大于等于最右边的数) 现在给你一个序列 a ,想让你找到它的连续子序列中有多少个有效序列(比如 ,1 2 ,2 3,1 2 3 是序列 1 2 3 的连续子序列,但是 1 阅读全文
posted @ 2023-03-17 22:56 ZXYFrank 阅读(157) 评论(0) 推荐(0)
摘要: fuser -v /dev/nvidia* | xargs -n 1 pkill -9 阅读全文
posted @ 2023-02-24 16:30 ZXYFrank 阅读(111) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 29 下一页