上一页 1 2 3 4 5 6 7 ··· 59 下一页
摘要: 安装k8s desktop git clone https://github.moeyy.xyz/https://github.com/AliyunContainerService/k8s-for-docker-desktop cd k8s-for-docker-desktop sh load_im 阅读全文
posted @ 2024-04-25 17:21 vx_guanchaoguo0 阅读(35) 评论(0) 推荐(0) 编辑
摘要: springboot 默认内置tomcat 可以替换 undertow、jetty、netty tomcat tomcat 默认200最大线程 完整实现了JEE容器和serlet规范 tomcat6以后支持Jdk1.4的NIO 用于完整支持了javaee 因此比较笨重和重量级 很多高并发会替换成un 阅读全文
posted @ 2024-04-22 11:40 vx_guanchaoguo0 阅读(28) 评论(0) 推荐(0) 编辑
摘要: springwebFlux是 spring5 、springboot2.4 、springcloud2020 webFlux 采用响应式编程 使用Rsocket 协议 代替 HTTP 使用场景主要在springcloud gateway、日志 ,监控检测等等 springwebFlux 和sprin 阅读全文
posted @ 2024-04-22 10:58 vx_guanchaoguo0 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 官网并不提供form data 以下方式获取 @RequestMapping(path = "/post", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE) public Mono<Map<Strin 阅读全文
posted @ 2024-04-19 16:09 vx_guanchaoguo0 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 异常接口 public class Try { public static <T> Consumer<? super T> of(UncheckedConsumer<T> action) { Objects.requireNonNull(action); return t -> { try { ac 阅读全文
posted @ 2024-04-08 10:57 vx_guanchaoguo0 阅读(19) 评论(0) 推荐(0) 编辑
摘要: docker-compose version: '3' services: mysql-svc: image: mysql:5.7 container_name: mysql ports: - 3306:3306 environment: TZ: Asia/Shanghai MYSQL_ROOT_P 阅读全文
posted @ 2024-04-07 17:46 vx_guanchaoguo0 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 需要后台运行 * * * * * /usr/local/bin/python main.py >>job.log 2>&1 & 环境变量 // 无论是 命令 还是目录文件都要绝对路径 /usr/local/bin/python // main.py 里面也要使用 绝对路径的文件夹 或者文件 阅读全文
posted @ 2024-03-26 15:42 vx_guanchaoguo0 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 很多时候感觉对了 但是就是404 二级动态代理 可能是多一个斜杠 // 错误代理 // “/” 结尾在URL处,表示反向代理时不是 “https://www.xxxxxxx.com/proxyname/” , // 而是 “https://www.xxxxxxx.com/” ,否则容易出现404的情 阅读全文
posted @ 2024-03-26 14:37 vx_guanchaoguo0 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 排序 def recursive_sort(self, categories): categories.sort(key=lambda x: x['sort']) for category in categories: if category['children']: category['child 阅读全文
posted @ 2024-03-25 11:23 vx_guanchaoguo0 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 首先用ffmeg 获取视频的宽高 为了使图片看起来 和视频大小一致 ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=s=x:p=0 xx1.mp4 将图片缩放到视频宽高 ffmpeg -i 阅读全文
posted @ 2024-03-20 11:00 vx_guanchaoguo0 阅读(5) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 59 下一页