摘要: go code : package mainimport ( "context" "fmt" "time" "github.com/mark3labs/mcp-go/mcp" "github.com/mark3labs/mcp-go/server")func main() { // Create M 阅读全文
posted @ 2025-08-18 16:04 ToDarcy 阅读(31) 评论(0) 推荐(0)
摘要: vim convertMP4.sh 输入脚本: #!/bin/bash # 检查是否提供了输入目录路径 if [ -z "$1" ]; then echo "Usage: $0 <input_directory>" exit 1 fi # 获取输入目录路径 input_directory="$1" 阅读全文
posted @ 2024-08-21 12:54 ToDarcy 阅读(409) 评论(0) 推荐(0)
摘要: 下载pyenv wget https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.1.tar.gz -O pyenv.tar.gz yum install gcc zlib-devel bzip2 bzip2-devel readline-deve 阅读全文
posted @ 2024-06-05 16:31 ToDarcy 阅读(254) 评论(0) 推荐(0)
摘要: 如何查看、设置 Mac Terminal Proxy 代理。通过查询当前代理信息,并在命令行导出 HTTP_Proxy 变量即可。 查看代理信息 运行相关代理软件之后,一般会在系统层面直接替换当前的代理配置,如下: 命令行获取 参考:https://superuser.com/questions/4 阅读全文
posted @ 2024-06-04 14:12 ToDarcy 阅读(721) 评论(0) 推荐(0)
摘要: 更新brew brew update brew install pyenv 安装pyenv报错 ==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/c1c28c143f4e28fc0059e66baa904 阅读全文
posted @ 2024-06-04 11:21 ToDarcy 阅读(496) 评论(0) 推荐(0)
摘要: ## 1、脚本 app.py # -*- coding:utf8 -*- import os import paramiko from datetime import datetime, timedelta from flask import Flask, request app = Flask(_ 阅读全文
posted @ 2024-05-15 16:37 ToDarcy 阅读(120) 评论(0) 推荐(0)
摘要: apt-get -y update & apt-get install -y vim 时报错: E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 735 (apt-get) N: Be aware tha 阅读全文
posted @ 2024-03-01 09:40 ToDarcy 阅读(301) 评论(0) 推荐(0)
摘要: 1、下载客户端,官网地址:https://openvpn.net/client/ 2、下载dmg进行安装 双击安装 3、安装好后,将vpn、证书等文件放置配置目录 /Users/用户名/Library/Application Support/OpenVPN Connect/profiles 如下图 阅读全文
posted @ 2024-02-23 10:28 ToDarcy 阅读(2) 评论(0) 推荐(0)
摘要: 1、增加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-quartz</artifactId> </dependency> <!-- json 工具 --> <de 阅读全文
posted @ 2024-02-21 15:43 ToDarcy 阅读(1333) 评论(0) 推荐(0)
摘要: 代码: /** * 角色上下左右控制 * */ import { _decorator, Component, Node, Vec3, Input, EventKeyboard, KeyCode } from 'cc'; const { ccclass, property } = _decorato 阅读全文
posted @ 2024-02-20 16:41 ToDarcy 阅读(353) 评论(0) 推荐(0)