Skip to content

Instantly share code, notes, and snippets.

View 5idu's full-sized avatar
🎯
Focusing

5idu

🎯
Focusing
View GitHub Profile
@chanjarster
chanjarster / daye.go
Created August 3, 2020 05:58
极客时间大爷胡同口优化
// https://time.geekbang.org/column/article/126504
// 张大爷在胡同口等着 ...
// 碰见一个李大爷:127.0.0.1:59668
// 耗时: 40.354851ms
package main
import (
"bytes"
"encoding/binary"
@GusAntoniassi
GusAntoniassi / README.md
Last active September 30, 2024 07:03
Configure autocompletion to kubectl with zsh

kubectl with ZSH (oh-my-zsh)

How to configure

Use the following commands to add the kubectl autocomplete to zsh:

mkdir -p ~/.oh-my-zsh/custom/plugins/kubectl-autocomplete/
kubectl completion zsh > ~/.oh-my-zsh/custom/plugins/kubectl-autocomplete/kubectl-autocomplete.plugin.zsh