Skip to content

Instantly share code, notes, and snippets.

View LIUHUANUCAS's full-sized avatar
🎯
Focusing

Huan Liu LIUHUANUCAS

🎯
Focusing
  • Disney+Hotstar
  • Beijing,China
View GitHub Profile
@LIUHUANUCAS
LIUHUANUCAS / revprox.go
Created January 28, 2021 09:39 — forked from thurt/revprox.go
Simple reverse proxy in Go (forked from original to use a struct instead of a closure)
package main
import(
"log"
"net/url"
"net/http"
"net/http/httputil"
)
func main() {

git的使用方法小结

1.git 创建本地分支

1.1 在本地创建分支

    git branch branch_name  //创建本地分支
    git checkout branch_name //切换分支
@LIUHUANUCAS
LIUHUANUCAS / curl.md
Created April 19, 2018 10:01 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.