配置转发https忽略证书 1 2 3 4 5 6 7 8 9 10 11 # k3s server 新增文件 # /var/lib/rancher/k3s/server/manifests/traefik-config.yaml apiVersion: helm.cattle.io/v1 kind: HelmChartConfig metadata: name: traefik namespace: kube-system spec: valuesContent: |- additionalArguments: - "--serversTransport.insecureSkipVerify=true"
合并两个有序数组 给你两个按 非递减顺序 排列的整数数组 nums1 和 nums2,另有两个整数 m 和 n ,分别表示 nums1 和 nums2 中的元素数目。 请你 合并 nums2 到 nums1 中,使合并后
命令 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 # clone项目并拉取子模块代码 git clone --recurse-submodules [git url] # 初始化子模块并将其添加到本地仓库的配置文件中 git submodule init # 用于
ngx-fancyindex 项目 可以就是美化nginx文件列表的模块。 FancyIndex 模块可以生成文件列表,就像内置的自动索引 模块一样,但增加了一些风格。这是可能的,因为该模块允许
基础命令 1 2 3 4 5 6 7 8 # 磁盘转换 qemu-img convert -O qcow2 lede.img lede.qcow2 qemu-img check lede.qcow2 # 导入硬盘到虚拟机 qm importdisk 101 lede.qcow2 local-lvm --format=qcow2 # 备份恢复 qmrestore vzdump-qemu-101-2022_08_08-18_58_15.vma.zst 101 --storage local-lvm
编译教程 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 # 克隆 git clone -b openwrt-23.05 --depth=1 https://github.com/openwrt/openwrt.git cd openwrt # 添加三方库 git submodule add -f --name helloworld https://github.com/fw876/helloworld.git package/helloworld git submodule update --remote package/helloworld # 更新 安装feeds ./scripts/feeds update -a ./scripts/feeds install -a # 编