摘要: 步骤 1:关闭当前 swap :sudo swapoff /swapfile 步骤 2:调整 swapfile 大小为 16GB 方法 A:fallocate(最快) :sudo fallocate -l 16G /swapfile 方法 B:dd(更稳) :sudo dd if=/dev/zero 阅读全文
posted @ 2025-11-24 19:09 WellP.C 阅读(15) 评论(0) 推荐(0)
摘要: 1.设置ll vim ~/.zprofile 然后添加: alias ll='ls -lGa' 不想显示隐藏文件的话: alias ll='ls -lG' 2.设置快速上翻历史命令 vim ~/.zprofile 然后添加: bindkey "^[[A" history-beginning-sear 阅读全文
posted @ 2022-09-18 16:19 WellP.C 阅读(128) 评论(0) 推荐(0)
摘要: sudo apt install libqt5qml5 libqt5qml5 libqt5quick5 libqt5quickwidgets5 qml-module-qtquick2 libgsettings-qt1 -y 转自: https://blog.csdn.net/wss794/artic 阅读全文
posted @ 2022-09-07 10:04 WellP.C 阅读(610) 评论(0) 推荐(0)
摘要: 0. 宿主机执行 xhost + 1.nvidia-docker run 起容器时加参数(${driver_v}改成自己宿主机机器的显卡驱动版本,比如driver_v=440) -v /tmp/.X11-unix:/tmp/.X11-unix \ -v /usr/lib/nvidia-${drive 阅读全文
posted @ 2021-10-26 18:23 WellP.C 阅读(185) 评论(0) 推荐(0)
摘要: setxkbmap -option caps:none # 禁用键盘上Caps Lock键. setxkbmap -option # 启用Caps Lock键. 阅读全文
posted @ 2021-07-01 17:25 WellP.C 阅读(351) 评论(0) 推荐(0)
摘要: 好记性不如烂笔头 阅读全文
posted @ 2020-09-05 17:10 WellP.C 阅读(1772) 评论(0) 推荐(0)
摘要: 1.先mark一个文件操作:遍历(或者迭代遍历)指定目录,boost::filesystem可真好用 1 for (const auto& it : boost::filesystem::directory_iterator("/your/path")) { 2 if (it.path().exte 阅读全文
posted @ 2019-12-17 10:29 WellP.C 阅读(2142) 评论(0) 推荐(0)
摘要: git clone --recursive https://github.com/cloudcompare/trunk.git cd trunk mkdir build cd build cmake .. -DPLUGIN_STANDARD_QPCL:BOOL=ON -DPLUGIN_IO_QPDA 阅读全文
posted @ 2019-10-25 11:47 WellP.C 阅读(1865) 评论(0) 推荐(0)
摘要: 1.打开搜狗设置 2.更改Scroll between Input Method即可,我设置成了 ALT_SUPER(Win键) 阅读全文
posted @ 2019-07-05 16:26 WellP.C 阅读(1061) 评论(0) 推荐(0)
摘要: 推荐方法1: https://github.com/zq1997/deepin-wine 方法2: 详见这个博客,用sudo dpkg -i 安装软件时,如果出现错误,是因为缺少安装依赖关系,用下面的命令解决: sudo apt-get install -f 阅读全文
posted @ 2019-06-28 15:34 WellP.C 阅读(3654) 评论(0) 推荐(0)