上一页 1 2 3 4 5 6 ··· 39 下一页
摘要: #!/bin/bash # 脚本版本号 SCRIPT_VERSION="1.1.4" # 日志函数 log() { local LEVEL="$1" local MESSAGE="$2" local TIMESTAMP=$(date +"%Y-%m-%d %H:%M:%S") echo "[$TIM 阅读全文
posted @ 2025-08-12 18:06 Nihaorz 阅读(9) 评论(0) 推荐(0)
摘要: 一、基于 labelme 的图片数据集标记 二、labelme 数据集转 yolo 数据集 三、yolo v11 模型训练 四、yolo v11 模型推理测试 生产工具:labelmehttps://github.com/wkentaro/labelmeLabelme2YOLOhttps://git 阅读全文
posted @ 2025-06-27 10:21 Nihaorz 阅读(323) 评论(0) 推荐(0)
摘要: nginx 配置 server { listen 9020; server_name localhost; # 添加调试响应头(显示实际传递的 tk 参数) # add_header X-Debug-Args $args always; set $tk "xxxxxx"; location / { 阅读全文
posted @ 2025-06-09 19:46 Nihaorz 阅读(89) 评论(0) 推荐(0)
摘要: body { counter-reset: h1; } h1 { counter-reset: h2; } h2 { counter-reset: h3; } h3 { counter-reset: h4; } h4 { counter-reset: h5; } h5 { counter-reset 阅读全文
posted @ 2025-04-11 12:58 Nihaorz 阅读(6) 评论(0) 推荐(0)
摘要: 数据库数据量统计 PostgreSQL 统计 统计存储空间 查询: -- PostgreSQL 统计数据库表占用的磁盘空间 SELECT table_name, pg_total_relation_size (table_name) AS total_size FROM information_sc 阅读全文
posted @ 2025-03-06 17:25 Nihaorz 阅读(58) 评论(0) 推荐(0)
摘要: docker-compose.yml services: mysql: image: mysql:5.7 container_name: mysql volumes: - ./data:/var/lib/mysql command: --lower_case_table_names=1 enviro 阅读全文
posted @ 2024-11-13 21:06 Nihaorz 阅读(34) 评论(0) 推荐(0)
摘要: 修改 /etc/init.d/dockerd 使用 procd_set_param env 设置环境变量 原脚本: start_service() { local nofile=$(cat /proc/sys/fs/nr_open) process_config procd_open_instanc 阅读全文
posted @ 2024-11-12 14:23 Nihaorz 阅读(752) 评论(0) 推荐(0)
摘要: Dockerfile: FROM eclipse-temurin:8-jre as builder WORKDIR application ARG JAR_FILE=target/*.jar COPY ${JAR_FILE} application.jar RUN java -Djarmode=la 阅读全文
posted @ 2024-10-18 16:02 Nihaorz 阅读(120) 评论(0) 推荐(0)
摘要: headscale 安装参考:https://www.cnblogs.com/nihaorz/p/18455027 tailscale 安装 cd /var/lib/ curl -OL https://pkgs.tailscale.com/stable/tailscale_1.74.1_arm64. 阅读全文
posted @ 2024-10-09 20:32 Nihaorz 阅读(1488) 评论(0) 推荐(0)
摘要: docker-compose.yml services: headscale: image: headscale/headscale:v0.23.0 container_name: headscale volumes: - /etc/uhttpd.crt:/etc/uhttpd.crt - /etc 阅读全文
posted @ 2024-10-09 20:02 Nihaorz 阅读(802) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 39 下一页