This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
# Start: | |
# docker-compose up -d | |
# docker exec -it platform-tasking-service_kafka_1 bash | |
# unset JMX_PORT | |
# bin/kafka-topics.sh --create --zookeeper zookeeper --replication-factor 1 --partitions 1 --topic test | |
# | |
# Produce: | |
# bin/kafka-console-producer.sh --broker-list localhost:9092 --topic test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq go-packages-function 'custom/go-packages-function) | |
(add-hook 'go-mode-hook `(lambda () (custom/go-refresh-packages t))) | |
(defvar custom/go-packages-cache (list)) | |
(defun custom/go-packages-function () | |
"Return packages list for 'go-packages-function'." | |
custom/go-packages-cache) | |
(defun custom/go-refresh-packages (i) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" _ | |
" __ _(_)_ __ ___ _ __ ___ | |
" \ \ / / | `_ ` _ \| '__/ __| | |
" \ V /| | | | | | | | | (__ | |
" \_/ |_|_| |_| |_|_| \___| | |
" important -------------------------------------------------------------------- | |
set nocompatible "turn off Vi compatibility | |
set pastetoggle=<F2> |