10 2022 档案

摘要:deepin得到root权限的方法 sudo su 然后输入当前用户密码 查看软件所在目录:[root@xy-main bin]# whereis pythonpython: /usr/bin/python /usr/bin/python2.7 /usr/lib/python2.7 /usr/lib 阅读全文
posted @ 2022-10-28 01:27 pearlcity 阅读(680) 评论(0) 推荐(0) 编辑
摘要:1、从软件包安装pg_auto_failover # Add the repository to your system curl https://install.citusdata.com/community/rpm.sh | sudo bash # Install pg_auto_failove 阅读全文
posted @ 2022-10-26 22:52 pearlcity 阅读(689) 评论(0) 推荐(1) 编辑
摘要:1、安装Rust从Rust的官网下载rustup-init rustup-init为在线安装工具,默认的安装源为国外的站点,安装较慢,可设置环境变量,使其从科大的镜像中下载: RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/rust-staticRUST 阅读全文
posted @ 2022-10-19 21:05 pearlcity 阅读(102) 评论(0) 推荐(0) 编辑
摘要:1、使用yagmail,发送一个带附件的邮件,只需要2行代码: import yagmail yag = yagmail.SMTP(user='joy_lmx@163.com', password='nicai?', host='smtp.163.com', port='25') yag.send( 阅读全文
posted @ 2022-10-09 16:05 pearlcity 阅读(40) 评论(0) 推荐(0) 编辑
摘要:重点关注 Go 设置阿里源镜像地址go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/ go env -w GOPROXY=https://goproxy.cn,direct 1、闭包 package main import "fmt" func 阅读全文
posted @ 2022-10-05 12:18 pearlcity 阅读(99) 评论(0) 推荐(0) 编辑