The best programming blog.

Covering a wide array of programming topics.

How to enable HTTP 3 on CloudFront

Go to AWS CloudFront distribution where you want to enable the HTTP 3 protocol. Click the Edit button in the Settings pane. On the next page, check the HTTP/3 checkbox under Supported HTTP versions setting. Hit the Save changes button at the bottom of the page. The distribution will share the status the Deploying state,…More

connect() to unix:/run/php/php7.4-fpm.sock failed

The first step is to check the php version installed on your machine: If the output is PHP 8, you need to follow the following steps: Find the exact php sock you have on your Ubuntu machine, you can refer the following blog for doing the same: Find the php sock installed on Ubuntu Let’s…More

Update all nuget packages in Visual Studio Code

Follow the below mentioned steps to update all nuget packages in solution in VSCode Download the following extension: NuGet Package Manager GUI Open command window with Command + Shift + P (MAC) or Ctrl + Shift + P (Windows) Search for Nuget and select Nuget Package Manager GUI Hit Update All Packages to update all…More

Find the php sock installed on Ubuntu

On Ubuntu, you can run the following command in your terminal to locate the PHP sock: The output will be like this: This command will look for any files with the name “php” followed by “sock” throughout the whole file system, beginning at the root directory. Any files that match this pattern will have their…More

Eject water from AirPods

If you expose your AirPods to water or other liquids, remove any traces of the liquid right away to avoid damage. The AirPods Pro and AirPods have a built-in water ejection feature that can be activated with Siri Shortcuts. Here’s how: Install Siri Shortcuts on your iPhone. Install the Water Eject shortcut on your iPhone,…More