<?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 Gayan Kalhara on Medium]]></title>
        <description><![CDATA[Stories by Gayan Kalhara on Medium]]></description>
        <link>https://medium.com/@gayan_kalhara?source=rss-2fa3ffb0ac6b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*7K2U3jBpQ_YnyeDdaDOkcw.jpeg</url>
            <title>Stories by Gayan Kalhara on Medium</title>
            <link>https://medium.com/@gayan_kalhara?source=rss-2fa3ffb0ac6b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 22:35:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gayan_kalhara/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[Troubleshooting Package Upgrade Errors on DigitalOcean Ubuntu Servers]]></title>
            <link>https://medium.com/@gayan_kalhara/troubleshooting-package-upgrade-errors-on-digitalocean-ubuntu-servers-9c84919d107a?source=rss-2fa3ffb0ac6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c84919d107a</guid>
            <category><![CDATA[ubuntu-server]]></category>
            <category><![CDATA[ubuntu-20]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[server-management]]></category>
            <category><![CDATA[ubuntu-18]]></category>
            <dc:creator><![CDATA[Gayan Kalhara]]></dc:creator>
            <pubDate>Thu, 22 Feb 2024 03:02:40 GMT</pubDate>
            <atom:updated>2024-02-22T03:02:40.130Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e6rchNc1u1MVKo5frX-f1g.png" /></figure><p>Ever encountered frustrating errors while upgrading your packages on an Ubuntu server using the command apt update &amp;&amp; unattended-upgrade -d? Perhaps you&#39;ve stumbled upon messages like:vbnetCopy code</p><pre>E: The repository &#39;http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.2/ubuntu bionic Release&#39; no longer has a Release file.<br>N: Updating from such a repository can&#39;t be done securely, and is therefore disabled by default.</pre><p>Don’t worry; you’re not alone. These errors occur when the repository specified in your package sources list no longer contains the necessary files for package management, often due to changes in the repository’s configuration or discontinuation of support.</p><p>But fear not, for there’s a simple solution to resolve this issue and get your package upgrades back on track. Here’s a step-by-step guide to fix it:</p><ol><li>Login as <strong>root</strong>: Ensure you have administrative privileges to make changes to system files.</li><li>Edit the package sources list: Open the package sources list file for editing using your preferred text editor. For example:</li></ol><pre>nano /etc/apt/sources.list</pre><p>Comment out DigitalOcean mirrors: Locate any DigitalOcean mirrors in the file and add a # at the beginning of the lines to comment them out. For instance:</p><pre># deb-src [arch=amd64] http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.2/ubuntu bionic main <br># deb-src [arch=amd64] http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.2/ubuntu bionic main</pre><ol><li>After commenting out the problematic lines, save the changes and exit the text editor. (Ctrl + X )</li><li>Now that you’ve adjusted the package sources list, retry the upgrade command:</li></ol><pre>apt update &amp;&amp; unattended-upgrade -d</pre><p>Voila! It should work now.</p><p>With these simple steps, you’ve successfully resolved the repository errors and can now proceed with upgrading your packages smoothly.</p><p>When encountering errors like the one mentioned, it indicates that the specified repository no longer provides the necessary files for package management, leading to a failure in the update process. By editing the package sources list and commenting out the problematic repository entries, you effectively disable them, allowing the update process to proceed without encountering errors. Once the adjustments are made, the system can fetch package updates from other repositories without issue, ensuring seamless package management on your Ubuntu server.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c84919d107a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Repetitive Data into Columns: How to Transform a Single Column into Multiple Columns in Google…]]></title>
            <link>https://medium.com/@gayan_kalhara/repetitive-data-into-columns-how-to-transform-a-single-column-into-multiple-columns-in-google-76dbca0c22b1?source=rss-2fa3ffb0ac6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/76dbca0c22b1</guid>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[google-sheets]]></category>
            <category><![CDATA[spreadsheets]]></category>
            <category><![CDATA[data-transformation]]></category>
            <dc:creator><![CDATA[Gayan Kalhara]]></dc:creator>
            <pubDate>Sat, 03 Jun 2023 12:28:09 GMT</pubDate>
            <atom:updated>2023-06-03T12:28:09.985Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a1TEP8JerhuooajCYBkOsw.png" /></figure><h3>Repetitive Data into Columns: How to Transform a Single Column into Multiple Columns in Google Sheets</h3><p>Have you ever needed to transfer a table from a website to Google Sheets, only to find that it all ends up in one long column instead of neatly organized across several columns? This happened to me when I was extracting data from Google Ads, where unfortunately, there was no CSV or Excel download option available.</p><p>Let me show you. Here’s a screenshot of the Google Ads table I was trying to duplicate in Sheets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cggq1MbX6LTLt8x9Fu-tUA.png" /><figcaption>An screenshot of the Google Ads Table I wanted to copy</figcaption></figure><p>Then I selected the text and pasted it into Google Sheets using the <strong><em>“Paste Special -&gt; Values Only”</em></strong> command. But look at what happened.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PQ0p1SF9QPXspeLJmhxUuQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G3Nl2ZAs-72U-Eda_u-PKg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/992/1*jixw9vaDUFbGpK0E5g6XhA.png" /></figure><p>The data was all crammed into one column. If only there were an easy, magic button to spread this data across multiple columns, right? Sadly, I couldn’t find a straightforward solution. Existing methods were riddled with complex formulas and involved a maze of steps.</p><p>So, to simplify things, I’ve created an easy tutorial that anyone can follow. With just a few easy steps, you can arrange your data into neat columns. Let’s get started:</p><p>After pasting your data into Google Sheets, select the entire dataset. You could even choose the entire column if necessary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*RfgAhUPhHv6TIBySt10Pkw.png" /></figure><p>With the data selected, assign a name to the range. Type in any name that suits you and press ‘Enter’.</p><p>Then Open a new sheet within the same workbook. (This is optional. You can do it in the same worksheet if necessary.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*jrg0iOY0vjUMDClOTDc35A.png" /></figure><p>Now, you will copy and paste the formula given below into any cell on the new sheet. Remember to replace the number 7 in the formula with the number of columns into which you want to divide your data. In my case, I needed to divide the data every 7 rows.</p><pre>=INDEX(data,(ROW()-MIN(ROW(data)))*7+COLUMN()-MIN(COLUMN(data))+1,1)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K_R0DonhEsZBy9CMXfjV7A.png" /></figure><p>Once you’ve pasted the formula, use the <strong>fill handle </strong>to drag and drop it across for the desired number of columns. Then, repeat the process, dragging the formula down to cover all rows.</p><blockquote>If you’re new to spreadsheets, the fill handle in Google Sheets is a feature used to quickly duplicate content across cells. Just click the small blue square at the cell’s bottom right, then drag and release it over the cells you want to fill with the same content.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dcNFkBKVXHwF90z2elVStw.png" /></figure><p>Similarly drag it down.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*66_5lzcADpZM38tZnZBQQw.png" /></figure><p>And there you have it! With these simple steps, your single column data is now neatly distributed across multiple columns. No need for complicated formulas or long procedures! Give it a try and let me know your thoughts in comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76dbca0c22b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to transfer a domain from GoDaddy to NameCheap?]]></title>
            <link>https://medium.com/@gayan_kalhara/how-to-transfer-a-domain-from-godaddy-to-namecheap-ff4aeb4c0a84?source=rss-2fa3ffb0ac6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff4aeb4c0a84</guid>
            <category><![CDATA[import-domain-namecheap]]></category>
            <category><![CDATA[godaddy-to-namecheap]]></category>
            <category><![CDATA[domain-transfer]]></category>
            <category><![CDATA[godaddy-domain-export]]></category>
            <category><![CDATA[namecheap-domain-transfer]]></category>
            <dc:creator><![CDATA[Gayan Kalhara]]></dc:creator>
            <pubDate>Sat, 27 May 2023 09:46:02 GMT</pubDate>
            <atom:updated>2023-05-27T09:46:02.710Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VTXEvgmGGCfbL42tAI0hug.jpeg" /></figure><p>In this blog post, I’ll show you a step-by-step guide on how to transfer your domain from GoDaddy to NameCheap.</p><h3>Why NameCheap?</h3><ol><li>The main reason I recommend NameCheap is because their domain prices are relatively cheap.</li><li>Their domain control panel is more user-friendly.</li><li>They offer free WHOIS Guard for the first year.</li><li>They accept PayPal as a payment method.</li><li>GoDaddy offers no instant facility to live chats. NameCheap’s support system is more easy to use than GoDaddy.</li></ol><p>I recommend GoDaddy if you’re purchasing a domain just for the first year as GoDaddy offers massive discount coupon codes for the first year.</p><h3>Steps to Follow</h3><ol><li>First, you have to log in to GoDaddy using the GoDaddy account you registered the domain.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/433/1*5dznfRQHL-1AY5okgE9cNA.png" /></figure><p>2. When you’re logged in you’ll be redirected to <strong>My Products</strong> page. There you can see the list of domains you registered with GoDaddy.</p><p>Select <strong>Manage</strong> button of the domain you wish to transfer.</p><ol><li>Scroll now and navigate to <strong>Additional Settings</strong> section.</li><li>Switch off the <strong>Domain Lock</strong>.</li><li>Please note that will take about 5–15 mins to change the domain lock status. If the domain lock is not switched off after you changed the setting don’t worry. It’s just because the domain lock status is set to Pending. If you switch to <strong>Advanced List View</strong> you can see the status correctly.</li><li>You’ll receive an Email from GoDaddy after you request this change.</li><li>Until the domain is unlocked you can request the Authorization Code for your domain.</li><li>You’ll receive an email shortly from GoDaddy with the Authorization Code for your domain.</li><li>Once the Domain Lock status is set to off you’re ready to proceed to next step.</li><li>Now login to your NameCheap Account. If you don’t have an account create a one from the link below.<br><a href="https://affiliate.namecheap.com/?affId=115867"><strong>Register for an NameCheap Account</strong></a></li><li>Once you’re logged in to NameCheap go to <strong>Domain Transfer</strong> page.</li><li>Enter the domain name you’re transferring and click on the <strong>Transfer</strong> button.</li><li>In the next step you’ll be asked to provide the Authorization Code. This is the code you received from GoDaddy via an Email. Enter it here.</li><li>Then click on Add to Cart button at the bottom right corner.</li><li>Then click on View Cart to Review the order. Before you confirm the order check whether a coupon exist for Domain Transfer. So you can save few bucks.<br><a href="https://www.namecheap.com/promos/coupons.aspx"><strong>Check for Available Coupons</strong></a><br>At the time of writing I used this coupon to get an discount.</li><li>Now enter the coupon code and get yourself a discount.</li><li>Confirm your order and pay for it using Credit Card, PayPal or NameCheap Account Balance.</li><li>Now check your email inbox. You should get an Email from NameCheap like this.</li><li>Click on the link on that email complete the transfer. You’ll see a webpage like this.</li><li>Select I approve and Submit it.</li><li>Now in your NameCheap Domain Settings you can see the status of the transfer process.</li><li>If you want to read more about the transfer status read the official NameCheap knowledgebase from the link below.<br><a href="https://www.namecheap.com/support/knowledgebase/article.aspx/580/83/transfer-statuses">https://www.namecheap.com/support/knowledgebase/article.aspx/580/83/transfer-statuses</a></li><li>When the status is changed to Awaiting Release from Previous Registrar, go to your email inbox again and check whether you received an email from GoDaddy.</li><li>Now go back to your GoDaddy account. You’ll see a notification like this.</li><li>Click View Details there. If you don’t see a notification go to Domains → Transfers.</li><li>You’ll get a popup like this. Click the link there to Accept the transfer.</li><li>Now select I Agree and click OK.</li><li>That’s all you have to do. You’ll see a notification like this.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff4aeb4c0a84" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to install Ubuntu Mate to Raspberry Pi 2 using macOS]]></title>
            <link>https://medium.com/@gayan_kalhara/how-to-install-ubuntu-mate-to-raspberry-pi-2-using-macos-b2e3efe03d9f?source=rss-2fa3ffb0ac6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2e3efe03d9f</guid>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[ubuntumate]]></category>
            <category><![CDATA[macos]]></category>
            <dc:creator><![CDATA[Gayan Kalhara]]></dc:creator>
            <pubDate>Sat, 27 May 2023 09:38:05 GMT</pubDate>
            <atom:updated>2023-05-27T09:42:07.982Z</atom:updated>
            <content:encoded><![CDATA[<p>Go to Ubuntu Mate download page from the link below.</p><p><a href="https://ubuntu-mate.org/download/">Download | Ubuntu MATE</a></p><p>Download the compatible image for your Raspberry Pi Model.</p><p>As I’m using Raspberry Pi 2 Model B for this demo I’m gonna download the following image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*MdR8-9Uk-YY-qnmt8K8Msw.png" /></figure><p>Extract the image using any program.</p><p>Then you’ll have the file <strong>ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img</strong></p><p>Then plug your microSD card to your MacBook using the SD Card Adapter.</p><p>In Terminal type <strong>diskutil list </strong>and find your SD card.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QMb12Nfn7XRrvfcVfExFwA.png" /></figure><p>Unmount the disk. Run diskutil unmountDisk /dev/disk2</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V43dLXS8ky8fGp3mxHYclA.png" /></figure><p>Then enter the following command.</p><p><strong>sudo dd if=/Users/gayan/Desktop/ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img of=/dev/disk2 bs=1m</strong></p><p>You’ll not get any output for a long time. Don’t panic. Just give it some time…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EVTcg-LTGAf9Z_4oCsK8IA.png" /></figure><p>For me, it took about 40 mins to write the image to the microSD card.</p><p>Now eject the disk and take the card out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*1KqSJNzlXDZOTO1vI9Lk_w.png" /></figure><p>Ctrl +T to monitor progress</p><p>sudo dd bs=1m if=/Users/gayan/Desktop/2020–02–13-raspbian-buster-full.img of=/dev/rdisk2 conv=sync status=progress</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2e3efe03d9f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to get chatGPT Mobile App on iOS prior to its official release in your country]]></title>
            <link>https://medium.com/@gayan_kalhara/how-to-get-chatgpt-mobile-app-on-ios-prior-to-its-official-release-in-your-country-1da1f0129f88?source=rss-2fa3ffb0ac6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/1da1f0129f88</guid>
            <category><![CDATA[chatgpt-mobile-app]]></category>
            <category><![CDATA[chatgpt-ios]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[chatgpt-app-store]]></category>
            <category><![CDATA[chatgpt-ios-app]]></category>
            <dc:creator><![CDATA[Gayan Kalhara]]></dc:creator>
            <pubDate>Sat, 27 May 2023 09:31:53 GMT</pubDate>
            <atom:updated>2023-05-27T09:31:53.636Z</atom:updated>
            <content:encoded><![CDATA[<p>You all heard about chatGPT, right? Yeah, it’s buzzing everywhere! It’s like everyone’s talking about this new AI companion. Can’t blame them though, it’s a pretty awesome tool. It’s like having a personal assistant, study buddy, and chat buddy, all rolled into one app. This beauty is from OpenAI and it’s designed to help with everything from research to brainstorming ideas, to just having a friendly chat. But you already know all this, don’t you?</p><p>I guess you’re here to figure out how to install this shiny new app on your iOS device, especially if it’s not officially out in your country yet, right? Well, my friend, you’re in luck because I’ve got a friendly step-by-step guide just for you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*krLl9mWm-Svv3c64" /></figure><p>First of all you need to change your Apple ID country or region.</p><ol><li>Go to <strong>Settings</strong> App.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/0*85E28pXd-qP1QhC5.png" /></figure><p>2. Tap on your <strong>profile photo / name.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*dqWhzuVEz7SAauRoE1kwVQ.jpeg" /></figure><p>3. Then go to <strong>Media &amp; Purchases</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*NNuuNCsi9ikz_AtlxOSbYw.jpeg" /></figure><p>4. Tap on “View Account”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*cwwJ6c-mVq47miW8wacVgw.jpeg" /></figure><p>5. Tap on Country / Region</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*D3zzt6nJuBMKyPlniljoOw.jpeg" /></figure><p>6. Tap on “Change Country / Region”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*yCQrg0Q7IycjK8VHlMgWZg.jpeg" /></figure><p>7. Select <strong>“United States”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*QHe7EqtBj695cwRDBeo0-Q.jpeg" /></figure><p>8. <strong>“Agree” </strong>to Terms &amp; Conditions</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*wit-IoMM5lpVJqRu58iDmA.jpeg" /></figure><p>9. Select Payment Method as “None” and Fill the Billing Details. For the address and phone use a random address. It doesn’t need to be a correct address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*GQJZHSFqGrCigsmRcIPETg.jpeg" /></figure><p>10. Once you update these details, you can install the chatGPT app now. Just go to App Store and search for “openai chatgpt”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*LWBBMqNYH1iyttMnFNObUg.jpeg" /></figure><p>11. This is the app. Get familiar with the icon. There are many other similar apps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FtBLDBcghTRxeKqs.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lZmqmwkHWedvjBij" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VCesp1odnHRxlUoV.jpg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1da1f0129f88" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to delete an Amazon S3 bucket (Simple Storage Service)]]></title>
            <link>https://medium.com/@gayan_kalhara/how-to-delete-an-amazon-s3-bucket-simple-storage-service-b5e04a71594f?source=rss-2fa3ffb0ac6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b5e04a71594f</guid>
            <category><![CDATA[s3-delete-bucket]]></category>
            <category><![CDATA[amazon-s3]]></category>
            <category><![CDATA[amazon-aws]]></category>
            <category><![CDATA[amazon-s3-delete-bucket]]></category>
            <category><![CDATA[simple-storage-service]]></category>
            <dc:creator><![CDATA[Gayan Kalhara]]></dc:creator>
            <pubDate>Mon, 20 Jun 2022 21:10:24 GMT</pubDate>
            <atom:updated>2022-06-20T21:10:24.750Z</atom:updated>
            <content:encoded><![CDATA[<p>Navigate to Amazon S3</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x7t9dzNJfxEKrmGNETRafw.png" /></figure><p>In order to delete any bucket, the bucket must be empty.</p><p>Select the bucket and click Empty</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vrBjm-mIG7ugGHn8yCNEzA.png" /></figure><p>Confirm Emptying the Bucket</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rsF88tvXPe6UzXd8PonXwg.png" /></figure><p>Once emptied, delete the bucket configuration as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pWouoVvW3hvvKOke7vmCZg.png" /></figure><p>Confirm deleting the bucket</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Mu1MwDYPxiPymjMniMnpQ.png" /></figure><p>That’s all! 🎉</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b5e04a71594f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Remove Hosted Zone on Route 53 — Amazon AWS]]></title>
            <link>https://medium.com/@gayan_kalhara/remove-hosted-zone-on-route-53-amazon-aws-341e743888f6?source=rss-2fa3ffb0ac6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/341e743888f6</guid>
            <category><![CDATA[delete-hosted-zone]]></category>
            <category><![CDATA[aws-hosted-zone]]></category>
            <category><![CDATA[amazon-aws]]></category>
            <category><![CDATA[route-53]]></category>
            <category><![CDATA[aws-route-53]]></category>
            <dc:creator><![CDATA[Gayan Kalhara]]></dc:creator>
            <pubDate>Mon, 20 Jun 2022 21:03:55 GMT</pubDate>
            <atom:updated>2022-06-20T21:03:55.543Z</atom:updated>
            <content:encoded><![CDATA[<h3>Remove Hosted Zone on Route 53 — Amazon AWS</h3><p>In order to remove a hosted zone, you must first delete all resource record sets except the NS and SOA resource record sets for the zone apex.</p><p>Navigate to Route 53</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l-pXecwvfdBahsfu7VPZWQ.png" /></figure><p>Click on your hosted zone</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*arMU7V38kcTk8wCKZjFWNw.png" /></figure><p>Select all records except NS and SOA records</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AimDQaqvJHfC4Lj7rU8Szw.png" /></figure><p>Click Delete Records and confirm the deletion</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/1*uG3zvJIjjp3FkqloBvQXRg.png" /></figure><p>Go back to hosted zones</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/574/1*HwzfoQpvR_HQAJ4AHHnQow.png" /></figure><p>Select the hosted zone and click delete</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O3uCBbXWztyPZIO2wYySjg.png" /></figure><p>Confirm the deletion</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fmV1BINYb9P-aYvcR9eJGQ.png" /></figure><p>That’s all! 🎉</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=341e743888f6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to terminate an EC2 instance in Amazon AWS]]></title>
            <link>https://medium.com/@gayan_kalhara/how-to-terminate-an-ec2-instance-in-amazon-aws-1da0905b50a9?source=rss-2fa3ffb0ac6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/1da0905b50a9</guid>
            <category><![CDATA[delete-ec2-instance]]></category>
            <category><![CDATA[amazon-aws]]></category>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[delete-instance]]></category>
            <category><![CDATA[terminate-ec2-instance]]></category>
            <dc:creator><![CDATA[Gayan Kalhara]]></dc:creator>
            <pubDate>Mon, 20 Jun 2022 20:48:13 GMT</pubDate>
            <atom:updated>2022-06-20T20:48:13.411Z</atom:updated>
            <content:encoded><![CDATA[<p>Sign in to your AWS dashboard.</p><p>Search for EC2</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SgFuTJtYjpJw39qkLsIDjw.png" /></figure><p>Navgiate to Instances</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*-x3wDCs_4nyHYkJ9UCbH2w.png" /></figure><p>Select the instance you want to terminate</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*WmUWbXrRSic8uqNEW5N30w.png" /></figure><p>Terminate the Instance</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/697/1*1K7y3Engy7RvxDtX6v-Z6w.png" /></figure><p>Confirm the instance termination</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/1*Yq3-Z_qCPkOvaOuND5sf2w.png" /></figure><h3>Terminating vs. Stopping an Instance</h3><p>You can either terminate or stop a running instance. When you terminate or stop an instance, you ensure that it does not accumulate any additional charges. The instance will shut down in both cases, and the virtual machines will vanish.</p><p>A stopped instance, unlike a terminated one, can be restarted. You should stop an instance rather than terminate it if you wish to use it later.</p><p>When you stop an instance, the EBS volume remains. The bootable EBS volume that was attached will also be kept. The volume will remain in its availability zone and will be subject to usual charges. Stopping any instances that you will only use for a short time is a smart idea. To minimise any unnecessary expenditures, you should terminate an instance unless you plan to start it within a short period of time.</p><h3>Can I Restart a Terminated Instance?</h3><p>You cannot restart an instance once it has been terminated. You’ll have to make a new one. Additionally, the data connected with the terminated instance is not recoverable.</p><h3>AWS Termination Protection</h3><p>To avoid unintentional deletion, set AWS termination protection. The DisableApiTermination property protects against unintentional deletion. Spot Instances, on the other hand, cannot be protected from being terminated. After you have exceeded the agreed-upon price, Spot Instances will immediately end.</p><p>Open the Amazon EC2 console and go to “Launch Instance” to enable this protection at launch time. Then, check the “Enable Termination Protection” box and define the instance specifics.</p><p>For running and ending instances, you can enable termination protection in the Instance Settings section of the Actions page. This protection can be turned off at any moment in the Instance Settings.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1da0905b50a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to enable PHP GMP extension on MAMP Pro (Windows)]]></title>
            <link>https://medium.com/@gayan_kalhara/how-to-enable-php-gmp-extension-on-mamp-pro-windows-83decea4f7cd?source=rss-2fa3ffb0ac6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/83decea4f7cd</guid>
            <category><![CDATA[mamp-pro]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[gmp]]></category>
            <category><![CDATA[php-gmp-extension]]></category>
            <category><![CDATA[php]]></category>
            <dc:creator><![CDATA[Gayan Kalhara]]></dc:creator>
            <pubDate>Sun, 24 May 2020 07:48:19 GMT</pubDate>
            <atom:updated>2023-06-09T09:32:53.901Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to install PHP GMP extension on MAMP Pro (Windows)</h3><blockquote>&lt;Dependency&gt; requires ext-gmp * -&gt; the requested PHP extension gmp is missing from your system.</blockquote><p>If you got an error similar to this I’m gonna tell you how to fix this issue.</p><p>Edit php.ini Template of the PHP version you’re currently using.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/726/1*UWVpNbtxF4nYuT4kCo7CCw.png" /></figure><p>Add this line in the extensions section.</p><blockquote>extension=php_gmp.dll</blockquote><p>Make sure php_gmp.dll exists on your ext directory. The path should be something like this.</p><blockquote>C:\MAMP\bin\php\php7.4.1\ext</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/516/1*kG8_oxE5_EW3fW24M-fNWg.png" /></figure><p>Save the file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/254/1*PmshCKgNuzqdgCQuTn9WWg.png" /></figure><p>Restart the servers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/465/1*jwDo79Mf89FL5Wc5V9ML2Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83decea4f7cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Disable Gutenberg Editor in Wordpress without any plugins]]></title>
            <link>https://medium.com/flincube/how-to-disable-gutenberg-editor-in-wordpress-without-any-plugins-c1ea88b28e63?source=rss-2fa3ffb0ac6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1ea88b28e63</guid>
            <category><![CDATA[disable-gutenberg]]></category>
            <category><![CDATA[gutenberg]]></category>
            <category><![CDATA[tips-and-tricks]]></category>
            <category><![CDATA[wordpress]]></category>
            <category><![CDATA[wordpress-classic-editor]]></category>
            <dc:creator><![CDATA[Gayan Kalhara]]></dc:creator>
            <pubDate>Mon, 23 Dec 2019 07:51:14 GMT</pubDate>
            <atom:updated>2019-12-23T07:51:14.115Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nnkkcBHwcQ1ykvJJP318bQ.png" /><figcaption>Gutenberg Editor</figcaption></figure><p>Since Wordpress 5.0, you will get the new Gutenberg editor as the default editor. But most of us are not familiar with using it. This guide will help you to disable the Gutenberg editor using a simple line of code and get back the classic editor right away.</p><p>First, go to Appearance → Themes to find out which theme is currently active.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/452/1*3x5u-ghTlHcXF6whD2y3mA.png" /><figcaption>Appearance → Themes</figcaption></figure><p>Click on the currently active theme name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/1*MKSz8cKv75RBqEcKJ7IgRQ.png" /></figure><p>After clicking on the theme, you’ll get a popup like this. There note down the theme identifier from the address bar.</p><p>…themes.php?theme=<strong><em>&lt;YOUR_THEME_ID&gt;</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*MRks6CRGUrpgDRZIjZGGDg.png" /></figure><p>Navigate to Appearance → Theme Editor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*8Rf3GIhI7YHeXR430cWeZg.png" /><figcaption>Theme Editor</figcaption></figure><p>If this is the first time you’re navigating to the Theme Editor page, you’ll get a warning like this. Click on “I understand”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*aeu4crO8_WbA8fOV54udmw.png" /></figure><p>As mentioned here, it’s better to create a child theme as you’ll lose the modifications when you update the theme. The steps to create a child theme is mentioned in the link below. If you prefer to edit the current theme skip this section.</p><p><a href="https://developer.wordpress.org/themes/advanced-topics/child-themes/">https://developer.wordpress.org/themes/advanced-topics/child-themes</a></p><p>When creating the child theme, in style.css use the theme id you noted down in the previous step as the template.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*hE3HymQHDCMItguODW4pWA.png" /></figure><p>Once you have created the child theme, go back to Appearance → Theme Editor and select your child theme if you have created a one. If not select your currently active theme.</p><p>Select functions.php in the sidebar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*S_XeXk89KgeXeQDlNJZcUw.png" /><figcaption>Appearance → Theme Editor</figcaption></figure><p>Just copy and paste the code below and hit “Save”</p><blockquote>add_filter( ‘use_block_editor_for_post’, ‘__return_false’ );</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/534/1*0fnluEBLk_h4c25ZfKUkTg.png" /></figure><p>That’s all! You successfully got the classic editor back. Happy Writing!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n23GB8bxdTdg97t93BufTA.png" /><figcaption>Wordpress Classic Editor</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1ea88b28e63" width="1" height="1" alt=""><hr><p><a href="https://medium.com/flincube/how-to-disable-gutenberg-editor-in-wordpress-without-any-plugins-c1ea88b28e63">How to Disable Gutenberg Editor in Wordpress without any plugins</a> was originally published in <a href="https://medium.com/flincube">Flincube</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>