<?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 GeekByChance on Medium]]></title>
        <description><![CDATA[Stories by GeekByChance on Medium]]></description>
        <link>https://medium.com/@geekbychance?source=rss-aa379ca0f052------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by GeekByChance on Medium</title>
            <link>https://medium.com/@geekbychance?source=rss-aa379ca0f052------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 09:09:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@geekbychance/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[Step-by-Step Guide: Setting up AWS CodeWhisperer in JetBrains IDE]]></title>
            <link>https://medium.com/@geekbychance/enabling-amazon-aws-codewhisperer-in-intellij-or-any-jetbrains-ide-76f732da64bf?source=rss-aa379ca0f052------2</link>
            <guid isPermaLink="false">https://medium.com/p/76f732da64bf</guid>
            <dc:creator><![CDATA[GeekByChance]]></dc:creator>
            <pubDate>Tue, 25 Apr 2023 09:22:48 GMT</pubDate>
            <atom:updated>2024-02-01T19:24:01.554Z</atom:updated>
            <content:encoded><![CDATA[<p>Quick setup to improve your productivity for free</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*11I1Dq7aMaooa39lRnULUg.png" /></figure><p>Hey there!</p><p>If you’re looking to enable AWS CodeWhisperer for free, then you’ve come to the right place. The setup is super easy, and you don’t even need an AWS account. That’s right — AWS is providing CodeWhisperer for free for individual use!</p><p>I’ve personally used it, and I can guarantee that it will help you code faster and improve your productivity.</p><p>Without further ado, let’s jump right into the setup:</p><ol><li>Open your JetBrains IDE</li><li>Go to Preferences</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*FL6NOxkdB_u_5JzxMRGbZw.png" /></figure><p>3. In the Preferences menu, navigate to Plugins and search for <strong>AWS</strong> <strong>Toolkit</strong></p><p>4. Install the plugin, then click <strong>Apply</strong> and <strong>OK</strong>. Your IDE might ask you to restart, so make sure you save all your current work before doing so.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/909/1*vAzv1kUJolRGSVLvzGItKw.png" /></figure><p>5. Once the AWS Toolkit is installed, open it from the <strong>View</strong> tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/773/1*igR_OGI0c5EbRa7MXspD_Q.png" /></figure><p>6. Go to <strong>Developer Tools, </strong>click on <strong>Start</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/405/1*eqbq9EblBMUypFvTW5h_Mw.png" /></figure><p>7. Use the first option to use your personal email account (unless you have an IAM identity). You don’t need to have an AWS account linked with this email. Click <strong>Connect</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/509/1*N15Wf45wRQXvj9_CoUqYvQ.png" /></figure><p>8. click <strong>Open and Copy Code. </strong>This will redirect you to AWS URL, just paste in the already copied code there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*3EqWGAw18OVkHZodj-h28w.png" /></figure><p>9. After allowing required accesses, you should see the screen below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*SkMmFWLnf7tWvFt7VDIpcA.png" /></figure><p>10. That’s it, you are done!</p><p>Now, go ahead and explore the various settings that AWS CodeWhisperer provides. You can open any Java/Python/JS file and start typing in code/comments. You’ll be amazed by the kind of auto-suggestions you’ll get.</p><p>And that’s not all — AWS CodeWhisperer provides multiple other functionalities that I’ll cover in my upcoming articles.</p><p>Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76f732da64bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Leetcode 2348 (Number of Zero-Filled Subarrays)]]></title>
            <link>https://medium.com/@geekbychance/leetcode-2348-number-of-zero-filled-subarrays-6ef78b38106e?source=rss-aa379ca0f052------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ef78b38106e</guid>
            <dc:creator><![CDATA[GeekByChance]]></dc:creator>
            <pubDate>Tue, 21 Mar 2023 10:06:27 GMT</pubDate>
            <atom:updated>2023-03-21T10:06:27.173Z</atom:updated>
            <content:encoded><![CDATA[<p>Problem and Solution</p><p><em>Given an integer array </em><em>nums, return the number of </em><strong><em>subarrays</em></strong><em> filled with </em><em>0.</em></p><p><em>A </em><strong><em>subarray</em></strong><em> is a contiguous non-empty sequence of elements within an array.</em></p><pre>class Solution {<br>    public long zeroFilledSubarray(int[] nums) {<br>        <br>        long total = 0;<br>        int count = 0;<br>        for(int i=0;i&lt;nums.length;i++) {<br>            if (nums[i] == 0) {<br>                count++;<br>                total += count;<br>            } else if (count != 0) {<br>                count = 0;<br>            }<br>        }<br><br>        return total;<br>    }<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ef78b38106e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Leetcode 605 (Can place flowers)]]></title>
            <link>https://medium.com/@geekbychance/leetcode-605-bd952c7dc40c?source=rss-aa379ca0f052------2</link>
            <guid isPermaLink="false">https://medium.com/p/bd952c7dc40c</guid>
            <dc:creator><![CDATA[GeekByChance]]></dc:creator>
            <pubDate>Mon, 20 Mar 2023 11:55:26 GMT</pubDate>
            <atom:updated>2023-03-20T11:58:15.733Z</atom:updated>
            <content:encoded><![CDATA[<p>problem &amp; solution</p><p><em>You have a long flowerbed in which some of the plots are planted, and some are not. However, flowers cannot be planted in </em><strong><em>adjacent</em></strong><em> plots.</em></p><p><em>Given an integer array </em><em>flowerbed containing </em><em>0&#39;s and </em><em>1&#39;s, where </em><em>0 means empty and </em><em>1 means not empty, and an integer </em><em>n, return if </em><em>n new flowers can be planted in the </em><em>flowerbed without violating the no-adjacent-flowers rule.</em></p><pre>class Solution {<br>    public boolean canPlaceFlowers(int[] flowerbed, int n) {<br>       int count = 0;<br><br><br>        if (flowerbed.length == 1) {<br>            if (flowerbed[0] == 0 &amp;&amp; n &lt;= 1) {<br>                return true;<br>            } else if (flowerbed[0] == 1 &amp;&amp; n == 0) {<br>                return true;<br>            } else {<br>                return false;<br>            }<br>        }<br><br>        for (int i=0;i&lt;flowerbed.length;i++) {<br>            if (flowerbed[i] == 0) {<br>                if (i==0 &amp;&amp; flowerbed[i+1] == 0) {<br>                    count++;<br>                    i++;<br>                } else if (i == flowerbed.length-1 &amp;&amp; flowerbed[i-1] == 0) {<br>                    count++;<br>                    i++;<br>                } else if ((i &gt; 0 &amp;&amp; flowerbed[i-1] == 0) &amp;&amp; (i &lt; flowerbed.length-1 &amp;&amp; flowerbed[i+1] == 0)) {<br>                    count ++;<br>                    i++;<br>                }<br>            }<br>        }<br><br>        return count &gt;= n;<br>    }</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bd952c7dc40c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LLD Basic Design Principles]]></title>
            <link>https://medium.com/@geekbychance/lld-basic-design-principles-dad529f28375?source=rss-aa379ca0f052------2</link>
            <guid isPermaLink="false">https://medium.com/p/dad529f28375</guid>
            <dc:creator><![CDATA[GeekByChance]]></dc:creator>
            <pubDate>Sun, 12 Mar 2023 19:28:28 GMT</pubDate>
            <atom:updated>2023-03-12T19:28:28.818Z</atom:updated>
            <content:encoded><![CDATA[<p>write it right</p><ol><li>KISS (Keep it simple stupid)</li><li>DRY (Dont repeat yourself)</li><li>YAGNI (You aren’t going to need it)</li><li>SOLID</li></ol><p>S -&gt; Single Responsibility</p><p>O -&gt; Open-Close Principle</p><p>L -&gt; Liskov Substitution Principle</p><p>I -&gt; Interface Seggreagation</p><p>D -&gt; Depedency Inversion</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dad529f28375" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>