Skip to content

Instantly share code, notes, and snippets.

View zzell's full-sized avatar
🚀

Roman Sukhodolskyi zzell

🚀
View GitHub Profile
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
(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)
@zzell
zzell / .vimrc
Created September 14, 2018 10:58
lightweight vim config
" _
" __ _(_)_ __ ___ _ __ ___
" \ \ / / | `_ ` _ \| '__/ __|
" \ V /| | | | | | | | | (__
" \_/ |_|_| |_| |_|_| \___|
" important --------------------------------------------------------------------
set nocompatible "turn off Vi compatibility
set pastetoggle=<F2>