Programming

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 »

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 »

Configuring Git with More than One Remote Repository

Git Remote A branch’s “remote” is a URL from which your local git repo fetches changes. Your local git repo is entirely yours—other people’s code has no effect on it until they push their commits to the remote. Hopefully, you’re all using the same remote and everything is in sync, but the remote is just

Configuring Git with More than One Remote Repository Read More »