Skip to content

Instantly share code, notes, and snippets.

Leafney leafney

Block or report user

Report or block leafney

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
leafney /
Last active Oct 13, 2019
Get k8s/k3s token and ca.crt from ServiceAccount
set -e
set -o pipefail
if [[ -z "$1" ]] || [[ -z "$2" ]]; then
echo "usage: $0 <service_account_name> <namespace>"
exit 1
leafney / staticproxy.go
Last active Jun 14, 2017
View staticproxy.go
package main
* [Mocking a HTTP access with http.Transport in Golang - oinume journal](
* [Go http访问使用代理](
* [GO HTTP client客户端使用 - 海运的博客](
* [Making Tor HTTP Requests with Go | DevDungeon](
leafney / footer.tmpl
Created Mar 27, 2017
Docker Gogs custom files
View footer.tmpl
You can’t perform that action at this time.