string2bytes bytes2string in go with unsafe.Pointer
func string2bytes(s string) []byte { return *(*[]b… 继续阅读 string2bytes bytes2string in go with unsafe.Pointer
func string2bytes(s string) []byte { return *(*[]b… 继续阅读 string2bytes bytes2string in go with unsafe.Pointer
:%!xxd
import ( "github.com/go-vgo/robotgo" ) f… 继续阅读 golang simulator keyborad keys
func binarySearch(arr []int, target int) int { if … 继续阅读 golang binary Search
func main() { goodJSON := `{"key1": 1}` … 继续阅读 golang json valid
使用esm迁移备份elasticsearch usage: esm -s http://10.154… 继续阅读 esm migration elasticsearch
最新的ClickHouse发布(v1.1.54023)支持input_format_skip_unk… 继续阅读 Code: 117. DB::Exception: Unknown field found while parsing JSONEachRow format: location: (at row 1)
tail查看大文件具体某行 tail -n+53770 test.json|head -1
for { ctx, _ := context.WithTimeout(context.Backgr… 继续阅读 golang context limit runing time
wget -r -p -np -k https://www,baidu.com
https://sqlite.org/fiddle/
func HTTPProf() { //log.Infof("pprof listen a… 继续阅读 golang http pprof server
func TestEnv(t *testing.T) { // 1. 获取环境变量 fmt.Prin… 继续阅读 golang get set Environ
"github.com/nixgnehc/infini-framework/core/ut… 继续阅读 infini.sh/framework/core/util
https://rockylinux.org/download https://download.r… 继续阅读 Rocky linux
原因是 kubelet 检测到本地磁盘使用率超过了 85% ,这是 kubelet 的默认配置 do… 继续阅读 The node had condition: [DiskPressure].