Skip to content

Instantly share code, notes, and snippets.

View crunch013's full-sized avatar

Danilo Perassoli de Souza crunch013

  • Campinas, Brasil
View GitHub Profile
@crunch013
crunch013 / uuid_gen.sh
Created January 29, 2019 19:03
Generate UUID, remove line breaks and copy to clipboard
#!/bin/sh
# Generate UUID, remove line breaks and copy to clipboard
uuidgen | tr -d '\n' | xsel -b
@crunch013
crunch013 / 001.kafka-cli__topics.sh
Created June 12, 2019 01:47
Kafka CLI basic commands
#!/bin/zsh
# List topics
kafka-topics.sh \
--zookeeper 127.0.0.1:2181 \
--list
# Create topic
kafka-topics.sh \