<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jayadeep KM on Medium]]></title>
        <description><![CDATA[Stories by Jayadeep KM on Medium]]></description>
        <link>https://medium.com/@jayadeepkm?source=rss-720cbaded1be------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*yVNO3pysatzJY22e1tfj-w.jpeg</url>
            <title>Stories by Jayadeep KM on Medium</title>
            <link>https://medium.com/@jayadeepkm?source=rss-720cbaded1be------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 13:14:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jayadeepkm/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to not forget your passwords?]]></title>
            <link>https://medium.com/@jayadeepkm/how-to-not-forget-your-passwords-15c56373bfdc?source=rss-720cbaded1be------2</link>
            <guid isPermaLink="false">https://medium.com/p/15c56373bfdc</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[passwords]]></category>
            <category><![CDATA[password-management]]></category>
            <dc:creator><![CDATA[Jayadeep KM]]></dc:creator>
            <pubDate>Wed, 04 Oct 2023 09:57:38 GMT</pubDate>
            <atom:updated>2023-10-04T09:57:38.594Z</atom:updated>
            <content:encoded><![CDATA[<p>Having a strong password is essential to secure your access to any digital service today. Gone are the days when you could use a password like “alice123” for all your accounts. Nowadays, most websites even impose restrictions on how strong your password should be. Are you the kind of person who keeps a notebook of passwords or one who frequently uses the “forgot password” feature? I used to be, until I learned my lesson when my account was hacked, and my private information was leaked online. Let’s discuss the most secure way to manage passwords.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5qpFMiSBY4Qu6Puh27D7Bw.jpeg" /></figure><h3>Use a Password Manager</h3><p>Using a password is the most crucial first step you need to take to protect yourself online. A password manager assists you in generating random, secure passwords for each website and stores them for you. You can access these passwords using a single master password. So, instead of trying to remember hundreds of passwords for different websites, you only need to remember one highly secure password.</p><p>One essential point to note is that most password managers employ a zero-knowledge architecture for storing your passwords. This means that your passwords are stored in a way that only allows access with your master password. No one else, not even the engineers of these password managers, can access your passwords without the master password. These password managers regularly undergo external security audits to ensure that proper security practices are being followed, so you can trust them. There are many detailed articles available if you’re interested in learning more about this topic: <a href="https://cybernews.com/best-password-managers/how-do-password-managers-work/">link</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yVBxnwjzFGV5vbiZIHV5kg.png" /><figcaption>Password generator in Bitwarden</figcaption></figure><p>There is a wide variety of password managers available, with a few examples being Bitwarden, LastPass, OnePass, and Dashlane. They offer various features such as auto-filling passwords, browser extensions, and mobile apps. The core features are more or less the same across all of them. My personal favorite is Bitwarden because it is open-source and includes all the features I need. I highly advise against using built-in password managers in browsers or operating systems (e.g., the “save password” option in Chrome). Most of these password managers also allow you to save credit card details, encrypted files, PIN numbers, secure notes, etc., and neatly organize them into multiple folders.</p><h3>Use PassKeys</h3><p>This is a relatively new technology in its early stages. Passkeys are a novel type of login credential that enable you to access websites and services without the need to enter a password. You can link a passkey-supported device, such as your mobile phone, MacBook, or a password manager, to a passkey-supported website. Then, whenever you need to log in to that website, you can utilize the passkey. These devices typically employ biometric authentication or QR code-based verification to complete the authentication process. Notably, there is no password involved at any stage of this process, making it highly secure.</p><p>As passkeys are still in their early stages of development, not many applications currently support them. Nonetheless, it is advisable to become familiar with this authentication method and configure websites that support passkeys to make use of it. You can read more about it <a href="https://www.tomsguide.com/news/what-are-passkeys">here</a></p><h3>Creating a secure password which you can remember</h3><p>Now that we’ve eliminated the need to remember most of our passwords, we still have to manage that one master password for our password manager. Let’s develop a strategy for creating a secure yet memorable master password.</p><p>If you’re confident in your ability to remember a complex, random password with 15 or more characters, that’s the ideal approach. However, for those seeking a more straightforward method, here’s one idea:</p><ol><li>Pick a random Sentence: <strong>Joe is a great actor</strong></li><li>Combine it and add some uppercase letters: J<strong>oeIsaGreatActor</strong></li><li>Mix a number or two: <strong>JoeIs1GreatActor</strong></li><li>Swap a couple of letters with symbols: <strong>JoeIs1Gre@tActor</strong></li></ol><p>Indeed, formulating a strategy like this can help you create a strong and secure password for your master password. It’s essential to strike a balance between complexity and memorability. A long password with a mix of uppercase letters, numbers, and symbols is generally a robust choice, and there’s no need to overcomplicate it further. The key is to ensure it’s unique and challenging for others to guess. There is a popular XKCD comic regarding this: <a href="https://xkcd.com/936/">https://xkcd.com/936/</a></p><h3>Secure number passwords</h3><p>Unfortunately there are certain PIN numbers that we really need to remember. For eg, Phone unlock code, SIM card PIN, Credit card PIN etc. Some of these are really essential to have in memory because you need to use them when you don’t have access to the password manager. Here is my strategy on how to remember them:</p><ol><li>Pick a phone number. Use your uncle’s or your old friend’s or someone you know a long time ago. Just don’t use obvious ones like your own number. It is better to use a number which doesn’t have any adjacent repetitions. eg: <strong>61296538769</strong></li><li>Now, pick out as many digits as you want from this phone number to create your pin numbers.<br>eg: <br>mobile pin : 61<strong>296538</strong>769 -&gt; 296538<br>sim pin : 612965<strong>3876</strong>9 -&gt; 3879</li><li>Don’t overdo it though! Also make sure to keep it stored in your password manager as a backup.</li></ol><p>Remember, while these strategies can help you remember your essential Passwords and PINs, never compromise on security. Choose unique and robust credentials, and avoid writing them down in easily accessible places. Balancing security and accessibility is key to safeguarding your digital identity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15c56373bfdc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Notes, Mindmap, and Todo — How I set up the perfect productivity trio using simple bash scripts]]></title>
            <link>https://medium.com/@jayadeepkm/notes-mindmap-and-todo-how-i-set-up-the-perfect-productivity-trio-using-simple-bash-scripts-5376ff750170?source=rss-720cbaded1be------2</link>
            <guid isPermaLink="false">https://medium.com/p/5376ff750170</guid>
            <category><![CDATA[notes]]></category>
            <category><![CDATA[scripting]]></category>
            <category><![CDATA[bash]]></category>
            <category><![CDATA[to-do-list]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Jayadeep KM]]></dc:creator>
            <pubDate>Sun, 22 Jan 2023 15:36:54 GMT</pubDate>
            <atom:updated>2023-01-22T15:36:54.344Z</atom:updated>
            <content:encoded><![CDATA[<h3>Notes, Mindmap, and Todo — How I set up the perfect productivity trio using simple bash scripts</h3><p>You may have used or heard of apps like Evernote, OneNote, Todoist, Google Keep, etc. There are countless apps out there for managing notes and to-do lists. I’ve spent more than half a decade jumping through these tools trying to find the right one that fits my needs. I’ll show you how I created a system tailored to my needs and how you can do the same. Say goodbye to cluttered notes and overwhelming to-do lists and hello to a newfound sense of organization and focus using notes, mindmap and todo.</p><p>First of all, what exactly are the three tools? Why do I need three separate tools when a note-taking app can do them all?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H3eA4_jlQJDeaSgpJ9IVGw.jpeg" /></figure><p>The answer is simple: how I use them is different. Let me explain:</p><h3>Notes</h3><p>A place to store notes for long term. This is more like a personal documentation and diary. I call this my “second brain.” Anything that I want to be free from my memory and want to be retrieved later goes here. For example:</p><ul><li>Work Diary: what I did each day at work (useful later for salary negotiation)</li><li>Learning notes: to take notes when taking online courses</li><li>Long-term plans: like a to-do list, but for very long-term (e.g. do AWS certification in 2023)</li><li>My projects</li><li>Bucket list</li><li>Travel details etc.</li></ul><p>Whenever I start working on a particular task, whether it’s a side project, hobby work, research task, office work, or anything else, I always keep a note ready for it. I take note of the date, important web links that are relevant for this project (I don’t have the habit of keeping 100s of tabs open in chrome. I store the links in a note and use them later if needed), useful scripts, steps I follow, etc. This is incredibly useful for the following reasons:</p><ol><li>Keeps me focused on one task. Multitasking is counter-productive and unhealthy for your brain.</li><li>This note can be converted to documentation, slides, or PR comment as required.</li><li>I can pause the task and come back days later with the confidence that I have everything I need to restart the work where I stopped.</li></ol><p>These notes have grown over the past few months to become a neatly organized workbook. I feel proud to look back at my past projects by seeing my hard work and achievements nicely organized into notes with every single detail.</p><blockquote>By the way, don’t store passwords or anything sensitive in these notes no matter where you store them.</blockquote><h3>Mindmap</h3><p>Mindmap is like a scratchpad. This is a place to store random unorganized notes that don’t need to be retrieved often.</p><p>For example:</p><ul><li>When I need a place to compose a lengthy email before sending it</li><li>When I need to prepare a lengthy pull request description</li><li>Random thoughts and ideas that I need to note down before I forget them. I usually move this to notes later if it’s relevant</li><li>Sometimes like a glorified clipboard to copy-paste multiple items</li><li>Scratchpad to keep track of links, short notes, IP addresses, or anything related to my current work item.</li></ul><p>I didn’t realize how important it is to have a mindmap system until I started using one. Are you the kind of person who fills your desktop with tons of sticky notes? Then you definitely need to set up a mindmap. A wise man once said, “The human brain is for having ideas but not for keeping them.” Mindmap is a place where you can dump your thoughts and free up your brain memory to accommodate better ideas.</p><p>Mindmap entries are sorted by date and they just have a title and date to identify them. There is no need for folders and subfolders to organize. The most important thing about the tool is that it should be easily accessible. If I have to go to a website, log in, and click around 10 buttons before I can create an entry, then it will not be useful. Eventually, I will become lazy to create new entries and the habit will die out. Ideally, the mindmap should be accessible within a few seconds on my laptop and phone.</p><h3>Todo list</h3><p>This one doesn’t need much explanation. Most people are fine with Google Keep, Todoist, or something simple to keep track of a to-do list. In my case, I tend to forget things easily and need to write down every single task in order to make sure that I do it on time. But the biggest challenge for me was that over time the to-do list grows quickly and I end up with a list of 100s of items. It was really hard to find the important item to focus on out of these gigantic lists (and it was also demotivating to look at them). Every single tool I used had the same problem. I tried to use Todoist and organize it by scheduling dates such that I only have 4–5 items per day to look at. Eventually, it became complex and unmanageable as well.</p><p>Then recently I heard about GTD (Getting Things Done) system. You can read more about GTD <a href="https://todoist.com/productivity-methods/getting-things-done">here</a>. To those who are too lazy to read the whole thing, here is a short summary of how it works (slightly different from the official definition based on my needs).</p><p>Basically, we classify the to-do items into multiple buckets:</p><ul><li><strong>Inbox</strong>: When we think about any new task, just add it here without worrying about tags, dates, etc.</li><li><strong>Todo</strong>: The next work item to focus on. Ideally, it should have less than 5–6 items that can be done in a day or so.</li><li><strong>Backlog</strong>: If you have multiple tasks to be done to complete one particular project, keep only the current task in ‘Todo’ and keep the rest here. Think of this as a secondary list.</li><li><strong>Standby</strong>: If one task is blocked on something, move it here. This classification is not really required for most people.</li><li><strong>Someday</strong>: If there is a task that you think has low priority and the plan is to do it sometime in the future, move it here.</li></ul><p>The most important thing here is that the list should be reviewed frequently and made sure the items are moved to the correct bucket. The frequency depends on how often you add/remove items. In my case, I review it every 2 days or so. When we do this properly, we will have a proper system to manage our important work items. We will always know what is the next thing to focus on by looking at the ‘Todo’ bucket. When reviewing the lists, keep in mind the following:</p><ul><li><strong>Inbox</strong> is just a temporary place. Everything in this list should be moved to the appropriate bucket with the correct tag/project/date etc. In my case, I assign a project name and priority to each task.</li><li><strong>Todo</strong> should only have actionable items. If they are blocked or if you think you cannot do it today, move it accordingly.</li><li>If a task is so short that it takes less than 5 mins to complete, don’t bother moving it around. Just<strong> DO IT NOW!</strong></li><li><strong>Someday</strong> tasks should be cleaned up regularly if something becomes irrelevant.</li></ul><p>It might seem complicated, but it was necessary to take the effort to come up with a proper system to organize my work. I also keep track of my personal to-do items (such as doing shopping, cleaning my room, etc.) in the same system and it has been really helpful so far to keep myself organized. Most importantly, it gave me peace of mind knowing that I have everything written down and I am not forgetting any important tasks.</p><h4>Coming up with scripts</h4><p>I have a public Github repository where I keep all the scripts I use: <a href="https://github.com/kmjayadeep/scripts">https://github.com/kmjayadeep/scripts</a><br>Feel free to take a look and steal what is useful for you</p><h3>Notes script</h3><p>There are a few requirements that are really important to me when it comes to notes script.</p><ul><li>It should be easy to use with just two or three commands</li><li>Store notes as markdown text files. No databases or binary files.</li><li>I should be able to access it using existing tools — a text editor, terminal, browser, etc. No fancy UI, electron, web app or anything like that</li><li>I should be able to version them in git and use git-crypt to encrypt it</li><li>Easy to backup periodically</li></ul><p>The result was a really simple ~80 lines script which you can find <a href="https://github.com/kmjayadeep/scripts/blob/master/notes">here</a>:</p><p>All it does is, use fzf to open a text file in a specific directory using $EDITOR (I configured it to be neovim). A couple of commands were added to convert to pdf, open in the browser etc., but I rarely use them. The folder can be committed to git as a backup. I used to have a crontab entry for doing this periodically, but later I switched to restic for backup. Since it uses a text editor to edit notes, I have all the familiar features like syntax highlighting, tree view, search, find file, etc. Those who prefer a dedicated editor instead of vim or vscode, this setup works nicely with obsidian (<a href="https://obsidian.md/">https://obsidian.md/</a>) as well.</p><p>I use syncthing to sync these notes to a remote server and to my android phone. So I have access to the notes while I’m traveling as well. On mobile, I use obsidian app to read the notes when needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*enVbOb5B2AKfEmgLTxhmTg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w4TAqA2QXGZ75RcW1RN_Eg.png" /></figure><h3>Mindmap script</h3><p>You might’ve already guessed what this would look like. It is again another bash script (<a href="https://github.com/kmjayadeep/scripts/blob/master/mm">https://github.com/kmjayadeep/scripts/blob/master/mm</a>) which is quite similar to the notes script. The main difference with the notes script is that the mindmap script creates a file with the current day and month as foldername and also pre-fills the entry with the current date and time. This makes it really easy to add new entries.</p><p>The command for adding a new entry is like below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*EtlDU_6junpaRnZIukcq_w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kq0XiZYUyeirt54DO0suPg.png" /></figure><h3>TODO script</h3><p>So, here I cheated a bit. I initially created a script for managing todos as markdown files (<a href="https://github.com/kmjayadeep/scripts/blob/master/xt">https://github.com/kmjayadeep/scripts/blob/master/xt</a>). But then I wanted to add some more functionality to the todo script like — show the number of open tasks, send notifications if the tasks are not done etc. Then I switched to taskwarrior (<a href="https://taskwarrior.org/">https://taskwarrior.org/</a>). The best part about taskwarrior is that you can configure it to be as simple or as complicated as you want. So I configured it to be used as a GTD system. It took me a while to learn to use it correctly and configure it as per my needs. But here is the configuration for those who are interested.</p><pre># Files<br>data.location=~/private/psuite/todo<br>uda.reviewed.type=date<br>uda.reviewed.label=Reviewed<br>report._reviewed.description=Tasksh review report. Adjust the filter to your needs.<br>report._reviewed.columns=uuid<br>report._reviewed.sort=reviewed+,modified+<br>report._reviewed.filter=( reviewed.none: or reviewed.before:now-6days ) and ( +PENDING or +WAITING )<br>context.ct.read=project:ct<br>context.ct.write=project:ct<br>context.avesha.read=project:avesha<br>context.avesha.write=project:avesha<br>context.nowork.read=project.isnt:ct project.isnt:avesha project.isnt:vmo<br>context.nooffice.read=project.isnt:ct<br># GTD - get things done: https://nfraprado.net/post/managing-my-tasks-using-vit.html<br># GTD uda config<br>uda.folder.type = string<br>uda.folder.label = folder<br>uda.folder.default = in<br>uda.folder.values = in,todo,cal,backlog,standby,someday<br># urgency.uda.folder.todo.coefficient = 15<br># urgency.uda.folder.someday.coefficient = -5<br>uda.priority.values = H,L,<br>urgency.uda.priority.H.coefficient = 6.0<br>urgency.uda.priority.L.coefficient = -6.0<br>uda.difficulty.type = string<br>uda.difficulty.label = Difficulty<br>uda.difficulty.values = H,L,<br># GTD reports config<br>report.next.columns = id,start.age,priority,project,tags,recur,scheduled.countdown,due.relative,until.remaining,description.count,folder,urgency<br>report.next.labels = ID,Active,P,Project,Tag,Recur,S,Due,Until,Description,folder,Urg<br>report.next.sort = folder-/,urgency-<br>report.in.columns = id,description<br>report.in.description = Inbox<br>report.in.filter = status:pending limit:page folder:in<br>report.in.labels = ID,Description<br>report.todo.description = Next TODO tasks<br>report.todo.columns = id,start.age,priority,project,tags,recur,scheduled.countdown,due.relative,until.remaining,description.count,folder,urgency<br>report.todo.labels = ID,Active,P,Project,Tag,Recur,S,Due,Until,Description,folder,Urg<br>report.todo.filter = status:pending limit: folder:todo<br>report.todo.sort = urgency-<br>report.backlog.description = Tasks by project<br>report.backlog.columns = id,start.age,priority,project,tags,recur,scheduled.countdown,due.relative,until.remaining,description.count,folder,urgency<br>report.backlog.labels = ID,Active,P,Project,Tag,Recur,S,Due,Until,Description,folder,Urg<br>report.backlog.filter = status:pending folder.not:someday<br>report.backlog.sort = project-/,folder-,urgency-<br>report.someday.columns = id,description.count<br>report.someday.description = Someday/Maybe<br>report.someday.filter = limit: folder:someday status:pending<br>report.someday.labels = ID,Description</pre><p>I also wrote a wrapper in bash to add some additional features and make it easy to access todos,<br><a href="https://github.com/kmjayadeep/scripts/blob/master/todo">https://github.com/kmjayadeep/scripts/blob/master/todo</a></p><p>It also prints the stats (current open tasks, no. of tasks in progress, etc), which I use to show on my taskbar.</p><h3>TLDR; Conclusion</h3><p>In conclusion, by defining my requirements first, I have been able to set up the perfect productivity trio using simple bash scripts. The combination of notes, mindmap and todo list has helped me to be more focused, organized and efficient in my work. The notes script allows me to store long-term notes, the mindmap script helps me to jot down random unorganized notes, and the todo script, through the GTD system, helps me to manage my tasks in an effective way. By using these scripts, I have been able to keep my notes and tasks in a neat and organized manner, and I have peace of mind that I am not forgetting any important tasks. I hope that sharing my setup will inspire others to come up with their own productivity system that works best for them.</p><h3>What’s next?</h3><p>There are still a lot more additions to above scripts. There is backup/restore scripts, cloud based synchronization across multiple devices, script to setup the productivity suite on a new system, web based access (Work in progress) and much more. I will explain them in the upcoming post. Stay tuned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5376ff750170" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sharing Keyboard and Mouse across multiple devices]]></title>
            <link>https://medium.com/@jayadeepkm/sharing-keyboard-and-mouse-across-multiple-devices-7c934e914592?source=rss-720cbaded1be------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c934e914592</guid>
            <category><![CDATA[mouse]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[work-from-home]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[keyboard]]></category>
            <dc:creator><![CDATA[Jayadeep KM]]></dc:creator>
            <pubDate>Mon, 08 Aug 2022 04:38:23 GMT</pubDate>
            <atom:updated>2022-08-08T04:38:23.492Z</atom:updated>
            <content:encoded><![CDATA[<p>My personal work setup consists of a Reddragon K552 mechanical keyboard,<br>a Zebronics RGB Mouse and a 2K display. It isn’t much, but I love<br>working with it.<br>And that’s why I want to reuse the same setup for my office work<br>environment as well. I could buy the same components again and setup<br>another desk, but I prefer a software based approach to tackle this<br>challenge</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nhaa8azF-qT3J3fhBXTcsQ.jpeg" /></figure><h3>Sharing Keyboard and Mouse using Barrier</h3><p>Initially I thought of buying a KVM switch. But then I found this gem:<br><a href="https://github.com/debauchee/barrier">https://github.com/debauchee/barrier</a>. Let me show you how to configure<br>barrier to share keyboard and mouse over wifi.</p><p>First, make sure your main computer has a static IP. Most likely your<br>router has an option to automatically assign a fixed ip to the computer.<br>Or you can set a static IP in network connection setttings.</p><p>Then install Barrier from the above link. You can find the installation<br>steps for Linux, windows and Mac.</p><p>In my case, it was easy (I’m running Arch linux)</p><pre>sudo pacman -S barrier</pre><p>There is one step you need to do to get it to work :- setup ssl certificates. There is a bug in Barrier installation, so barrier doesn’t set it up by default, so I had to dig around and find a way to do it. Here is the github issue corresponding to the same: <a href="https://github.com/debauchee/barrier/issues/231">https://github.com/debauchee/barrier/issues/231</a></p><p>In Linux:</p><pre>cd ~/.local/share/barrier/SSL/ openssl req -x509 -nodes -days 365 -subj /CN=Barrier -newkey rsa:4096 -keyout Barrier.pem -out Barrier.pem</pre><p>In Mac:</p><pre>cd /Users/[username]/Library/Application Support/barrier/SSL<br>openssl req -x509 -nodes -days 365 -subj /CN=Barrier -newkey rsa:4096 -keyout Barrier.pem -out Barrier.pem</pre><p>Now open barrier in the main machine. On barrier settings, enable SSL. It<br>doesn’t work without enabling ssl, so I don’t know why this option is<br>disabled in the first place.</p><p>Then click on configure server and add a new client. If you know your<br>other machine’s hostname, use that as client name. Drag the client to<br>correct position like how you would configure multiple screens.</p><p>On the client machine (you can have multiple clients), install barrier<br>and setup certificates as above. Make sure the client name there matches<br>the client name configured in the main machine, otherwise it won’t<br>connect. Now start the client. The server will ask for verification of<br>the client when it connects for the first time. Then you should be able<br>to move the mouse across both machines. Keyword will work on whichever<br>screen has the mouse active.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/1*s0EBZ0h_DpyDXOe9labIMw.png" /></figure><p>Barrier is now ready to use. There is one additional step I have done in<br>my case. I have configured a shortcut to bind the devices to one<br>particular machine. When I’m working entirely on one<br>machine, I don’t want the mouse to accidentally go to other machine and<br>click on something. It can be configured from configure server -&gt;<br>hotkeys</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*GlWdyaaSToWkFj1EY_cBRQ.png" /></figure><h3>Sharing displays across multiple devices.</h3><p>This one is really tricky. I’m currently exploring <a href="https://github.com/albfan/miraclecast">Miraclecast</a> to cast my mac over wifi to Linux machine. I’ll update this article if I find a good solution. For now, I’m just connecting both devices using multiple cables to the same display and just adjust the source in the monitor whenever I switch to the other device. If you are using windows or mac for both the machines, it might<br>be easier to get it to work.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c934e914592" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I cracked CKA with 95% score]]></title>
            <link>https://medium.com/@jayadeepkm/how-i-cracked-cka-with-95-score-a7b1767abacb?source=rss-720cbaded1be------2</link>
            <guid isPermaLink="false">https://medium.com/p/a7b1767abacb</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[ckad]]></category>
            <category><![CDATA[cka]]></category>
            <category><![CDATA[cncf]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Jayadeep KM]]></dc:creator>
            <pubDate>Fri, 10 Sep 2021 05:19:33 GMT</pubDate>
            <atom:updated>2021-09-10T05:19:33.332Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y4NBiEfJxFTvxcfQTPlFfA.png" /></figure><p>You might’ve heard that CKA is a hard exam. Yes, it is challenging and a bit difficult to pass in the first attempt if you don’t have much experience in kubernetes. But if you prepare the right way, you can pass the exam in flying colours!</p><p>In this post, I would like to explain how I prepared for the exam and hopefully it will help you prepare as well. Keep in mind that I work on kubernetes on a daily basis (that doesn’t mean I know everything!) and I had some hands on experience already before attempting the exam. I will be explaining more about how to study and prepare rather than what to study. You can find a ton of resources online for that.</p><h3>Start a learning repo</h3><p>The first thing you should do before enrolling to a course or starting to practice, is to create a git repo for dumping all your learning resources and notes! Here is mine,</p><p><a href="https://github.com/kmjayadeep/cka-learning">GitHub - kmjayadeep/cka-learning</a></p><p>You can add a README file with documentation links, study plans, maybe some scripts, snippets etc. More importantly, create notes for everything you learn/practice and organize them according to the curriculm. Keep all the yamls/configs and any other files created as part of learning in the repo. Thus it becomes more organized and easy to revise just before the exam. Also, preparing notes yourself is similar to teaching - you would grasp the concepts better. So, don’t copy paste into your notes, just write them in your own words!</p><h3>Prepare a study plan</h3><p>Preparing a study plan will not only helps you organize the learning, but also boosts your confidence. I went through the curriculum and created a plan to learn and practice each topic, line by line. I added them as a checkbox in the repo, with date and topic and crossed them off as I made progress in learning.</p><p>The amount of time you need to learn each topic is subjective. In my case, I spent around 1 week for each section in the curriculum with 1–2 hours spent each day. So that sums to around 6 weeks. After the curriculum, I spent some more time doing practice excersises, going through documentation etc. as well.</p><h3>Prepare your own sample tests</h3><p>I find it very difficult to find sample tests online which covers a good portion of the curriculm. <a href="http://killer.sh/">killer.sh</a> is good, but there is only one set of questions available. So what I did is, I just created sample questions for myself while studying each topic. After finishing each section, I would go through the sample tests and try to solve them. I made sure to include questions which are likely to be asked in the exam (just from intuition!) and questions which I think I might struggle if asked in the exam.</p><p>Get more familiar with kubectl explain, kubectl create and kubectl run commands. If you see any flag or a field in the spec which you don’t understand, search the document and understand it. More importantly, note down what you learned! You don’t need to learn everything by heart, but should be familiar with all the well known resources like pods, deployments, jobs, configmaps, secrets etc. I would take each topic from the curriculum, and try to learn everything about it by searching through docs, medium articles etc until I feel confident about answering any question regarding that topic. This might seem like an overkill, but it definitely boosted my confidence.</p><h3>Be familiar with the environment</h3><p>At this point, I don’t need to stress enough on the importance of having your own kubernetes environment (kind, minikube, EKS etc) to play with. Be familiar with unix environment in general, not just kubectl. Learn how to work with common linux tools like grep, cat, system journal, etc. This is not an absolute requirement, but some of the tasks in the exam need these tools to be able to answer efficiently.</p><p>I highly recommend learning vim if you don’t know already. This is not just for the exam. If you are taking a CKA exam, then most likely you are looking for kubernetes career path. Learning VIM will help you a lot in that case. If you are not comfortable with vim bindings, nano is also available in the exam. There is tmux also preinstalled in the exam environment. Tmux is easy to use and takes only a few minutes to learn the basic bindings. You will have often need multiple terminals to work with for some questions. Tmux comes in real handy in those scenarios. I used a split screen in tmux, with one split for running kubectl commands and other for editing yaml files.</p><p>You can add aliases and environment variables in .bashrc. I used alias k=kubectl and export do=&quot;--dry-run=client -o yaml&quot; . I also added a vim config for tab width and shift width to make the editing easier.</p><h3>TLDR; one liner tips</h3><ul><li>Learn vim (atleast the basic commands). Before you start the exam, add a .vimrc with basic settings like expandtab, shiftwidth and tabstop</li><li>Tmux will be preinstalled. Use it if you know how to. This is not as important as learning vim, but I find it very useful to have a split pane in tmux — one for editing files and other for running kubectl commands</li><li>check copy-paste works before you start with the questions. I had some trouble to get used to it. (in linux, press left and mouse buttons to copy and it will be pasted to where the cursor is, and won’t be copied to clipboard)</li><li>add alias k=kubectl and export do=” — dry-run=client -o yaml” in bashrc. This will save you a ton of time</li><li>Some of the questions will be very easy. I recommend going through the qustions once while doing all the easy questions (ones which take less than 3 mins) and noting down the skipped ones.</li><li>keep the most difficult ones to the end</li><li>Get comfortable with basic linux utilities like cat, grep, curl etc</li><li>I went through the curriculm, made a learning plan, took notes and made my own study material. It helped a lot</li><li>The free killer.sh sessions are great. It is harder than the real exam, but the experience helped a lot in cracking the real one</li><li>Add bookmarks to pages which you think you may need to refer (for eg, I kept a bookmark for etcd backup and restore doc because the commands are too big and I can’t remember them)</li><li>kubectl explain command is often more useful than official doc. Get used to using it during your practice</li><li>If you have time remaining, use it to verify all your answers. I found that I missed something in one of my questions, which wouldve cost me 7% score if didn’t check it.</li><li>For some questions, it will take some time to complete reconciliation (for eg, adding a new node takes time for it to become ready). Mark them as pending in the notepand and move on to other questions. Don’t wait!</li></ul><h3>Be cool and all the best!</h3><p>Take it easy on the exam day! Keep in mind that you only 66% score to pass, that means it is okay to skip questions which you know for sure that you can’t solve. Don’t spend too much time on any questions if you get stuck.</p><p>Thats all. Feel free to ask questions regarding the preparation or the exam.</p><p>Good luck!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a7b1767abacb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>