Skip to content

Instantly share code, notes, and snippets.

View michaljemala's full-sized avatar
🕵️‍♂️
Looking for a passionate engineering team lead

Michal Jemala michaljemala

🕵️‍♂️
Looking for a passionate engineering team lead
  • Bratislava, Slovakia
View GitHub Profile
@michaljemala
michaljemala / docker-aliases.sh
Created September 5, 2019 08:00 — forked from jgrodziski/docker-aliases.sh
Useful Docker Aliases
############################################################################
# #
# ------- 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}
@michaljemala
michaljemala / slow_client.go
Created September 12, 2019 08:03
A slow HTTP client
package main
import (
"bytes"
"fmt"
"io"
"log"
"net/http"
"time"
)
@michaljemala
michaljemala / kubernetes_commands.md
Created September 14, 2019 22:29 — forked from edsiper/kubernetes_commands.md
Kubernetes Useful Commands
@michaljemala
michaljemala / pgpool.yaml
Created August 14, 2020 13:47
Postgres cluster with streaming replication and pgpool
version: '3.8'
services:
pgmaster:
image: bitnami/postgresql:latest
ports:
- 5432
volumes:
- pgmaster_data:/bitnami/postgresql
@michaljemala
michaljemala / todo-tester.go
Created September 7, 2020 12:43
Zero-downtime deployment tester
package main
import (
"fmt"
"log"
"os"
"os/exec"
"time"
"golang.org/x/sync/errgroup"