上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 81 下一页
摘要: 原文:https://mrmad.com.tw/windows-vmware-player-macos-10-15-catalina 可参考:https://blog.csdn.net/qq_36969381/article/details/125588054 仅供学习使用 下載 macOS Cat 阅读全文
posted @ 2022-08-26 11:09 lshan 阅读(451) 评论(0) 推荐(0) 编辑
摘要: Springboot+JPA+Sqlite整合demo参考: https://afu-bob.blog.csdn.net/article/details/90294553 简单使用: 1.依赖 <!-- https://mvnrepository.com/artifact/com.github.gw 阅读全文
posted @ 2022-08-24 11:44 lshan 阅读(866) 评论(0) 推荐(0) 编辑
摘要: ubuntu22.04 默认python 是3.10 由于版本冲突,需要的python版本是3.7 1.安装python3.7 sudo add-apt-repository ppa:deadsnakes/ppa sudo apt-get update sudo apt-get install py 阅读全文
posted @ 2022-08-12 13:57 lshan 阅读(7112) 评论(0) 推荐(1) 编辑
摘要: 在国内访问国外的Docker镜像源通常都是非常慢的,特别是最近GFW升级后,就变得更加慢了,因为要使用Docker中的镜像,这个时候最好就是将镜像指向国内的资源。 国内可用的几个镜像源: Docker 官方中国区:https://registry.docker-cn.com 网易:http://hu 阅读全文
posted @ 2022-08-12 11:27 lshan 阅读(3198) 评论(0) 推荐(0) 编辑
摘要: 原文:/traditional/p/14733610.html#5089657 这次a56爆大奖在线娱乐们来聊一聊 FastAPI,它和a56爆大奖在线娱乐们之前介绍的 Sanic 是类似的,都是 Python 中的异步 web 框架。相比 Sanic,FastAPI 更加的成熟、社区也更 阅读全文
posted @ 2022-08-12 10:10 lshan 阅读(2604) 评论(0) 推荐(0) 编辑
摘要: 像java 一样使用swagger UI 使用示例: #!/usr/bin/env python3 # -*- coding: utf-8 -*- # @Time : 8/10/22 3:10 PM # @Author : Sea # @File : bxBlogScripy.py # @mail: 阅读全文
posted @ 2022-08-11 10:18 lshan 阅读(685) 评论(0) 推荐(0) 编辑
摘要: java 作为客户端 依赖: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> </dependency> import co 阅读全文
posted @ 2022-08-09 15:42 lshan 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 场景:用于接口请求参数幂等,基于请求参数判断在3s(interval)时间内是否重复提交,重复提交,则直接返回 {"code":2500,"message":"重复提交"} EVN : springboot 2.3.12 + jdk8 使用: 1.(在需要做类似幂等的接口加上注解)@AvoidRes 阅读全文
posted @ 2022-08-05 10:50 lshan 阅读(55) 评论(0) 推荐(0) 编辑
摘要: /** * 目的: 自定义切片,防止表单重复提交, 尤其是服务间调用,retry,防止重复提交数据 * 1. 表单提交时 , 优先获取 一个token * 2. 提交表单时, 携带token 请求头 (header name: rdtc_token) * 3. 如果重复提交,响应: 重复提交 {"c 阅读全文
posted @ 2022-08-02 19:51 lshan 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 项目搭建见: 分布式事务( XA) -- seata eurake springboot mysql (1.4.2) /lshan/p/16533280.html 官网示例代码: https://github.com/seata/seata-sample 阅读全文
posted @ 2022-08-01 18:19 lshan 阅读(178) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 81 下一页