Skip to content

Instantly share code, notes, and snippets.

Kubernetes 🤘

Martín Cigorraga cig0

Kubernetes 🤘
  • GlobalLogic
  • Mar del Plata
Block or report user

Report or block cig0

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
cig0 / pre-push
Created Sep 10, 2019 — forked from kalpeshsingh/pre-push
A pre-push git hook that notify Amazon Chime group
View pre-push
branch="$(git rev-parse --abbrev-ref HEAD)"
# get computer name to append in Chime message
# a branch name where you want to prevent git push. In this case, it's "master"
if [ "$branch" = "master" ]; then
echo "You can't commit directly to '"${branch}"' branch" # webstorm or intellij will show this as popup
cig0 / VS Code Remore-Containers Extension Dockerfile
Last active Aug 4, 2019
Hacky but nice way to bypass COPY fail error
View VS Code Remore-Containers Extension Dockerfile
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See for license information.
FROM python:3
# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
cig0 / gist:449f5be8d4463536d9392a635d5ed940
Created Jul 14, 2019
Verifying my Blockstack ID is secured with the address 1NbURzVnD9piS4n8TGQ55USkrwberR2hgu
View gist:449f5be8d4463536d9392a635d5ed940
Verifying my Blockstack ID is secured with the address 1NbURzVnD9piS4n8TGQ55USkrwberR2hgu
cig0 /
Created Apr 27, 2019
Example tokens

Example tokens:


cig0 /
Created Apr 25, 2019 — forked from g0t4/
Starting Point Files for Jenkins2 Getting Started course
cig0 / .gitignore
Created Apr 16, 2019
[ git ] .gitignore
View .gitignore
# Compiled source #
# Packages #
cig0 / Update
Last active Apr 16, 2019
[ cheatsheet ] Git
View Update


1. Clone your fork:

git clone

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://
cig0 /
Last active Sep 11, 2019
Docker #docker

Docker cheatsheet

Command Description
Ctrl-p + Ctrl-q Disconnects from current interactive container
docker ps Lists the current running containers
docker images Lists available containers
docker stop Stops the specified container
docker port Lists the ports exposed on the specified container
docker network inspect Displays the net information for the specified container
View Install & Configure
cig0 / benchmark-commands.txt
Created Jan 13, 2019 — forked from zodvik/benchmark-commands.txt
Kafka (1.0.0) Benchmark Commands
View benchmark-commands.txt
bin/ --zookeeper localhost:2181/kafka-local --create --topic test-rep-one --partitions 6 --replication-factor 1
bin/ --zookeeper localhost:2181/kafka-local --create --topic test-rep-two --partitions 6 --replication-factor 3
Single thread, no replication
bin/ --print-metrics --topic test-rep-one --num-records 6000000 --throughput 100000 --record-size 100 --producer-props bootstrap.servers=kafka_host:9092 buffer.memory=67108864 batch.size=8196
Single-thread, async 3x replication
You can’t perform that action at this time.