Skip to content

Instantly share code, notes, and snippets.

View dineshgowda24's full-sized avatar
🎯
Focusing

Dinesh Gowda dineshgowda24

🎯
Focusing
View GitHub Profile
@dineshgowda24
dineshgowda24 / alamin.zsh-theme
Created September 3, 2021 02:55 — forked from proxyserver2023/alamin.zsh-theme
oh my zsh theme showing docker icon
MODE_INDICATOR="%{$fg_bold[red]%}❮%{$reset_color%}%{$fg[red]%}❮❮%{$reset_color%}"
local return_status="%{$fg[red]%}%(?..⏎)%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_PREFIX="|"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_bold[red]%}⚡%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_AHEAD="%{$fg_bold[red]%}!%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[green]%}✓%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[green]%} ✚"
@dineshgowda24
dineshgowda24 / set-dbeaver-timezone-to-UTC.txt
Created June 12, 2021 08:01 — forked from chetanppatil/set-dbeaver-timezone-to-UTC.md
Set dbeaver timezone to UTC (default timezone)
/* -------------- FOR LINUX USERS ---------------- */
1) Go to directory: "/usr/share/dbeaver"
2) Edit "dbeaver.ini" file
3) In that file add "-Duser.timezone=UTC" this line under "-vmargs" tag
4) Save it and restart dbeaver.
5) Enjoy with correct date without any date conversion.
Finally your dbeaver.ini file will look like this:
-startup
zookeeper-server-start config/zookeeper.properties
kafka-server-start config/server.properties
kafka-console-consumer --bootstrap-server localhost:9092 --topic <topicid> --group <groupid>
kafka-console-producer --bootstrap-server localhost:9092 --topic <topicid>
kafka-topics --bootstrap-server localhost:9092 --topic <topicid> --describe
kafka-console-consumer --bootstrap-server localhost:9092 --topic <topicid> --from-beginning
kafka-topics --bootstrap-server localhost:9092 --list
@dineshgowda24
dineshgowda24 / mac-setup-redis.md
Created December 3, 2020 18:38 — forked from tomysmile/mac-setup-redis.md
Brew install Redis on Mac

type below:

brew update
brew install redis

To have launchd start redis now and restart at login:

brew services start redis

Install RabbitMQ on Ubuntu 16.04

Install Erlang

wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
sudo apt-get update -y
sudo apt-get install -y erlang erlang-nox