• yaml语法检测

    #!/usr/bin/env rubyrequire 'yaml'def check_yaml_file(file_path) puts "🔍 检查YAML文件: #{file_path}" begin yaml = YAML.load_file(file_pat...

    javax.websocket.server.ServerContainer not available

    如果是undertow,移除undertow-websockets-jsr就可以...

    esxi ubuntu 根目录扩容

    增加根目录空间磁盘处理fdisk /dev/sda 依次输入 n->默认回车->默认回车->w查看磁盘fdisk -l格式化分区 /dev/sda4mkfs.ext4 /dev/sda4扩展目录vgextend ubuntu-vg /dev/sda4lvextend /dev/ub...

    Enabling Windows Long Path

    Exception calling "ExtractToDirectory" with "2" argument(s): "Could not find a part of the path githubactionOn performing the...

    自动检测并重启Nginx服务

    在Web服务器的维护过程中,保证关键服务如Nginx始终处于运行状态是至关重要的。本指南提供了一个自动化的方法,通过编写一个Shell脚本并结合Crontab来实现自动检测Nginx服务状态,并在服务停止运行时自动重启Nginx,同时执行重启前的必要操作。脚本内容#!/bin/bash# 检查ngi...

    curl查看请求耗时

    curl -so /dev/null https://bing.com -w 'time_namelookup: %{time_namelookup}\n time_connect: %{time_connect}\n time_appconnect: %{time_appconnect}\n...

    netdata安装&nginx设置密码访问

    https://learn.netdata.cloud/docs/installing/one-line-installer-for-all-linux-systems参见图片选择参数,生成安装链接安装完成之后访问http://127.0.0.1:19999就可以看到了nginx配置如下upstre...

    java smtp发送邮件

    <dependency> <groupId>javax.mail</groupId> <artifactId>javax.mail-api</artifactId> <version>1.6.2</ver...

    私有化部署bitwarden

    直接上docker-composeversion: '3'services: bitwarden: image: vaultwarden/server:latest container_name: bitwarden restart: unless-stopped volu...

    使用cf的workers作为chatgpt的代理

    const TELEGRAPH_URL = 'https://api.openai.com';addEventListener('fetch', event => { event.respondWith(handleRequest(event.request))})async functio...