Fork me on github
摘要: sudo apt install build-essential ffmpeg ccache libopenblas-openmp-dev \ libgtk-3-dev libgtkglext1-dev libavcodec-dev libavformat-dev libdc1394-dev \ l 阅读全文
posted @ 2022-04-11 19:29 fang-d 阅读(132) 评论(0) 推荐(0)
摘要: dnf install -y gcc git zlib zlib-devel pcre pcre-devel perl-IPC-Cmd git clone --recursive https://hub.fastgit.org/google/ngx_brotli.git cd ngx_brotli/ 阅读全文
posted @ 2022-04-11 19:27 fang-d 阅读(253) 评论(0) 推荐(0)
摘要: 在本文中,我们同时配置阿里源、清华源和豆瓣源,进行平衡负载。这里选择清华源作为主源(据说清华源在教育网内会一些;如果是普通的网络,阿里源也挺好用的)。 方法一 这个方法要求pip版本号≥10.0.0。 在命令行中,输入以下命令: python -m pip config set global.ind 阅读全文
posted @ 2021-10-30 18:06 fang-d 阅读(1825) 评论(0) 推荐(0)
摘要: 原内容似乎不再有效,请参考阿里云官方链接 https://developer.aliyun.com/mirror/anaconda 参考其它教程,main和free似乎是必须,其它的似乎是可选的。 conda config --add channels https://mirrors.aliyun. 阅读全文
posted @ 2021-10-26 18:22 fang-d 阅读(20256) 评论(1) 推荐(1)
摘要: 一个命令搞定: cat /sys/class/thermal/thermal_zone0/temp 输出的结果除以1000即为当前环境温度(单位为摄氏度)。 另附一个检测CPU温度,过高自动关机的C++程序: #include <iostream> #include <fstream> using 阅读全文
posted @ 2020-10-04 12:29 fang-d 阅读(798) 评论(0) 推荐(0)
摘要: Ubuntu Server for Raspberry Pi(64-bit)部署Jenkins 阅读全文
posted @ 2020-10-03 22:36 fang-d 阅读(268) 评论(0) 推荐(0)
摘要: acme.sh部署RSA、ECC双证书(使用阿里云API) 阅读全文
posted @ 2020-10-02 21:20 fang-d 阅读(3312) 评论(0) 推荐(0)
摘要: Ubuntu Server Arm64 for Raspberry Pi安装Arm32软件运行环境(armhf)。 阅读全文
posted @ 2020-10-02 18:17 fang-d 阅读(4368) 评论(0) 推荐(0)
摘要: 本文讲述了使用命令行更换Ubuntu 20.04的源的方法。 阅读全文
posted @ 2020-04-24 15:19 fang-d 阅读(5123) 评论(0) 推荐(0)
摘要: 本文介绍了ESP32使用NTP校准时间的方法 阅读全文
posted @ 2020-04-20 16:48 fang-d 阅读(6300) 评论(0) 推荐(0)