Web Design and Web Development Solution

Web Design and Web Development Solution

Do you need a website ? Need to re-redesign or re-build your website? Need to fix any problem with your existing website? Need to add some additional features? No more late, just contact us to fix an appointment for a meeting with you. We'll do the rest. Satisfaction...

Digital Marketing Solution

Digital Marketing Solution

Why do you need digital marketing?Digital marketing helps you to reach your business to a large number of people. Effective digital marketing creates a strong marketplace for you to expand your business. The more you involve in this system, the more your brand name...

Add custom domain to github repository

Add custom domain to github repository

Full guideline for using custom domain to any github repository. If you are looking for a way to publish / point / redirect your github repository to your own custom domain, this solution is for you. If you find different github features due to github site update, we...

How to convert a Set to an Array? – JavaScript

When you remove the duplicate numbers from an array with new Set() method, it turns into a set instead of an array like this let duplicates = [1,2,3,4,5,6,2]; // remove the duplicates let noDuplicates = new Set(duplicates); // output Set {1,2,3,4,5,6} Duplicates may...

How to find the Symmetric Difference? – JavaScript

Easy Solution to find the Symmetric Difference: function sym(args) { const elements = Array.from(arguments) .reduce((a,b)=>a.concat(b).filter(e=>a.indexOf(e)==-1||b.indexOf(e)==-1)); return [... new Set(elements)]; } sym([1, 2, 3], [5, 2, 1, 4]); // result...

How to enable VT-x on Windows?

How to enable VT-x on Windows?

A simple solution for Warning: VT-x is disabled! A step by step simple solution to enable VT-x on windows. This is required to allow Virtual Device on PC. And you may face this issue for many reasons, mostly if you are trying to run any program on a Virtual Device in...

How to fix Shallow update not allowed?

This issue comes with cloning a project with Shallow Clone and you want to push your codes to github. What is shallow clone? Shallow clone is just cloning a repository using --depth. If you use Shallow clone to your local machine, it will not allow you to push your...

How to extend C Drive or merge 2 Drives on Windows?

How to extend C Drive or merge 2 Drives on Windows?

If you are looking for a solution to extend the C drive storage on Windows or Merge 2 drives here is a simple solution for you. Primary steps First to know the type of the drives- primary or logical Right click on the Computer (This PC) Click on Manage Click on Disk...

How to remove Users from WordPress Sitemap

First check your website for the sitemap output yourWebsite/wp-sitemap.xml Now, if the users or author sitemap link shows here, simply follow these steps to remove it. Login to cpanel Open File Manager Select your website folder Open wp-includes folder Open sitemaps...

Most used git commands

Git Book, Git References, Git Documentation git clone Clone a public repo git clone https://github.com/username/repo-name.git local-machine-folder-name git init Initialize or reinitialize a git repo git init git add Add / save all the changes in a repo git add --all...

How to rename windows drive name C D E F G

How to rename windows drive name C D E F G

If you want to change / rename the Windows Drive name Letter to another Letter, you can follow this simple solution. Right click on Start menu Click on Disk Management Right click on the disk you want to rename Click on Change Drive Letter and Paths... Click on Change...

How to update object state with react useState()

To update a state in React is a very simple process using react hooks - useState. Check the code below: Update simple state // import useState hook import React, {useState} from 'react'; //create and export the component export default function MyName(){...

How to run useEffect() only once | React Hooks

Just add an empty array after the callback function separated by a comma useEffect(callback, []); useEffect(()=>{}, []); And if you get any warning for missing dependency, add that inside the array useEffect(()=>{ // your code here }, [dependency_item]); If the...

How to deploy React App to github pages | gh-pages

Make an empty repo on github (no file) Install your react app using this command npx create-react-app yourprojectname Go to your project cd yourprojectname Intall gh-pages npm install gh-pages Add a homepage to package.json...

Get started with Create React App

Create a react app with Zero build configuration on your local machine. Please ensure that you have Nodejs installed on your machine Step 1: Open your terminial run this command npx create-react-app my-app This will install all the necessary codes to your device. Here...

Basic HTML (tutorial for the beginners)

Basic HTML (tutorial for the beginners)

Learn HTML. Anyone who wants to learn to build websites, learning HTML is a must. A single HTML web page has mainly some essential parts- html, head, body. Here is a basic formation of HTML pages to understand at the starting level…