上一页 1 2 3 4 5 6 7 8 ··· 87 下一页
摘要: SQLAlchemy ORM框架能让你用Python的方式操作数据库,告别繁琐的SQL语句。 1.最简单的使用示例: #!/usr/bin/env python3 # -*- coding: utf-8 -*- # @mail : lshan523@163.com # @Time : 2025/2/ 阅读全文
posted @ 2025-02-10 10:39 lshan 阅读(57) 评论(0) 推荐(0)
摘要: 1. pybloom-live 特点: 一个高效的布隆过滤器实现。 支持动态扩展,即可以在运行时增加更多的元素。 实现简单,易于使用。 pip install pybloom-live 使用示例 from pybloom_live import BloomFilter # 创建布隆过滤器,预计最多添 阅读全文
posted @ 2025-02-07 15:54 lshan 阅读(139) 评论(0) 推荐(0)
摘要: 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 阅读(203) 评论(0) 推荐(0)
摘要: pymongo 密码带有@ 需要对这些字符进行编码。Python中可以使用urllib库中的quote方法进行编码。 from urllib.parse import quote from pymongo import MongoClient username = 'your_username' p 阅读全文
posted @ 2025-01-14 15:52 lshan 阅读(93) 评论(0) 推荐(0)
摘要: 创建一个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 阅读(6) 评论(0) 推荐(0)
摘要: 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 阅读(20) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2025-01-03 13:29 lshan 阅读(0) 评论(0) 推荐(0)
摘要: 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 阅读(12) 评论(0) 推荐(0)
摘要: 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 阅读(34) 评论(0) 推荐(0)
摘要: {"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 阅读(29) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 87 下一页