This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//go:generate go env -w CGO_ENABLED=0 GOPROXY="https://goproxy.cn|https://goproxy.io|direct" | |
//go:generate rm go.* | |
//go:generate go mod init kafka.topic | |
//go:generate go mod tidy | |
//go:generate go build -trimpath -buildmode pie -installsuffix netgo -tags "osusergo netgo static_build" -ldflags "-s -w -extldflags '-static'" ${GOFILE} | |
package main | |
import ( | |
"flag" | |
"fmt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//go:generate go build -trimpath -buildmode pie -installsuffix netgo -tags "osusergo netgo static_build" -ldflags "-s -w -extldflags '-static'" -o monitor ${GOFILE} | |
package main | |
import ( | |
"bytes" | |
"flag" | |
"fmt" | |
"io/ioutil" | |
"os" | |
"os/exec" |
-
登陆自己的QQ空间 https://qzone.qq.com/
-
进入个人档,点击
修改
基本资料 -
在昵称处填入一个到多个Unicode空格
-
点击最下方的
保存
按钮,此时会弹框提示很抱歉,昵称不能全为空,请重新输入
- 按Chrome
F12
或者Ctrl+Shift+I
快捷键打开开发者工具
窗口
- 按Chrome
- 进入
Network
标签页,先点击Clear清理一下之前的请求记录
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dump | |
import ( | |
"fmt" | |
"os" | |
"os/signal" | |
"runtime" | |
"syscall" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// +build windows | |
//go:generate go build -ldflags "-s -w -extldflags '-static'" $GOFILE | |
package main | |
import ( | |
"fmt" | |
"syscall" | |
"unsafe" | |
) |
NewerOlder