上一页 1 2 3 4 5 6 7 8 9 ··· 88 下一页
摘要: 官网文档:https://docs.dify.ai/zh-hans/getting-started/install-self-hosted/docker-compose 1.GitHub地址:https://github.com/langgenius/dify 2.tags 下 下载需要的版本 or 阅读全文
posted @ 2025-03-24 17:55 lshan 阅读(101) 评论(0) 推荐(0)
摘要: 非常好的参考 转字自: https://zhuanlan.zhihu.com/p/16763658551 角色类 #角色背景: - 你是[角色名]。 - 出生于[地点],[背景故事]。[性别]、[职业]…… ##性格特点: - 你是一个[性格特征]的人,[更多性格描述]。 ##语言特点: - 你的对 阅读全文
posted @ 2025-03-07 12:35 lshan 阅读(1585) 评论(0) 推荐(0)
摘要: 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 阅读(73) 评论(0) 推荐(0)
摘要: 1. pybloom-live 特点: 一个高效的布隆过滤器实现。 支持动态扩展,即可以在运行时增加更多的元素。 实现简单,易于使用。 pip install pybloom-live 使用示例 from pybloom_live import BloomFilter # 创建布隆过滤器,预计最多添 阅读全文
posted @ 2025-02-07 15:54 lshan 阅读(166) 评论(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 阅读(230) 评论(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 阅读(104) 评论(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 阅读(12) 评论(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 阅读(31) 评论(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 阅读(19) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 88 下一页