Posts

Showing posts with the label dev

Updating wazuh manager password in kubernetes

Image
  Updating wazuh manager password in kubernetes Updated as of 2025-11-06 After scouring the internet (where even the LLM was giving me wrong answers), I had to scour for information scattered across gitub issues and various blog posts. All of them were slightly wrong so I want to document my steps on updating the wazuh dashboard admin password for a kubernetes deployment of wazuh. Here is how I did it. The guide assumes the  wazuh-kubernetes  repository was used to deploy the cluster. Step 1 - Generate the password hash Shell into wazuh-indexer pod kubectl exec -it -n wazuh pod/wazuh-indexer-0 -- bash Generate password (the output will be a hash. Remember this!): export JAVA_HOME=/usr/share/wazuh-indexer/jdk bash /usr/share/wazuh-indexer/plugins/opensearch-security/tools/hash.sh < type your password > < PW_HASH > Step 2 - Base64 encode your password Outside of the indexer pod, base64 encode your password. We will need both later. echo -n < new_password...

So I started using neovim, and why it isn't for me

Image
So I started using Neovim-- So recently, I started getting into Neovim after being convinced by some people, watching more of "theprimeagen" and seeing how cool it could be. I still vividly remember that one time I saw a co-worker navigate through scripts with only his keyboard and thought to myself -- "wow if only I could do that". My relationship with Vim has been, more or less to say, hot & cold. I started using vim back in 2018 on my first job. Installing Nerdtree, learning the hjkl  commands, learning the different shortcuts that could be done in vim. However, quickly I realized that my productivity with Vim went down way too much to be useful so I went back to VSCode shortly after. Ever since then, I'd use vim only to quickly edit files in the terminal, but never as my main editor. Fast forward to today, I decided to give vim another try. This time, with Neovim. I went fully into the Neovim universe -- installing lazy, plugins, themes, LSP, you name it...