The best programming blog.

Covering a wide array of programming topics.

Stripe Customer emails are now sending from stripe.com instead of

Error: Customer emails are now sending from stripe.com instead of <domain>.com. Solution: Add a txt record in your dns record. Follow the following steps for dns set up in AWS. Go to Stripe emails settings dashboard: https://dashboard.stripe.com/settings/emails Click the Verify button for the domain you want to verify: Stripe will give you a txt record…More

PyCharm How to increase font size of editor

Go to Settings.Click Editor menu.Click Font sub menu inside the Editor’s menu.Increase the font size to your desired value, say 18. Saving the settings will increase the font size of editor window in PyCharm.More

Chrome automatically reopen last opened tabs

You will need to modify “On startup” settings of Chrome to automatically reopen all the tabs which were opened before you closed the browser. Go to Chrome Settings.Click On startup setting.Click Continue where you left off.More

How to upgrade Ubuntu 20.04 to 22.04

Make sure you have at least 30 GB of free space on your hard disk. You can run the following command to know about the free space: For details on how to get the size of hard disk you can following this blog: How to check the hard disk size in ubuntu If you don’t…More

Azure devops agent No usable version of libssl was found

Azure devops pipeline agent fails at the personal access token step: with this error: Looks like the following threads have also reported the same: https://github.com/microsoft/azure-pipelines-agent/issues/3834 https://github.com/microsoft/azure-pipelines-agent/issues/3922 Dotnet6 migration Solution is to wait until MS ships the latest version of their agent built with .NET 6.0 version which officially supports the Open SSL 3 version.More

Ubuntu Linux Directory not empty

If you are getting the Directory not empty error while remoing a directory in Ubuntu Linux then the solution is to empty the directory first which you can do via following command: You can run the rmdir command now to delete the directory:More

How to empty directory Ubuntu Linux

Here is the command to empty a directory / remove all files from a directory in Ubuntu Linux: If your directory is in a nested path you can remove it like this: If the command is giving permission error for some write protected files, you can run this:More

Connect AWS EC2 Ubuntu instance via SSH

Open an SSH client, MAC’s terminal for an instance. Get the location of your private key file on your local machine. The private key file was created at the time of Ubuntu EC2 instance was created. Let’s say the name of the file is My-Server-Key-Pair.pem. Create a new folder named MySSHKeys at the root of…More

ng test multiple karma configs

If your goal is to have multiple karma configs in your solution to support both your CI pipeline and your local dev enviroment then you can use the –karma-config option in your ng test command to do the same. You can create a separate karma-local.conf.js (clone of karma.conf.js) in your solution with your custom changes…More