golang http get
func HTTPGet(url string) []byte { method := "… 继续阅读 golang http get
func HTTPGet(url string) []byte { method := "… 继续阅读 golang http get
func CMDBool(name string, arg []string) bool { cmd… 继续阅读 golang exec Command
func handleTencent(w http.ResponseWriter, r *http.… 继续阅读 golang http handle ignore /favicon.ico
func TestGetFileInfo(tt *testing.T) { info, err :=… 继续阅读 golang os.Stat get file info
func GetRealIP(r *http.Request) (string, error) { … 继续阅读 golang获取请求ip
export IP=123.123.123.123 export PORT=30002 curl -… 继续阅读 zadig quick install
编辑/etc/sysctl.conf追加: #表示同一用户同时可以添加的watch数目(watch一… 继续阅读 tail: inotify cannot be used, reverting to polling: Too many open files
centos挂webdav出现这个问题 df -h看不到挂载点 mount -l可以看到 能读写成功
#备份 ETCDCTL_API=3 etcdctl –endpoints="https:… 继续阅读 etcd备份 还原
#假设my_index索引一直存在 select * from my_table force ind… 继续阅读 mysql强制使用索引
if ($http_user_agent ~* "qihoobot|Baiduspider… 继续阅读 Nginx防蜘蛛爬虫处理
apt-get install davfs2 -y mkdir -p /aliyundrive ch… 继续阅读 ubuntu mount webdav
docker run -d –restart=always -v /etc/alist:/opt/… 继续阅读 docker run alist netdsk webdav tool
yum install gcc -y #安装C依赖 wget http://download.red… 继续阅读 build redis on centos
#运行当前目录及所有子目录下的测试用例 go test ./… #运行指定目录及所有子目录下的测… 继续阅读 golang test测试范围
Deployment apiVersion: apps/v1 kind: Deployment me… 继续阅读 arm部署 azure-sql-edge sql server 兼容数据库
sql server目前不支持m1(arm64)
报错信息: 2022-07-20 07:44:44.026+0000 [id=84] WARNING… 继续阅读 error 出现一个错误无法连接到Jenkins
func TestRuneType(tt *testing.T) { var str = "… 继续阅读 golang rune type
#reuntime/debug #GOGC可以通过GOGC环境变量(所有Go语言程序都能识别)或者r… 继续阅读 golang setup gogc