上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 57 下一页
摘要: Golang中的信号处理 chanel := make(chan os.Signal) // SIGKILL 无法捕获 ! signal.Notify(chanel, syscall.SIGINT, syscall.SIGTERM, syscall.SIGKILL) s := <-chanel lo 阅读全文
posted @ 2020-12-17 14:45 whmmm 阅读(478) 评论(0) 推荐(0)
摘要: https://www.jetbrains.com/go/download https://download.jetbrains.com/go/ 阅读全文
posted @ 2020-11-24 14:26 whmmm 阅读(423) 评论(0) 推荐(0)
摘要: 注册表 Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\Background\shell\mingw64] @="open with mingw64" "Icon"="C:\\msys64\\mingw64.ico" 阅读全文
posted @ 2020-11-22 22:03 whmmm 阅读(223) 评论(0) 推荐(0)
摘要: # 匹配 ddl 中 不包含 注释的字段 ^((?!(COMMENT|CREATE TABLE|PRIMARY KEY)).)*`[A-Za-z_]+`((?!COMMENT|CREATE TABLE|PRIMARY KEY).)*$ # 匹配 注释中 包含 英文分号 COMMENT '.*;.*' 阅读全文
posted @ 2020-11-16 11:29 whmmm 阅读(3895) 评论(0) 推荐(0)
摘要: 第一步: 打开 : https://mirror.tuna.tsinghua.edu.cn/help/msys2/ 下载 mysy2.zip 并且 按步骤 配置 好 镜像 第二步: 打开 mingw64.exe , 首先安装 密钥, 否则 可能有问题 (错误:mingw32: 密钥 "******* 阅读全文
posted @ 2020-11-05 10:08 whmmm 阅读(1681) 评论(0) 推荐(0)
摘要: 原文地址:https://aofei.org/posts/2017-03-20-toml TOML 语法规范 2017-03-20 16:45:58 TOML 全称:Tom’s Obvious, Minimal Language 作者:Tom Preston-Werner 最新版本:v0.4.0 注 阅读全文
posted @ 2020-11-05 08:34 whmmm 阅读(1570) 评论(0) 推荐(1)
摘要: golang 加密解密 golang 加密解密 package main import ( "bytes" "crypto/aes" "crypto/cipher" "encoding/base64" "errors" "fmt" ) //高级加密标准(Adevanced Encryption St 阅读全文
posted @ 2020-10-29 11:10 whmmm 阅读(2478) 评论(0) 推荐(0)
摘要: # cmd 执行 下面的代码 go env -w GO111MODULE=on go env -w GOPROXY=https://goproxy.cn,direct # 不代理的网址 设置GOPRIVATE来跳过私有库,比如常用的Gitlab或Gitee,中间使用逗号分隔: go env -w G 阅读全文
posted @ 2020-09-15 10:40 whmmm 阅读(284) 评论(0) 推荐(0)
摘要: Go语言json编码驼峰转下划线、下划线转驼峰 目录 一、需求 二、实现 三、使用 JsonSnakeCase统一转下划线json JsonCamelCase统一转驼峰json 一、需求 golang默认的结构体json转码出来,都是根据字段名生成的大写驼峰格式,但是一般我们最常用的json格式是小 阅读全文
posted @ 2020-08-31 17:44 whmmm 阅读(893) 评论(0) 推荐(0)
摘要: 本文描述Tomcat启动因为 Creation of SecureRandom instance for session ID generation using [SHA1PRNG] 卡住的问题,以及解决办法 注:我的独立博客对应链接:Tomcat启动Creation of SecureRandom 阅读全文
posted @ 2020-08-04 11:50 whmmm 阅读(2267) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 57 下一页
//增加一段JS脚本,为目录生成使用