SRE类别订阅
Code: 117. DB::Exception: Unknown field found while parsing JSONEachRow format: location: (at row 1)
最新的ClickHouse发布(v1.1.54023)支持input_format_skip_unk… 继续阅读 Code: 117. DB::Exception: Unknown field found while parsing JSONEachRow format: location: (at row 1)
tail head -1 view line of big text file
tail查看大文件具体某行 tail -n+53770 test.json|head -1
golang context limit runing time
for { ctx, _ := context.WithTimeout(context.Backgr… 继续阅读 golang context limit runing time
wget网站克隆
wget -r -p -np -k https://www,baidu.com
sqlite on wasm
https://sqlite.org/fiddle/
golang http pprof server
func HTTPProf() { //log.Infof("pprof listen a… 继续阅读 golang http pprof server
golang get set Environ
func TestEnv(t *testing.T) { // 1. 获取环境变量 fmt.Prin… 继续阅读 golang get set Environ
infini.sh/framework/core/util
"github.com/nixgnehc/infini-framework/core/ut… 继续阅读 infini.sh/framework/core/util
Rocky linux
https://rockylinux.org/download https://download.r… 继续阅读 Rocky linux
The node had condition: [DiskPressure].
原因是 kubelet 检测到本地磁盘使用率超过了 85% ,这是 kubelet 的默认配置 do… 继续阅读 The node had condition: [DiskPressure].
deploy redisinsight gui tool on kubernetes
apiVersion: v1 kind: Service metadata: name: redis… 继续阅读 deploy redisinsight gui tool on kubernetes
golang readline by line
func getLine(file *os.File) { // 按行读取 br := bufio.… 继续阅读 golang readline by line
casaos home system
casaos 一个基于 Golang 开发的优雅的开源家庭云系统 # https://github.… 继续阅读 casaos home system
view ssh log on ubuntu
#centos /var/log/secure #ubuntu /var/log/auth.log
online regex tool and code gen
在线正则表达式校验和代码生成工具 https://regex101.com/
cmd/go: unsupported GOOS/GOARCH pair linux /amd64
set GOOS=linux这个操作的linux后面带了空格
curl get only http_status code
curl获取状态码 curl -o /dev/null -s -w %{http_code} 127… 继续阅读 curl get only http_status code
nohup remin 1000 lines
nohup保留10000条 rem=`tail -n 10000 nohup.out`; echo … 继续阅读 nohup remin 1000 lines
java DecimalFormat 保留4位小数
java DecimalFormat 保留4位小数 //计算每个name的平均cost Map<… 继续阅读 java DecimalFormat 保留4位小数