Helper setup to edit .yaml files with Vim:
List of general purpose commands for Kubernetes management:
| ############################################################################ | |
| # # | |
| # ------- Useful Docker Aliases -------- # | |
| # # | |
| # # Installation : # | |
| # copy/paste these lines into your .bashrc or .zshrc file or just # | |
| # type the following in your current shell to try it out: # | |
| # wget -O - https://gist.githubusercontent.com/jgrodziski/9ed4a17709baad10dbcd4530b60dfcbb/raw/d84ef1741c59e7ab07fb055a70df1830584c6c18/docker-aliases.sh | bash | |
| # # | |
| # # Usage: # |
| package main | |
| import ( | |
| "fmt" | |
| "hova.dzia.poliev.ka/slice" | |
| ) | |
| func main() { | |
| x := slice.Unordered{1, 2, 3} |
| package main | |
| import ( | |
| "bytes" | |
| "fmt" | |
| "io" | |
| "log" | |
| "net/http" | |
| "time" | |
| ) |
Helper setup to edit .yaml files with Vim:
List of general purpose commands for Kubernetes management:
| version: '3.8' | |
| services: | |
| pgmaster: | |
| image: bitnami/postgresql:latest | |
| ports: | |
| - 5432 | |
| volumes: | |
| - pgmaster_data:/bitnami/postgresql |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "os" | |
| "os/exec" | |
| "time" | |
| "golang.org/x/sync/errgroup" |