Find your dev solution

Get working code

Tradecoder Developers Hub

How to find the Symmetric Difference?

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,...

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...

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...

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...

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...

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...

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...

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...