Skip to content

Instantly share code, notes, and snippets.

View zackzhangkai's full-sized avatar
🏠
Working from home

zackzhangkai zackzhangkai

🏠
Working from home
View GitHub Profile
@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active March 10, 2025 09:42
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized
@yougg
yougg / proxy.md
Last active March 4, 2025 15:42
complete ways to set http/socks/ssh proxy environment variables

set http or socks proxy environment variables

# set http proxy
export http_proxy=http://PROXYHOST:PROXYPORT

# set http proxy with user and password
export http_proxy=http://USERNAME:PASSWORD@PROXYHOST:PROXYPORT

# set http proxy with user and password (with special characters)
@yowu
yowu / HttpProxy.go
Last active March 1, 2025 20:58
A simple HTTP proxy by Golang
package main
import (
"flag"
"io"
"log"
"net"
"net/http"
"strings"
)