<?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 Rajendra Pillai on Medium]]></title>
        <description><![CDATA[Stories by Rajendra Pillai on Medium]]></description>
        <link>https://medium.com/@roizpi?source=rss-6e4f300871fb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*3VSwoogx_IuMB2YL34tc6A.jpeg</url>
            <title>Stories by Rajendra Pillai on Medium</title>
            <link>https://medium.com/@roizpi?source=rss-6e4f300871fb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 09:43:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@roizpi/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[Easily Sync Upstream Branches to Your GitHub Fork]]></title>
            <link>https://medium.com/@roizpi/easily-sync-upstream-branches-to-your-github-fork-a162ffb86719?source=rss-6e4f300871fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/a162ffb86719</guid>
            <category><![CDATA[git-branch]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[gitfork]]></category>
            <dc:creator><![CDATA[Rajendra Pillai]]></dc:creator>
            <pubDate>Tue, 24 Sep 2024 17:43:04 GMT</pubDate>
            <atom:updated>2024-09-24T17:43:04.789Z</atom:updated>
            <content:encoded><![CDATA[<p>If we are planning to fork a project for long-term GitHub contributions to a project, instead of cloning on our local machine, we may have come accross a common mishap, which is that only the ‘main’ branch is cloned by default when forking the repository.<br>Here are two images that show the branches of both the original and the fork repositories right after the fork was created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o8jJ3_m_A7FXJG0XRY_HJQ.png" /><figcaption>Fig 1. Listing all branches in the original repo.</figcaption></figure><p>Whereas the fork lacks of all other branches that aren’t the default ‘main’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hu0Z64tX-GTKgqwO_4uhuA.png" /><figcaption>Fig 2. Listing all branches in the fork.</figcaption></figure><p>Follow the next steps to add one by one the branches that we’re missing out, in this case the “master” branch.</p><h4>How to add an upstream branch to our fork</h4><ol><li>Click on the branch button, so you will be prompted with your branches.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aCtTuhOwY6a9B_4pyquVxQ.png" /><figcaption>Fig 3. The UI element we must click to proceed.</figcaption></figure><p>2. Click New branch</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WuTMiVkktOTkbw4-ZIoAnQ.png" /><figcaption>Fig 4. New branch</figcaption></figure><p>3. Write the name of the original branch you want to pull, and then select the branch (i.e: ‘master’) which belongs to the upstream repository.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dypSiEvLkVEebjEhHufIBQ.png" /><figcaption>Fig 5. Create new branch.</figcaption></figure><p>4. Now the branch was added to the fork</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jAomog6ZaszakDIF4xt8PA.png" /><figcaption>Fig 6. Listing all branche in the fork.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a162ffb86719" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fixing a 14.4V Li-ion Drill Battery After Replacements Are Discontinued]]></title>
            <link>https://medium.com/@roizpi/fixing-a-14-4v-li-ion-drill-battery-after-replacements-are-discontinued-f29af42be004?source=rss-6e4f300871fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/f29af42be004</guid>
            <category><![CDATA[electronics]]></category>
            <category><![CDATA[drillers]]></category>
            <category><![CDATA[li-ion-battery]]></category>
            <category><![CDATA[repair]]></category>
            <dc:creator><![CDATA[Rajendra Pillai]]></dc:creator>
            <pubDate>Sun, 15 Sep 2024 22:14:36 GMT</pubDate>
            <atom:updated>2025-01-16T21:33:11.532Z</atom:updated>
            <content:encoded><![CDATA[<p>DISCLAIMER: Use this tutorial at your own risk. Mishandling electronic components or batteries can cause damage to circuits or fires. Work in a safe and controlled environment.</p><h3>Overview</h3><p>Figure out that we have a home driller that has ran out of power and doesn’t charge anymore, so we measure its voltage with an electronic tester and find out that it has one or more failing batteries, scoring 0V.</p><p>The first thing would be to search for the driller battery’s reference and find the exact same model. But in this case, it was not possible because it was discontinued years ago, and there are alternative choices:</p><ol><li>Buy the li-ion batteries sepparately, i.e: in AliExpress, but by now it is an expensive option, and time consuming to find the cheapest x4 cell pack. (it is around 16–20€ depending on the mAh of each cell).</li><li>Find an alternative battery pack from another drill model that matches both the mAh and Voltage of your battery, then proceed with an electronic transplant surgery⚡🛠️.</li></ol><p>The latter is the way I’m going to explain with details, proposing probably an original solution that many may not have take into account, with the pros &amp; cons and a step by step guide, just in case someone is asking how difficult or time-consuming it is.</p><p>And <strong>all of this for only €7.30 </strong>+ shipping in 2024 (10,14€ in total) — remarkably affordable given today’s prices, and it would be much cheaper if we had to replace many batteries, because it is only 1.8€ per cell and the shipping would be negligible in that case.</p><h3>When to apply this method</h3><ul><li>When you’ve searched for an exact replacement battery model but with unsuccessful results or its production was discontinued long time ago. This was my case.</li><li>When acquiring individual batteries becomes an expensive choice.</li><li>You just want to reutilise the old driller battery’s PCB and recycle an old driller at a really low cost.</li></ul><h3>Advantages</h3><ul><li>Up to x3 times cheaper than acquiring single batteries.</li></ul><h3>Inconveniences</h3><ul><li>The cells are not soldered to the battery terminals; they are held in place by some mechanism. You will need to apply force to separate them from the battery terminals.</li><li>The time spent, and the possibility to break the original PCB due to high temperatures of the soldering tool.</li></ul><h3>Required tools</h3><ul><li>A brand new pack of batteries, with equal properties.</li><li>Both soldering and desoldering station.</li><li>Leverage tool: in this case a screw driver.</li></ul><h3>Guide</h3><h4>1. Open both battery cases to analyze the problem</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*og0XX-S6zY6-VgbY3ui0dQ.png" /><figcaption>Fig 1.1: To the left the faulty battery. To the right, the similar replacement. Both are 14,4V and 1500mAh.</figcaption></figure><p>We’ve discovered that three batteries are faulty: two are at 0V, one at 0.5V, and the last one is fine at 4.5V. However, we already have a new battery and plan to replace all four.</p><p>Once we have the PCB out of their cases, we can compare the form factor and think about easier solutions than just replacing one by one. The perfect solution would be that both PCB matches each other, requiring only a simple substitution, but that’s not the case. Take a look at the connections, it really differs in the DC connector, and electrical contacts are not equidistant and doesn’t match without modifiying it with ingenious and savvy soldering.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*JA2eMtKyRXJ5nl7ce3F3Dg.png" /><figcaption>Fig 1.2: The PCB’s are totally different, the pins doesn’t match, but the case’s form factor is similar (the battery polarities and leds’ PCB are just reversed).</figcaption></figure><h4>2. Proceed to remove all the old batteries for the new</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n5GHkV0UdWCRUuWG6u83TA.png" /><figcaption>Fig 2.1: Removing batteries by breaking carefully the fixation mechanism (pieces are not soldered with tin).</figcaption></figure><p>The key idea of this tutorial is here. If we spot that it is easy to remove a single battery of each PCB, you should just replace only the defective ones. But if you find it difficult, like many strength is required or it takes around 10minutes per cell like in my case(each one is fixed double side, that is 8 points to break per cell, and there are 8 cells). Then we can calculate that both the old and new extraction would be x8 times this, that is 42 min approximately.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cXlBnjrw5xHVCQN177q0SQ.jpeg" /><figcaption>Fig 2.3: The new x4 battery pack is overlapped with the old PCB, because it roughly matches.</figcaption></figure><p>Here is the reason I thought it would be easier to desolder the whole “x4 cell pack” from the <strong>new PCB,</strong> and instead of desoldering one by one, I’d rather solder the whole “x4 pack” above the <strong>old PCB</strong>. So I would reutilise the old PCB along with its own plastic case that fits the driller. This was midset change along the way, was because I noticed the connections matched, although it was in a mirrored way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W71K-1iXnrThOsbNBwAC5w.png" /><figcaption>Fig 2.4: To the left: the plastic structure modified by burning. To the right: the ongoing welding by overlapping pieces.</figcaption></figure><h4>3. Workaround and final result</h4><p>Along the way, I struggled because apparently the battery packs were exactly the same, but eventually had many subtle differences, so it looked like this procedure was not going to work and had to stop and think a workaround without destroying the work I had done until this point. So I encouraged myself to utilize the solder as a sculpturing tool, and decided to burn the plastic until everything was millimetrically suiting and fitting. Not much of effort, rather, it was just something really difficult to foresee or prevent in advance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/478/1*kiGZ10Q6b5xSY1t_Hlwrdg.gif" /><figcaption>Fig 3.1: The final result without the case to make the welding visible.</figcaption></figure><p>And that was the ending result without the case. The case just fitted at the limit but thats an advantage, so the soldering won’t ever get loose or disconnect.</p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f29af42be004" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Download Videos from SharePoint with Sharedown on Windows]]></title>
            <link>https://medium.com/@roizpi/how-to-download-videos-from-sharepoint-with-sharedown-on-windows-69634536207a?source=rss-6e4f300871fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/69634536207a</guid>
            <category><![CDATA[cmd]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[download-videos]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[sharepoint]]></category>
            <dc:creator><![CDATA[Rajendra Pillai]]></dc:creator>
            <pubDate>Sat, 14 Sep 2024 20:44:56 GMT</pubDate>
            <atom:updated>2024-09-14T20:51:15.354Z</atom:updated>
            <content:encoded><![CDATA[<p>DISCLAIMER: This tutorial is for educational purposes only. Follow your organization’s policies. I am not responsible for any misuse.</p><h3>Motivation</h3><p>In some situations we won’t bother signing in to our institution website to search for a video in an unorganized way uploaded on an a third party cloud, but instead, we would like to <strong>watch the videos</strong> <strong>offline</strong>, or want to have our own video hierarchy on our file system, for an improved ease of search.</p><h3>Steps</h3><p>To make Sharedown work well, we will need two software prerequisites. So open cmd console, and install both <strong>ffmpeg </strong>and <strong>YT-dlp </strong>with this commands:</p><pre>winget search ffmpeg        # To search the current ID name<br><br>winget install Gyan.FFmpeg  # Gyan.FFmpeg is the current ID name<br><br>winget install YT-dlp</pre><p>Now you can download the latest release from <a href="https://github.com/kylon/Sharedown/releases">https://github.com/kylon/Sharedown/releases</a> . Currently it is “sharedown.Setup.5.3.4.exe”.</p><p>Sharedown should be ready to install and use straight away. After installation has finished, open it.</p><p>The usage is very straightforward, but I share two images for your convenience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/1*nqEkbFqDfPx7k1ygPel9ug.png" /><figcaption>Fig 1. Copy/paste any SharePoint URL</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/1*PLvG-KEk_QKZXYQi8nXilg.png" /><figcaption>Fig 2. Select the URL and start the DL.</figcaption></figure><p>It will now open your default browser and prompt you to enter your organization’s credentials to access SharePoint. There you are, check your system Downloads folder and enjoy your <strong>offline videos</strong>.</p><h3>For DLing Microsoft Stream videos</h3><p>Use this cmd program instead: <a href="https://github.com/snobu/destreamer">https://github.com/snobu/destreamer</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69634536207a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>