This is Akash Mittal, an overall computer scientist. He is in software development from more than 10 years and worked on technologies like ReactJS, React Native, Php, JS, Golang, Java, Android etc. Being a die hard animal lover is the only trait, he is proud of.
Get code example to forward audio from computer mic to phone in scrcpy library. You can use microphone jack to transfer audio but there is another solution. Check this code…
In this article we will provide you code to create loader in your react native mobile app. Loaders are created using <ActivityIndicator> component. You can customize its size, color, animation…
In this article we will provide you code to compare two arrays in javascript. Arrays are sequential in nature. In order to compare them, we need to make sure that…
Get code to resolve the RangeError: toString() radix argument must be between 2 and 36. Radix in parseInt() or toString() cannot be less than 2 and greater than 36. This…
In this article we will learn with code example, how to resolve SyntaxError: number is not a legal ECMA-262 octal constant. Octal numbers are in the range 0-7. Any number…
In this article we will show you the code to resolve TypeError: The comparison function must be either a function or undefined. It is raised if you provide wrong arguments…
In this article we will show you the code to resolve the warning -file- is being assigned a //# sourceMappingURL, but already has one. This is generally raised when there…
In this article we will provide you code to loop through object in javascript. You can use map() or forEach() function to loop through keys of the object. You can…
In order to test code in javascript, we can use assert() method. It works in the same way as the testing in any other programming language. In this article we…
In this article we will provide you code to print in javascript language. By printing you could mean two things – Printing the webpage in printer Displaying the content like…
In this article we will provide you the code to open javascript files. You can use any code editor to open js files like notepad++, visual studio code, vim, nano…
In this article we will give you code to add javascript to html. Also we will show you code to link external javascript files in your html code. Code Example…
In this article we will see how you can run javascript on your computer system. We will discuss about 2 ways to run Javascript – Using Google Chrome Developer Console.…
In this article we will show you the code to find all the text files in multiple directories in ubuntu and windows. You can use the same for macos too.…
In this article we will provide you the code for creating multiple nested directories on ubuntu, windows, macos and other linux or unix based operating systems. on windows, we can…
In this article we will provide your code for clearing Ubuntu terminal or WSL windows command line without clearing history. Use clear command with -x attribute. Note: Remember to use…
In this article we will show you the code to get who is logged in to your windows, linux, mac or Ubuntu operating system. Use whoami command in terminal to…
In this article we will see a code example to work with vector of string in c++. To declare a vector of string, use vector<string> variable_name. Then you can push…
To call a javascript function from html you need to use events like onclick(), onkeyup(), onmouseover() etc. and pass the javascript function as argument. Code Example – 1. Calling JS…