CentOS + Nginx 自动续期SSL
在 CentOS 上使用 Nginx 和 Certbot 自动续期 Let’s Encrypt SSL 证书的详细流程,2025年最新简便流程。
安装 Certbot
sudo yum install epel-release sudo yum install certbot python2-certbot-nginx
在 CentOS 上使用 Nginx 和 Certbot 自动续期 Let’s Encrypt SSL 证书的详细流程,2025年最新简便流程。
安装 Certbot
sudo yum install epel-release
sudo yum install certbot python2-certbot-nginx
https://tauri.app/zh-cn/ 使用单个代码库为 Linux、macOS、Windows、Android 和 iOS 构建你的应用程序。
1)skynet环境搭建
PicGO一个依托github+jsdelivr的图床,并且有CND加速,看起来很不错的样子。
https://github.com/Molunerfinn/picgo/releases
某分支和版本号大小不能超过50M会直接被jsDelivr屏蔽。所以单某个分支接近临界值,换分支继续就得了。
1)官网https://tsrpc.cn/ 安装npm i tsrpc@latest tsrpc-cli@latest
2)链接数据库 https://www.npmjs.com/package/mysql2
1)nginx转发端口
location /lzlc/ {
proxy_pass http://127.0.0.1:8081/;
}
cd /www/server/panel/vhost/nginx
nginx -s reload
1 重启自动启动
tsrpc.cn
TSRPC 是专为 TypeScript 设计的 RPC 框架,适用于 HTTP API、WebSocket 实时应用、NodeJS 微服务,经千万级用户验证。比 JSON 更强大,类型安全,支持二进制传输。
https://github.com/tiangolo/fastapi
居然有36.1k的星星,厉害了。python做的。
yum -y install ntp ntpdate
ntpdate 0.asia.pool.ntp.org
hwclock --systohc
free -h
free -m
top
shift+m
更新软件源sudo apt update
安装 npmsudo apt install npm
代码生成创世块,中文资料真是太少了,少的可怜,来来回回基本就那1,2篇介绍的,还不全,半吊子,坑,还是英文资料多。
一· c++生成创世块
CBlock &block = const_cast<CBlock&>(chainparams.GenesisBlock());之后加这个,然后在debug.log里面可以看到生成的创世块了
Bitcoincore系统的CChainParams类定义了区块链参数,并在bitcoind启动阶段完成初始化,参见bitcoind.cpp的AppInit()。
CChainParams包含如下主要数据成员。
类成员介绍
1、CBlock genesis;
创世块。具体构建参见CreateGenesisBlock()。
第一个爬虫做成功了。yes!!!开心。2021.3.23
golang学习两次了还是会忘,只有自己做一个极小的项目才能真正的学会,不然不写还是很空洞容易忘。这个网站,真是神器 https://gobyexample-cn.github.io 不懂来学,立马解决。
这是一个记录每日价格的爬虫,2018年就一直想做不会做,现在去做了其实也就两天就可以搞定。