11 2023 档案
摘要:依赖 implementation("org.ufoss.kotysa:kotysa-spring-jdbc:3.2.1") implementation("org.springframework.data:spring-data-jdbc") implementation("com.alibaba
阅读全文
摘要:mold mold目前不支持windows 在 Linux 上,实际上非常容易使用,只需安装 Mold,然后在 cargo 命令前加上 mold -run 。例如, mold -run cargo build 。也可以在 .cargo/config.toml 中启用,就像这样: [target.x8
阅读全文
摘要:go mod tidy出现报错 dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:46622->[::1]:53: read: connection refused 解决方案 编辑/etc/resolv.conf,添加如下内容
阅读全文
摘要:启动容器时添加--net host参数即可 podman run -d -p 80:80 --rm --network=host --name nginx nginx 如果有防火墙可以尝试放行端口 # 放行 ufw allow 80 # 关闭 ufw deny 80
阅读全文
摘要:安装 /bin/bash -c "$(curl -sL https://gitee.com/nanakura/apt-fast-mirror/raw/main/install.sh)" 使用 sudo apt-fast install git build-essential gdb-multiarc
阅读全文
摘要:gin package main import ( "flag" "fmt" "github.com/gin-gonic/gin" "github.com/valyala/fasthttp/reuseport" "log" "net" "net/http" "os" "os/exec" "runti
阅读全文