/images/alvinditya.png

Bash Script for Lazy People

What is Bash? Bash is a command processor that typically runs in a text window where the user types commands that cause actions. Bash can also read and execute commands from a file, called a shell script. Like most Unix shells, it supports filename globbing (wildcard matching), piping, here documents, command substitution, variables, and control structures for condition-testing and iteration. The keywords, syntax, dynamically scoped variables and other basic features of the language are all copied from sh.

My Docker Compose Collection

Basic command 1 2 docker-compose -f $FILENAME up -d docker-compose -f $FILENAME down -v Kafka CLI Download docker compose configuration using curl 1 curl -o kafka-cli.yaml https://raw.githubusercontent.com/piinalpin/docker-compose-collection/master/kafka-cli.yaml This yaml kafka-cli.yaml will create a new container zookeeper and exposed port 2181 on host port. Also create a new container kafka and exposed port 29092, 9092 and 9101 on host port. Redis By default there are 16 databases (indexed from 0 to 15) and you can navigate between them using select command.