查看当前nginx生效的配置文件
nginx -T
nginx -T
ipv6状态测试:https://test-ipv6.com ipv6速度测试:http://tes… 继续阅读 中科大 ipv6速度测试
// 标记 var initialized uint32 var lock sync.Mutex f… 继续阅读 sync/atomic 互斥锁
udisksctl mount -b /dev/sdb1 udisksctl unmount -b … 继续阅读 udisksctl使用usb设备
setcap cap_net_bind_service=+eip ./nginx su user1 … 继续阅读 普通用户启动nginx 使用80端口
func TestScanInt(t *testing.T) { var ( str = "… 继续阅读 golang fmt.Sscanf 取字符串中格式化值
integer expression expected then前面空格 if [ $? -eq 0… 继续阅读 integer expression expected
-Xint -XX:-BackgroundCompilation
func getLastDays(diff int) []string { now := time.… 继续阅读 golang diff from today
https://mholt.github.io/curl-to-go/
func HasRedisKey(key string) bool { counts, err :=… 继续阅读 golang redis Exists
error: cgo: C compiler "gcc" not found: … 继续阅读 cgo: C compiler “gcc” not found: exec: “gcc”: executable file not found in $PATH
error: # github.com/godror/godror ../go/pkg/mod/gi… 继续阅读 golang godror build error
golang进行逃逸分析 go run -gcflags="-m -l" mai… 继续阅读 golang escape use gcflags
fmt中的fmt.Println()是默认输出到stdout(standard output)的,而… 继续阅读 fmt.Println() and println() in golang
2022
https://colin-scott.github.io/personal_website/res… 继续阅读 latency level
getconf -a | grep CACHE
now: –mysql的最大连接数: show variables like '%max… 继续阅读 MySQL Error 1040: Too many connections