10 2022 档案
摘要:利用wget下载东西时,比如输入指令wget www.baidu.com 提示报错 “wget: unable to resolve host address …” wget:无法解析主机地址。这就能看出是DNS解析的问题 解决办法:修改/etc/resolv.conf文件,添加nameserver
阅读全文
摘要:python -m pip install nuitka python -m nuitka --module some_module.py 更多 https://nuitka.net/doc/user-manual.html
阅读全文
摘要:安装必要的Python包 pip install setuptools pip install wheel 打包 pip wheel .
阅读全文
摘要:python -m nuitka --standalone --show-memory --show-progress --nofollow-imports --follow-import-to=src --enable-plugin=pyqt5 --windows-disable-console
阅读全文
摘要:先用w查看在线用户。 goface ~ # w 11:53:14 up 53 min, 3 users, load average: 0.00, 0.01, 0.05 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root pts/0 192.168.1.8 11
阅读全文
摘要:除了上面几种做法之外,docker在1.3.X版本之后还提供了一个新的命令exec用于进入容器,这种方式相对更简单一些,下面我们来看一下该命令的使用: $ sudo docker exec --help 接下来我们使用该命令进入一个已经在运行的容器 $ sudo docker ps $ sudo d
阅读全文
摘要:使用Docker Desktop启动一个镜像以后,发现直接 EXITED(139) 这时候用 docker log containerId 也获取不到任何日志 问题缘由 找了比较多的资料哈,Centos6下对Docker支持确实是有些问题,反过来Docker下面部署Centos 6环境的镜像也会导致
阅读全文
摘要:在 WSL 命令行中执行 docker 命令,如果有如下输出,则证明 docker desktop 中没有开启对于当前 WSL 系统的支持。 The command 'docker' could not be found in this WSL 2 distro. We recommend to a
阅读全文
摘要:安装wheel库 pip install wheel 制作whl文件非常简单 pip wheel --wheel-dir=./dist ./ python3 setup.py sdist bdist_wheel # 同时打包 --wheel-dir 指定生成.whl文件的存储位置,上面的命令,我是进
阅读全文
摘要:screen的一些常用命令和快捷键 安装 sudo apt install screen 命令 screen -S screen_name,新建screen,并指定名字 screen -d screen_name,detach正在使用的screen screen -R screen_name, 连接
阅读全文
摘要:使用国内镜像加速更新 Rustup 工具链 我们需要指定 RUSTUP_DIST_SERVER(默认指向 https://static.rust-lang.org)和 RUSTUP_UPDATE_ROOT (默认指向https://static.rust-lang.org/rustup),这两个网站
阅读全文
摘要:Get started with CMake Tools on Linux CMake is an open-source, cross-platform tool that uses compiler and platform independent configuration files to
阅读全文
摘要:git config --global user.email johndoe@example.com git config --global user.name "John Doe" git config --global credential.helper store
阅读全文
摘要:spdlog Install ubuntu sudo apt install libspdlog-dev
阅读全文
摘要:在linux安装过程如下: 一,最简单的办法: 搜到所有的boost库 然后: sudo apt-get install libboost-all-dev 安装相应的库 二,[编译安装] https://www.boost.org/doc/libs/1_80_0/more/getting_start
阅读全文