Search This Blog

September 30, 2019

Aliases Created In Terminal Not Showing Up In Tmux

Issue

I create a few aliases in terminal like below:
alias k=kubectl
source <(kubectl completion bash)
And then I open a tmux session with command: tmux.

Now inside of tmux pane, when I try using the alias and expect the behaviour of source command run in terminal, it fails! :(

Why does this happen and how do I get it right?

The context is that I end up using multiple panes in tmux and I don't want to re-peat the same set of aliases creation again and again as I open every tmux pane. Possible?

Side Note: If you don't know this, it might be another cause for your stress during your CKA/CKAD exam.

Essential Tmux for CKAD or CKA Exam


If you are preparing for CKAD or CKA exam and are new to Tmux (Terminal Multiplexer), this post will help you know everything that is essential to being productive with Vim during your exam.

Tmux is a software that is used to launch and play around with multiple terminals, all visible in a single screen for better productivity. Give it a shot to see how you can get productive. But what do you need for it? Possibly just this video tutorial titled Basic Tmux Tutorial in youtube and then this post for reference.

September 26, 2019

Essential Vim For CKAD Or CKA Exam


If you are preparing for CKAD or CKA exam and are new to Vim/Vi, this post will help you know everything that is essential to being productive with Vim during your exam.

Vim has 3 modes as  depicted in picture below:
  • In Command Mode, you do things like navigating your cursor from one point to another in your text file, or delete text or replace text or select text or things like that. When you open Vim, you will be in this mode to begin with.
  • In Insert Mode, you insert text and delete text with [backspace] key :)
  • In Execution Mode, you do things like search text in file, set tab length, set line numbers in editor and stuff like that.

CKAD Exam Preparation Checklist


CKAD (Certified Kubernetes Application Developer) exam is really hard; harder than you think it can be. I made some terrible mistakes while taking the exam albeit I passed the exam in first attempt. But then, I don't want you to go through the pain and stress that I have been through which i think is totally unwarranted. This post is a collection of ideas and advises that I would vouch for based on my very own experience in taking the exam. So go through the checklist to check how prepared you are to take the examination.

August 26, 2019

What is so wrong with TDD?

This question was posted recently in Quora. I read other’s answers first and felt an itch to share my thoughts on it. Thereafter, I published it as a post in Hackernoon which caught a zillion eye-balls and heck a lot of readers time. 

This post is a re-production of that after a good couple of years now, for I think this is still relevant.

I hate TDD (aka Test Driven Development) and think there are a lot of things wrong with it. Only some of them off my mind are below.
copyright: codonomics