会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lshan
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
89
下一页
2025年1月15日
Java连接mysql 8 数据库时报错 SSLHandshakeException
摘要: Java连接mysql数据库时报错:Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 解决
阅读全文
posted @ 2025-01-15 17:11 lshan
阅读(283)
评论(0)
推荐(0)
2025年1月14日
pymongo 密码带有@特殊字符 【@ 写成 %40 】
摘要: pymongo 密码带有@ 需要对这些字符进行编码。Python中可以使用urllib库中的quote方法进行编码。 from urllib.parse import quote from pymongo import MongoClient username = 'your_username' p
阅读全文
posted @ 2025-01-14 15:52 lshan
阅读(148)
评论(0)
推荐(0)
2025年1月9日
C# 入门
摘要: 创建一个WebApi cd 自己想要建项目的路径下 #创建webApi项目,-o后面是输出文件夹名称 dotnet new webapi -f net6.0 -o TestApi #进入项目目录 cd TestApi# 运行项目 dotnet run #默认自带swagger http://loca
阅读全文
posted @ 2025-01-09 16:41 lshan
阅读(32)
评论(0)
推荐(0)
2025年1月8日
sed -i 转义问题
摘要: 1. 写到脚本中,然后再运行: 注意转义 #change-domain-entrypoint.sh echo '#!/bin/bash sed -i '\"s/https:\\\\/\\\\/service-d01.sea.net:8443\\\\/admin/https:\\\\/\\\\/www
阅读全文
posted @ 2025-01-08 11:41 lshan
阅读(64)
评论(0)
推荐(0)
2025年1月3日
HtmlToImageUtil html 转图片
该文被密码保护。
阅读全文
posted @ 2025-01-03 13:29 lshan
阅读(0)
评论(0)
推荐(0)
2024年12月27日
nginx 跨域
摘要: location /api/ { add_header Access-Control-Allow-Origin '*' always; add_header Access-Control-Allow-Credentials 'true'; add_header Access-Control-Allo
阅读全文
posted @ 2024-12-27 13:13 lshan
阅读(40)
评论(0)
推荐(0)
2024年12月26日
Nginx采坑(后台响应ResponseEntity时,Nginx将部分数据过滤) (版本=1.21.1)
摘要: zhuan: https://www.cnblogs.com/damaoa/p/13223921.html 问题描述: 后台响应ResponseEntity时,Nginx将部分数据过滤了 原因: 官网说明:http://nginx.org/en/docs/http/ngx_http_proxy_mo
阅读全文
posted @ 2024-12-26 16:55 lshan
阅读(116)
评论(0)
推荐(0)
2024年12月19日
批量为每个mongodb 创建user 给与权限
摘要: {"role": "dbOwner", "db": db_name} #!/usr/bin/env python3 # -*- coding: utf-8 -*- # @mail : lshan523@163.com # @Time : 2024/12/19 17:16 # @Author : Se
阅读全文
posted @ 2024-12-19 17:41 lshan
阅读(53)
评论(0)
推荐(0)
2024年12月13日
aliyun oss pyhton
摘要: #!/usr/bin/env python3 # -*- coding: utf-8 -*- # @mail : lshan523@163.com # @Time : 2024/12/13 14:16 # @Author : Sea # @File : uploadOss.py# @Purpose
阅读全文
posted @ 2024-12-13 15:15 lshan
阅读(48)
评论(0)
推荐(0)
2024年12月10日
springboot filter 自定义开放路径
摘要: private List<String> excludePathPatterns = Arrays.asList( "/login/001", "/v2/api-docs", "/swagger-resources/**", "/swagger-ui.html", "/webjars/**", "/
阅读全文
posted @ 2024-12-10 10:37 lshan
阅读(47)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
89
下一页