摘要:
首先要创建一个机器人,找到BotFather获取到机器人的Token 设置后台地址,实现消息转发 curl -X POST "https://api.telegram.org/bot{机器人token}/setWebhook?url=https://chat.xxxxxxxx.com/chat" 配 阅读全文
摘要:
mysql8.4,部分场景出现以下错误提示: vi /etc/my.conf 最后一行添加: mysql_native_password=ON 用户启用旧的身份验证插件【mysql_native_password】 ALTER USER '账号'@'主机' IDENTIFIED WITH 'mysq 阅读全文
摘要:
dnf config-manager --set-enabled crb sudo dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch 阅读全文
摘要:
import os base_path=r"C:\Users\amdpc\Desktop\book" def ScsliceIMG(path:str): image = Image.open(path) rect = (0,389, 1076 ,1865)#左上点坐标,右下角坐标 crop_imag 阅读全文
摘要:
项目在调用https接口时报错: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to req 阅读全文
摘要:
yum install shc shc -f yourscript.sh 加密完成后会生产一个 yourscript.sh.x 文件 阅读全文
摘要:
#!/usr/bin/python env # -*- coding: utf-8 -*- import time import subprocess import logging """ # 分辨率 "adb shell wm size" adb shell input swipe命令中的坐标值中 阅读全文
摘要:
使用supervisor进程管理工具,在同一个容器中部署zookeeper和kafka 目录 Dockerfile jdk1.8.0_181.tar.gz kafka_2.12-1.1.0.tgz conf.d docker-compose.yml kafka_conf.d conf.d 中为sup 阅读全文
摘要:
修改tomcat配置文件:server.xml <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" compression="on" compressionMinSize=" 阅读全文
摘要:
from OpenSSL import crypto, SSL def generate_certificate( organization="PrivacyFilter", common_name="192.168.1.200:8000", country="NL", duration=(365 阅读全文