自动寻找最快的debian源并更新sources.list
首先、安装netselect-aptapt update apt install netselect-apt -y然后切换到/etc/apt目录,运行命令获取最优镜像。cd /etc/apt netselect-apt apt update使用netslect-apt命令后,会在目录下面生产s...
使用 Motion 为树莓派实现局域网监控
安装 Motion 最新版本这里不建议使用 apt 命令安装,详情请见 Motion: Raspberry Pi cameras从 Motion 项目发布页面 “https://github.com/Motion-Project/motion/releases”下载Motion最新版本,这里是...
20行代码实现右Shift(任意按键)切换输入法中英文
废话不说直接上干货1、安装keyboard包pip install keyboard2、保存下面的代码到py文件中import keyboard MAX_TIME = 0.5 # 最大切换间隔单位(秒) MY_LOVE_TOGGLE_KEY = 'right shift' # 想要设置的...
Golang TCP UDP
创建TCP连接func createTcpServer(host string, port int) (*net.TCPListener, error) { logger.Debug("create tcp listener") tcpListener, e...
ImportError: libtiff.so.5: cannot open shared object file: No such file or directory
ImportError: libtiff.so.5: cannot open shared object file: No such file or directorysudo apt install libtiff5-dev
最新回复