Programming

How to Fix “Remote Origin Already Exists”

Keep in mind that the solution you’ll use will depend on your specific situation because there are a few different scenarios that can cause this problem to happen.  1. Remove the Existing Remote The first scenario we’ll cover is the one in which there’s already a remote called origin, but it’s the wrong remote for some reason. Let’s …

How to Fix “Remote Origin Already Exists” Read More »

How to install next.js

To install Next.js, you need to have Node.js installed on your machine. Check the node version installed in your machine, to check run node -v in your terminal Installation The recommended installation of Next.js is to use npx create-next-app@latest command. This will install all the necessary files and set up everything. npx create-next-app@latest If you …

How to install next.js Read More »

How to use mongodb in Ubuntu 20.04

MongoDB is a document-based non-relational database management system. It’s also called an object-based system. It offers faster query processing but with an increased load and system requirements. In order to get started with Mongodb, you need to install Mongodb to your computer. To install the mongodb, you need to run this command. sudo apt updatesudo apt upgradesudo apt install mongodb …

How to use mongodb in Ubuntu 20.04 Read More »

Why Thunder Client extension is better than postman?

Thunder client is a useful extension of VSCode for checking and testing your API. It is a lightweight alternative to Postman. Rather than installing an application to test your API, we can just use an extension in VSCode that works similarly to Postman but is easier and less time-consuming. Features of Thunder Client All the …

Why Thunder Client extension is better than postman? Read More »

How to Fix error in Google_Client and Google_Service_Sheets in PHP Sheets API

After running this composer require google/apiclient:^2.0 in order to use the PHP Google Sheets API. Some of you may encounter this problem, such as getting error when typing Google_Client or using Google_Service_Sheets. To fix Google_Client error you only need to restart your Visual Studio Code. However, the error in the Google_Service_Sheets are still there and …

How to Fix error in Google_Client and Google_Service_Sheets in PHP Sheets API Read More »

Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\google\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 67

If you encountered this problem, you can easily fix this by simply following instruction below. The problem with this is in PHP 7.2+ the parameter for count() can’t be NULL. The warning gets displayed when $this->handles equals NULL. So to fix this, just go to the CurlFactory.php file inside the vendor folder on your PHP …

Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\google\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 67 Read More »