Linux 使用 shell
#支持的 Shell 种类 [root@node01 ~]# cat /etc/shells /bi… 继续阅读 Linux 使用 shell
#支持的 Shell 种类 [root@node01 ~]# cat /etc/shells /bi… 继续阅读 Linux 使用 shell
docker run –rm -d -p 8080:8000/tcp ghcr.io/opensu… 继续阅读 docker run opensumi编辑器
//时间比对 本次循环为60s now := time.Now() time0900 := time… 继续阅读 golang 时间比较
func TestTime(tt *testing.T) { timeNow := time.Now… 继续阅读 golang获取昨天日期
https://dotnet.microsoft.com/zh-cn/download/dotnet… 继续阅读 .NET Desktop 6.0.2 下载
https://playground.flamegraph.com/playground
gofmt -w -r ‘interface{} -> any’ ./…
//1.18以前 func TestMyCut(tt *testing.T) { url := “1… 继续阅读 golang 1.18 字符串截取 strings.Cut
#https://go.dev/dl/ mv /usr/local/go /usr/local/go… 继续阅读 go 1.18rc1 install
func SetHttpProxy() (httpclient http.Client) { Pro… 继续阅读 golang http client 配置连接池
import ( “fmt” “github.com/miguelmota/go-ethereum-… 继续阅读 golang 创建bip39地址
func VerifyMail(mail string) bool { pattern := `^[… 继续阅读 go 校验邮件地址有效性
func VerifyPhone(phone string) bool { regular := “… 继续阅读 go 校验手机号有效性
func VerifyCert(identityCard string) bool { switch… 继续阅读 go 校验身份证号格式
func (a *ShortUrlController) QueryUrlLong(c *gin.C… 继续阅读 gin Redirect 301 重定向
func VerifyUrl(url string) bool { reg_url := regex… 继续阅读 go 校验网址格式是否合法
SELECT @@VERSION SELECT cast(SERVERPROPERTY(‘produ… 继续阅读 sql server查看版本号
Error 3154 在 选项中勾上覆盖现有数据库“”
更改/etc/snmp/snmpd.conf com2sec notConfigUser defau… 继续阅读 linux snmp更改团体名
location = /favicon.ico { log_not_found off; # log… 继续阅读 nginx忽略/favicon.ico日志