<?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 NKS CODING LEARNINGS on Medium]]></title>
        <description><![CDATA[Stories by NKS CODING LEARNINGS on Medium]]></description>
        <link>https://medium.com/@nksCodingLearnings?source=rss-846c21d7a2c8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kxhlTpVWyIC64driStmvyw.jpeg</url>
            <title>Stories by NKS CODING LEARNINGS on Medium</title>
            <link>https://medium.com/@nksCodingLearnings?source=rss-846c21d7a2c8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 12:11:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nksCodingLearnings/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 Merge Two Sorted Lists into One]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">Learn to merge two sorted linked lists into one linked list with most efficiency using Java and improve your DSA skills.</p><p class="medium-feed-link"><a href="https://medium.com/illumination/how-to-merge-two-sorted-lists-into-one-9cd58488aaf1?source=rss-846c21d7a2c8------2">Continue reading on ILLUMINATION »</a></p></div>]]></description>
            <link>https://medium.com/illumination/how-to-merge-two-sorted-lists-into-one-9cd58488aaf1?source=rss-846c21d7a2c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/9cd58488aaf1</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[logical-thinking]]></category>
            <category><![CDATA[dsa-training]]></category>
            <category><![CDATA[problem-solving]]></category>
            <category><![CDATA[leetcode]]></category>
            <dc:creator><![CDATA[NKS CODING LEARNINGS]]></dc:creator>
            <pubDate>Thu, 05 Jun 2025 14:24:10 GMT</pubDate>
            <atom:updated>2025-07-11T17:00:18.609Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Solving the Valid Parentheses Problem in Java]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/illumination/solving-the-valid-parentheses-problem-in-java-00ef8add77a3?source=rss-846c21d7a2c8------2"><img src="https://cdn-images-1.medium.com/max/1200/0*6tOCwDMPSPKBarE5" width="1200"></a></p><p class="medium-feed-snippet">Let&#x2019;s solve this problem using stack-based parsing with different code structures to improve our logical thinking and DSA skills.</p><p class="medium-feed-link"><a href="https://medium.com/illumination/solving-the-valid-parentheses-problem-in-java-00ef8add77a3?source=rss-846c21d7a2c8------2">Continue reading on ILLUMINATION »</a></p></div>]]></description>
            <link>https://medium.com/illumination/solving-the-valid-parentheses-problem-in-java-00ef8add77a3?source=rss-846c21d7a2c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/00ef8add77a3</guid>
            <category><![CDATA[logical-thinking]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[leetcode]]></category>
            <category><![CDATA[dsa-training]]></category>
            <category><![CDATA[problem-solving]]></category>
            <dc:creator><![CDATA[NKS CODING LEARNINGS]]></dc:creator>
            <pubDate>Tue, 03 Jun 2025 10:07:14 GMT</pubDate>
            <atom:updated>2025-06-05T14:34:34.534Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How to Open a Web App by Clicking a Desktop Shortcut]]></title>
            <link>https://medium.com/practice-in-public/how-to-open-a-web-app-by-clicking-a-desktop-shortcut-00241e55f901?source=rss-846c21d7a2c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/00241e55f901</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[batch-script]]></category>
            <dc:creator><![CDATA[NKS CODING LEARNINGS]]></dc:creator>
            <pubDate>Tue, 03 Jun 2025 05:08:02 GMT</pubDate>
            <atom:updated>2025-07-18T14:59:31.533Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Learn to make our Node projects like desktop programs that open like that and do their work with full access to program files.</em></p><p><strong>Non-Medium members can read it on </strong><a href="https://code.nkslearning.com/blogs/how-to-create-stocks-watchlist-react-component-for-trading-platform_6837e6f0918e8f231976"><strong>NKS CODINGS LEARNINGS</strong></a><strong>.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ek7Nr5rZv5SfLGMf" /><figcaption>Photo craeted by NITISH KUMAR through <a href="https://chatgpt.com/">ChatGPT</a> on <a href="https://code.nkslearning.com/">NKS CODING LEARNINGS</a></figcaption></figure><p><strong>One day</strong>, while scrolling through <a href="https://www.upwork.com/">UpWork</a> jobs, I saw a job asking for an HTML file that opens by clicking on it and <strong>starts showing wedding images</strong> from a system folder <strong>as a slideshow</strong>.</p><p><strong>I started thinking-how is that possible?</strong> Because when we click on an HTML file, we just see the HTML content. We can easily build an auto slideshow with different transitions and animation options, timing, and many more controls.</p><p>But how do we store the image data? We can store image data in the HTML file as <a href="https://developer.mozilla.org/en-US/docs/Glossary/Base64"><strong>Base64</strong></a> strings, but it’s an impractical and inefficient way that affects rendering for a large number of images and their size.</p><p>So finally, we have the option to store images in a subfolder inside the folder where the HTML file is placed and serve the images using a local server. We can easily build a <strong>Node project</strong> that does all this work.</p><p><strong>But now the question is:</strong> how can we do both things-run our project server and automatically open the HTML file to start the slideshow just by clicking a desktop icon?</p><p>When I asked this question to <a href="https://chatgpt.com/"><strong>ChatGPT</strong></a>, I found that the solution to all our problems is a <a href="https://www.tutorialspoint.com/batch_script/index.htm"><strong>Batch Script File</strong></a>.</p><p>We can easily do our work using it. And for that, you can read my previous blog: <a href="https://code.nkslearning.com/blogs/introduction-to-windows-batch-scripting_683d6b24c35704390fad"><strong>Introduction to Windows Batch Scripting</strong></a> to know more about the Batch Scripting.</p><p>Here is the folder structure of a simple project that demonstrates this idea:</p><pre>📁 slideshow-app<br>  📄 start.bat<br>  📄 start.vbs<br>  📄 server.js<br>  📁 public<br>    📁 images<br>      🖼️ photo1.jpg<br>      🖼️ photo2.jpg<br>      🖼️ ...<br>    📄 index.html<br>    📄 style.css<br>    📄 script.js</pre><p>We are using start.bat and start.vbs files to open this program with and without the command line window. We will make two desktop shortcuts pointing to these two files.</p><p>Below are the codes of these two files:</p><pre>// start.bat code<br>@echo off<br>echo ========= Launcher Code Start =========<br><br>netstat -aon | findstr :3000 | findstr LISTENING&gt;nul<br>if %errorlevel%==0 (<br>    echo Port 3000 is already in use.<br>) else (<br>    cd /d %~dp0<br>    echo Starting server on port 3000<br>    start /b &quot;&quot; node server.js<br>    timeout /t 1 &gt;nul<br>)<br>start &quot;&quot; &quot;http://localhost:3000&quot;<br>echo Opened browser.<br>echo ========= Launcher Code End ===========<br><br>// start.vbs code<br>Set WshShell = CreateObject(&quot;WScript.Shell&quot;)<br>WshShell.Run chr(34) &amp; &quot;start.bat&quot; &amp; chr(34), 0<br>Set WshShell = Nothing</pre><p>When we click on these shortcuts, the slideshow starts automatically-and that’s exactly the idea of the UpWork job poster, to show wedding photos this way.</p><p>Now we know how we can bring this idea to life as a Node.js-based slideshow app that opens like a desktop program. We saw how batch and <a href="https://techcommunity.microsoft.com/blog/windows-itpro-blog/vbscript-deprecation-timelines-and-next-steps/4148301"><strong>VBS scripts</strong></a> help launch it smoothly.</p><p>I realized we can build great apps that bundle everything like a desktop program and work the same way-just using <strong>web technologies</strong> instead of <strong>Windows software</strong>. That’s right!</p><p><em>I hope you enjoyed exploring this idea with me, learned something new, and found this post helpful and informative. This approach is great for local apps with a real desktop feel.</em></p><p>In the next blog, I’ll build a feature-rich slideshow app with transitions, fullscreen, and keyboard controls. When it’s live, I’ll share the link here for all of us to check out!</p><p>Thanks for reading! 🤝 <strong>Happy Coding!</strong> ✨</p><p><em>Originally published at </em><a href="https://code.nkslearning.com/blogs/how-to-open-a-web-app-by-clicking-a-desktop-shortcut_683e82f09159c18a8fa4"><em>https://code.nkslearning.com</em></a><em> on June 3, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=00241e55f901" width="1" height="1" alt=""><hr><p><a href="https://medium.com/practice-in-public/how-to-open-a-web-app-by-clicking-a-desktop-shortcut-00241e55f901">How to Open a Web App by Clicking a Desktop Shortcut</a> was originally published in <a href="https://medium.com/practice-in-public">Practice in Public</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Remove Nth Node from the End of the Linked List]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@nksCodingLearnings/remove-nth-node-from-the-end-of-the-linked-list-6a8bd314f046?source=rss-846c21d7a2c8------2"><img src="https://cdn-images-1.medium.com/max/1200/0*u519MK3mRXiBab8U" width="1200"></a></p><p class="medium-feed-snippet">Learn to play with Linked List by solving this DSA problem in Java. This is LeetCode problem 19.</p><p class="medium-feed-link"><a href="https://medium.com/@nksCodingLearnings/remove-nth-node-from-the-end-of-the-linked-list-6a8bd314f046?source=rss-846c21d7a2c8------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@nksCodingLearnings/remove-nth-node-from-the-end-of-the-linked-list-6a8bd314f046?source=rss-846c21d7a2c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a8bd314f046</guid>
            <category><![CDATA[problem-solving]]></category>
            <category><![CDATA[logical-thinking]]></category>
            <category><![CDATA[interview-questions]]></category>
            <category><![CDATA[dsa-training]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[NKS CODING LEARNINGS]]></dc:creator>
            <pubDate>Mon, 02 Jun 2025 14:00:17 GMT</pubDate>
            <atom:updated>2025-06-02T14:07:36.720Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Introduction to Windows Batch Scripting]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@nksCodingLearnings/introduction-to-windows-batch-scripting-8e0b9ad5d48d?source=rss-846c21d7a2c8------2"><img src="https://cdn-images-1.medium.com/max/1200/0*CSyMmFAix1sBuOSD" width="1200"></a></p><p class="medium-feed-snippet">Learn about batch script in Windows that is used for automating tasks, running scripts and programs, doing file operations, and much more.</p><p class="medium-feed-link"><a href="https://medium.com/@nksCodingLearnings/introduction-to-windows-batch-scripting-8e0b9ad5d48d?source=rss-846c21d7a2c8------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@nksCodingLearnings/introduction-to-windows-batch-scripting-8e0b9ad5d48d?source=rss-846c21d7a2c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e0b9ad5d48d</guid>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[batch-script]]></category>
            <category><![CDATA[cmd]]></category>
            <dc:creator><![CDATA[NKS CODING LEARNINGS]]></dc:creator>
            <pubDate>Mon, 02 Jun 2025 09:18:03 GMT</pubDate>
            <atom:updated>2025-06-02T09:23:42.995Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Solving the 4Sum Problem in Java]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@nksCodingLearnings/solving-the-4sum-problem-in-java-7143b09b2d97?source=rss-846c21d7a2c8------2"><img src="https://cdn-images-1.medium.com/max/1200/0*qFxvOsvUJ4VNKi5x" width="1200"></a></p><p class="medium-feed-snippet">Want to crack coding interviews? The 4Sum problem builds logic, speed, and clean thinking.</p><p class="medium-feed-link"><a href="https://medium.com/@nksCodingLearnings/solving-the-4sum-problem-in-java-7143b09b2d97?source=rss-846c21d7a2c8------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@nksCodingLearnings/solving-the-4sum-problem-in-java-7143b09b2d97?source=rss-846c21d7a2c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/7143b09b2d97</guid>
            <category><![CDATA[dsa-training]]></category>
            <category><![CDATA[dsa-problem]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[problem-solving]]></category>
            <dc:creator><![CDATA[NKS CODING LEARNINGS]]></dc:creator>
            <pubDate>Sun, 01 Jun 2025 13:01:05 GMT</pubDate>
            <atom:updated>2025-06-01T13:06:21.673Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Touching the Heart of JavaScript Hoisting]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@nksCodingLearnings/touching-the-heart-of-javascript-hoisting-2109c0f1c62a?source=rss-846c21d7a2c8------2"><img src="https://cdn-images-1.medium.com/max/1200/0*_p_GdwkL9pkwqqX-" width="1200"></a></p><p class="medium-feed-snippet">Have you ever seen JavaScript code work even when things are used before they are written? That&#x2019;s not magic&#x200A;&#x2014;&#x200A;it&#x2019;s hoisting. In this blog&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@nksCodingLearnings/touching-the-heart-of-javascript-hoisting-2109c0f1c62a?source=rss-846c21d7a2c8------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@nksCodingLearnings/touching-the-heart-of-javascript-hoisting-2109c0f1c62a?source=rss-846c21d7a2c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/2109c0f1c62a</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[hoisting]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[NKS CODING LEARNINGS]]></dc:creator>
            <pubDate>Sun, 01 Jun 2025 06:50:15 GMT</pubDate>
            <atom:updated>2025-06-01T06:56:37.111Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How to Show a Floating Toolbar on Text Selection]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@nksCodingLearnings/how-to-show-a-floating-toolbar-on-text-selection-74c6bd476f10?source=rss-846c21d7a2c8------2"><img src="https://cdn-images-1.medium.com/max/1200/0*BD8Dyk9ggoEcCoJj" width="1200"></a></p><p class="medium-feed-snippet">Text selection is a simple user action, but detecting it gracefully isn&#x2019;t as easy. Showing a floating toolbar on selected text requires an&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@nksCodingLearnings/how-to-show-a-floating-toolbar-on-text-selection-74c6bd476f10?source=rss-846c21d7a2c8------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@nksCodingLearnings/how-to-show-a-floating-toolbar-on-text-selection-74c6bd476f10?source=rss-846c21d7a2c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/74c6bd476f10</guid>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[dom]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[NKS CODING LEARNINGS]]></dc:creator>
            <pubDate>Sat, 31 May 2025 19:26:48 GMT</pubDate>
            <atom:updated>2025-05-31T19:31:42.890Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Handling Live Stock Data and Messages with WebSockets in JavaScript]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@nksCodingLearnings/handling-live-stock-data-and-messages-with-websockets-in-javascript-dcc345a738b5?source=rss-846c21d7a2c8------2"><img src="https://cdn-images-1.medium.com/max/1200/0*-i2shLH_tbIDrlXN" width="1200"></a></p><p class="medium-feed-snippet">Ever wondered how trading apps show live stock prices and also send or receive custom messages in real time? Here, I&#x2019;ll explain a simple&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@nksCodingLearnings/handling-live-stock-data-and-messages-with-websockets-in-javascript-dcc345a738b5?source=rss-846c21d7a2c8------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@nksCodingLearnings/handling-live-stock-data-and-messages-with-websockets-in-javascript-dcc345a738b5?source=rss-846c21d7a2c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/dcc345a738b5</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[websocket]]></category>
            <category><![CDATA[logical-thinking]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[NKS CODING LEARNINGS]]></dc:creator>
            <pubDate>Sat, 31 May 2025 09:36:34 GMT</pubDate>
            <atom:updated>2025-05-31T09:41:53.829Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How to Build Candlestick Data from Tick-by-Tick Market Feed]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@nksCodingLearnings/how-to-build-candlestick-data-from-tick-by-tick-market-feed-3a52755dac54?source=rss-846c21d7a2c8------2"><img src="https://cdn-images-1.medium.com/max/1200/0*DpGnqIymmVk4XQS8" width="1200"></a></p><p class="medium-feed-snippet">Ever wondered how those candlestick charts are made from raw tick data? Here, I&#x2019;ll show you how to build them step by step&#x200A;&#x2014;&#x200A;including&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@nksCodingLearnings/how-to-build-candlestick-data-from-tick-by-tick-market-feed-3a52755dac54?source=rss-846c21d7a2c8------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@nksCodingLearnings/how-to-build-candlestick-data-from-tick-by-tick-market-feed-3a52755dac54?source=rss-846c21d7a2c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a52755dac54</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[trading-system]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[problem-solving]]></category>
            <category><![CDATA[tradingchart]]></category>
            <dc:creator><![CDATA[NKS CODING LEARNINGS]]></dc:creator>
            <pubDate>Fri, 30 May 2025 08:43:04 GMT</pubDate>
            <atom:updated>2025-05-30T08:50:02.884Z</atom:updated>
        </item>
    </channel>
</rss>