摘要: #!/bin/bash # 定义要监控的容器名称 CONTAINER_NAME="容器名称" while true;do # 检查容器是否存在 if ! docker ps -a --format '{{.Names}}' | grep -q "^${CONTAINER_NAME}$"; then 阅读全文
posted @ 2025-02-27 10:09 龙丶谈笑风声 阅读(3) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash # 定义要监控的容器名称 CONTAINER_NAME="容器名称" # 无限循环,持续监控容器状态 while true; do # 检查容器是否在运行 if ! docker ps --format '{{.Names}}' | grep -q "^${CONTAINER 阅读全文
posted @ 2025-02-27 10:06 龙丶谈笑风声 阅读(4) 评论(0) 推荐(0) 编辑
摘要: :disabledDate=“disabledDate” const disabledDate=(date) => { const firstDayOfMonth = moment(date).date(1); // 获取该日期所在月份的1号 return date && date < moment 阅读全文
posted @ 2025-01-05 16:24 龙丶谈笑风声 阅读(265) 评论(0) 推荐(0) 编辑
摘要: const updateWidth = () => { let resize = document.getElementById("datatree"); let mainForm = document.getElementsByClassName("mainForm"); resize.onmou 阅读全文
posted @ 2024-12-24 13:37 龙丶谈笑风声 阅读(9) 评论(0) 推荐(0) 编辑
摘要: static ClientWebSocket webSocket0; static CancellationToken cancellation; // 应用APPID(必须为webapi类型应用,并开通星火认知大模型授权) const string x_appid = "xxxxx"; // 接口 阅读全文
posted @ 2024-04-18 17:46 龙丶谈笑风声 阅读(247) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// kimi的对接方法 /// </summary> public async void GetHttpRequst() { var _httpClient= new HttpClient(); var _apiUrl= "https://api.moonshot.c 阅读全文
posted @ 2024-04-18 15:41 龙丶谈笑风声 阅读(1035) 评论(0) 推荐(0) 编辑
摘要: public partial class Form1 : Form { private WasapiLoopbackCapture mic;//音频输入 protected RDPSession _rdpSession = null; public Form1() { InitializeCompo 阅读全文
posted @ 2023-08-02 14:29 龙丶谈笑风声 阅读(236) 评论(0) 推荐(0) 编辑
摘要: What is LangChain? LangChain是一个强大的框架,旨在帮助开发人员使用语言模型构建端到端的应用程序。它提供了一套工具、组件和接口,可简化创建由大型语言模型 (LLM) 和聊天模型提供支持的应用程序的过程。LangChain 可以轻松管理与语言模型的交互,将多个组件链接在一起, 阅读全文
posted @ 2023-07-26 09:25 龙丶谈笑风声 阅读(593) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// OSql命令操作函数(可用于安装程序的时候数据库脚本执行) /// </summary> public class SqlScriptHelper { #region OSql操作函数 /// <summary> /// 本地执行SQL脚本 /// </summa 阅读全文
posted @ 2023-07-25 11:56 龙丶谈笑风声 阅读(85) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 常用的Access数据库Sql操作辅助类库 /// </summary> public class OleDbHelper { private string connectionString = ""; private const string accessPre 阅读全文
posted @ 2023-07-25 11:55 龙丶谈笑风声 阅读(17) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示