error Failed to install the app. Please accept all necessary Android SDK licenses using Android SDK Manager: “$ANDROID_HOME/tools/bin/sdkmanager –licenses”. React native error. How to fix?

error Failed to install the app. Please accept all necessary Android SDK licenses using Android SDK Manager: “$ANDROID_HOME/tools/bin/sdkmanager –licenses”. Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 You have to accept all license agreements for using Android SDK Manager. Navigate to the following directory and run sdkmanager with licenses as an argument. It would prompt you to accept all license agreements.  … Read more

Downloading files with cURL command

Find out how to download files using curl command in terminal. Curl command helps to access a URL directly from the command-line in Linux. cURL which stands for Client URL is a command-line tool for transferring data using various network protocols. In some scenarios, we might want to download a file from a URL and save it to a file. … Read more

Proxying npm packages using Nexus

In this post, you will learn how to use your Nexus npm proxy repository as a proxy for your node js project’s npm packages. You also learn how to concfigure npmrc for proxying npm packages from Nexus. Advertisements Nexus is a repository manager that helps in managing your project’s dependencies, artifacts & metadata, docker images, … Read more

How to find duplicate documents in a MongoDB collection?

In this post we will show you how to find duplicate documents in your existing database using MongoDB’s aggregation pipeline. Let’s take a sample employees collection for this post. I’ve inserted the following documents into the employees collection. > db.employees.insertOne({employeeId: 1, employeeName: “Anand”}) { “acknowledged” : true, “insertedId” : ObjectId(“5f2cfbcf0694cb7ba344f46b”) } > db.employees.insertOne({employeeId: 2, employeeName: “Wayne”}) { “acknowledged” : … Read more

How to kill a zombie process in Linux?

On Unix and Unix-like computer operating systems, a zombie process or defunct process is a process that has completed execution (via the exit system call) but still has an entry in the process table: it is a process in the ‘Terminated state’. In short, a process which has finished the execution but still has entry in the process table to report to its parent process … Read more

Hotkey Python With Code Examples

In this tutorial, we will try to find the solution to Hotkey Python through programming. The following code illustrates this. from pynput import keyboard cmb = [{keyboard.Key.shift, keyboard.Key(char=’a’)},{keyboard.Key.shift, keyboard.Key(char=’A’)}] current = set() def execute(): print(“Detected hotkey”) def on_press(key): if any([key in z for z in cmb]): current.add(key) if any(all(k in current for k in z) … Read more

Aggregated free testnet faucets for all blockchain networks

A Curated list of Testnet faucets for Ropsten, Goerli, Kovan, Polygon/Mumbai, FantomTest, Sokol, Aurora etc. Networks Etherspot Etherspot testnet PoA Etherspot is a multi-chain non-custodial Smart Wallet platform that allows you to access the best features (batched transactions, NFTs, ENS, P2P) of the Ethereum blockchain (and EVM compatible chains such as Polygon, Binance Smart Chain, … Read more