上一页 1 2 3 4 5 6 7 8 9 10 ··· 89 下一页
摘要: 问题 配置: { "mcpServers": { "filesystem": { "disabled": false, "timeout": 60, "command": "cmd", "args": [ "/c", "npx", "@modelcontextprotocol/server-file 阅读全文
posted @ 2025-04-17 11:41 lshan 阅读(778) 评论(0) 推荐(0)
摘要: 解决方案 1. 修改 PowerShell 执行策略 你需要更改 PowerShell 的执行策略,以允许脚本运行。具体步骤如下: 以管理员身份打开 PowerShell: 在开始菜单中搜索“PowerShell”。 右键点击“Windows PowerShell”,选择“以管理员身份运行”。 查看 阅读全文
posted @ 2025-04-15 18:14 lshan 阅读(3960) 评论(0) 推荐(0)
摘要: 通义千问API参考 : https://help.aliyun.com/zh/model-studio/use-qwen-by-calling-api?spm=a2c4g.11186623.help-menu-2400256.d_2_1_0.6d734823eljf55 阅读全文
posted @ 2025-04-10 12:02 lshan 阅读(35) 评论(0) 推荐(0)
摘要: 常用: #!/usr/bin/env python3 # -*- coding: utf-8 -*- # @mail : lshan523@163.com # @Time : 2025/3/30 18:12 # @Author : Sea # @File : s3upload.py# @Purpos 阅读全文
posted @ 2025-03-30 18:50 lshan 阅读(60) 评论(0) 推荐(0)
摘要: sudo docker container update 容器名 --memory="2g" --memory-swap="-1" --cpus=2 1. 查看状态: sudo docker stats 2. 可修改的资源: 名称,简写默认值描述 –blkio-weight 0 阻塞IO(相对权重) 阅读全文
posted @ 2025-03-28 17:19 lshan 阅读(520) 评论(0) 推荐(0)
摘要: 系统:ubuntu 22.04 错误消息: jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect 阅读全文
posted @ 2025-03-27 10:15 lshan 阅读(385) 评论(0) 推荐(0)
摘要: 官网文档: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 阅读(204) 评论(0) 推荐(0)
摘要: 非常好的参考 转字自: https://zhuanlan.zhihu.com/p/16763658551 角色类 #角色背景: - 你是[角色名]。 - 出生于[地点],[背景故事]。[性别]、[职业]…… ##性格特点: - 你是一个[性格特征]的人,[更多性格描述]。 ##语言特点: - 你的对 阅读全文
posted @ 2025-03-07 12:35 lshan 阅读(3585) 评论(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 阅读(107) 评论(0) 推荐(0)
摘要: 1. pybloom-live 特点: 一个高效的布隆过滤器实现。 支持动态扩展,即可以在运行时增加更多的元素。 实现简单,易于使用。 pip install pybloom-live 使用示例 from pybloom_live import BloomFilter # 创建布隆过滤器,预计最多添 阅读全文
posted @ 2025-02-07 15:54 lshan 阅读(227) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 89 下一页