摘要: 首先要创建一个机器人,找到BotFather获取到机器人的Token 设置后台地址,实现消息转发 curl -X POST "https://api.telegram.org/bot{机器人token}/setWebhook?url=https://chat.xxxxxxxx.com/chat" 配 阅读全文
posted @ 2025-03-08 10:51 时光煮酒丶 阅读(11) 评论(0) 推荐(0) 编辑
摘要: mysql8.4,部分场景出现以下错误提示: vi /etc/my.conf 最后一行添加: mysql_native_password=ON 用户启用旧的身份验证插件【mysql_native_password】 ALTER USER '账号'@'主机' IDENTIFIED WITH 'mysq 阅读全文
posted @ 2024-12-23 16:06 时光煮酒丶 阅读(357) 评论(0) 推荐(0) 编辑
摘要: dnf config-manager --set-enabled crb sudo dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch 阅读全文
posted @ 2024-12-23 13:36 时光煮酒丶 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2024-12-02 12:21 时光煮酒丶 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 项目在调用https接口时报错: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to req 阅读全文
posted @ 2024-07-03 11:10 时光煮酒丶 阅读(157) 评论(0) 推荐(0) 编辑
摘要: yum install shc shc -f yourscript.sh 加密完成后会生产一个 yourscript.sh.x 文件 阅读全文
posted @ 2024-05-21 17:01 时光煮酒丶 阅读(5) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python env # -*- coding: utf-8 -*- import time import subprocess import logging """ # 分辨率 "adb shell wm size" adb shell input swipe命令中的坐标值中 阅读全文
posted @ 2024-01-17 17:15 时光煮酒丶 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 使用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 阅读全文
posted @ 2023-11-29 10:22 时光煮酒丶 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 修改tomcat配置文件:server.xml <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" compression="on" compressionMinSize=" 阅读全文
posted @ 2023-11-29 09:49 时光煮酒丶 阅读(116) 评论(0) 推荐(0) 编辑
摘要: from OpenSSL import crypto, SSL def generate_certificate( organization="PrivacyFilter", common_name="192.168.1.200:8000", country="NL", duration=(365 阅读全文
posted @ 2023-10-26 10:18 时光煮酒丶 阅读(174) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示