Learn ReactJS & React Native With Me
  • Home
  • React Native Series
  • React Js
  • Write for us
  • Animal Welfare
  • About Me
  • Contact
  • Home
  • React Native Series
  • React Js
  • Write for us
  • Animal Welfare
  • About Me
  • Contact
  • Facebook
  • Twitter
  • LinkedIn
  • Email
Learn ReactJS & React Native With Me

Code, Bugs, Pitfalls, Tricks of React Js & React Native

  • Home
  • React Native Series
  • React Js
  • Write for us
  • Animal Welfare
  • About Me
  • Contact

Akash Mittal

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

terminate called after throwing instance of std::invalid_argument C++

  • Akash Mittal
  • September 7, 2022
In this article we will resolve the c++ issue related to “terminate called after throwing an instance of ‘std::invalid_argument’ what(): stoi“. Introduction Suppose you have a string and you want…
View Post

nginx failed to start high performance web server, address already in use

  • Akash Mittal
  • September 6, 2022
You run the command systemctl status nginx.service or sudo systemctl start nginx and bam, you got a scary multi lines error stating that nginx failed to start high performance web…
View Post

imgbb upload in React JS using imgbb-uploader plugin – Code Example

  • Akash Mittal
  • September 5, 2022
imgbb is an image upload website where you can host your images of size upto 32 mb. In this article we will learn how to upload images on imgbb using…
View Post

How to create a video player in ReactJs? – Code Example

  • Akash Mittal
  • September 2, 2022
Today in this article we will see how we can create a video player in ReactJs using react-player library. React-player provides components which can be used to play videos of…
View Post

How to create a music player in ReactJS? – Code Example

  • Akash Mittal
  • September 5, 2022
In this article we will create a music player in reactjs using react-jinke-music-player library. It’s an html5 responsive player which can be included as component into any react project. There…
View Post

$(‘#id’).hide() to display none using Jquery – Code Example

  • Akash Mittal
  • September 1, 2022
In this article I will show you how to set display none to html elements using Jquery. There are various ways to do this and we will discuss all of…
View Post

Declare a C language array with all zero values – Code Example

  • Akash Mittal
  • August 31, 2022
Here are the various methods to declare an array of zero values in C language – 1. Using GCC This method works in GCC only. The benefit of using it…
View Post

C++ Sleep functions for windows & Linux – Code Example

  • Akash Mittal
  • August 30, 2022
In this article we will look at few methods to implement C++ Sleep functionality. There are various issues in delaying a thread, process or event. First of all none of…
View Post

rmdir directory not empty in windows & Linux – Code Example

  • Akash Mittal
  • August 30, 2022
rmdir command is used to remove directories in windows and linux systems but only if they are empty. If the directories are non-empty then you will get the error rmdir…
View Post

How to sum multiple columns in SQL? – Code Example

  • Akash Mittal
  • August 30, 2022
In this article, I will show you the ways to sum multiple columns in SQL. We will discuss how to prevent NULL columns from polluting the output. Code Examples 1.…
View Post

db_password db_user db_host db_port db_name – Code Example

  • Akash Mittal
  • August 30, 2022
In this article we will discuss about wordpress configuration to connect website with database like mysql. We will check out db_user, db_host, db_port, db_name and db_password fields. WordPress has a…
View Post

Comparing Php-Carbon timestamps with comparison func – Code Example

  • Akash Mittal
  • August 30, 2022
Php-carbon provided some comparison functions to compare two timestamps. The list is as follows – Short Long Symbol eq() equalTo() == ne() notEqualTo() != gt() greaterThan(), isAfter() > gte() greaterThanOrEqualTo()…
View Post

Error: Argument 1 to diffInDays() must instance of Carbon – Code Example

  • Akash Mittal
  • August 30, 2022
php-carbon throws the “Type error: Argument 1 passed to Carbon\Carbon::diffInDays() must be an instance of Carbon\Carbon, string given” when the arguments passed are anything different than year, month, day and…
View Post

XCode Error: Undefined Symbol: _OBJC_CLASS_$_ – Code Example

  • Akash Mittal
  • August 30, 2022
XCode throws the error: Undefined Symbol: _OBJC_CLASS_$_xyz, where xyz is the name of the class, when your project is not able to find the framework or library. It happens if…
View Post

TypeError: Cannot read properties of undefined (‘FLAGS’) – Code Example

  • Akash Mittal
  • August 30, 2022
In Discord.js v14, Intent is deprecated. If you try to use Intents.FLAGS.GUILDS then it will raise TypeError: Cannot read properties of undefined (reading ‘FLAGS’). Instead you will need to use…
View Post

Error: unknown argument: prod in “ng build –prod –aot” – Code Example

  • Akash Mittal
  • August 30, 2022
Angular throws Error: unknown argument: prod if you try to run ng build –prod –aot because prod is deprecated in Angular 12 and removed in Angular 14. The solution is…
View Post

Unable to negotiate with ip:22: no matching host key found – Code Example

  • Akash Mittal
  • August 30, 2022
You get Unable to negotiate with ip port 22: no matching host key type found error when you try to authenticate on Github with SSH using ssh-rsa algorithm. ssh-rsa is…
View Post

Node Sass v7.0.0 incompatible ^4.0.0 || ^5.0.0 || ^6.0.0 – Code Example

  • Akash Mittal
  • August 30, 2022
Node throws the error Sass version 7.0.0 is incompatible with ^4.0.0 || ^5.0.0 || ^6.0.0 because node-sass is deprecated. Use sass instead of node-sass. Solution with Code Example 1. Use…
View Post

Uncaught ReferenceError: process is not defined ReactJS – Code Example

  • Akash Mittal
  • August 30, 2022
React-Scripts throws the error Uncaught ReferenceError: process is not defined due to it’s dependency on react-error-overlay. The dependencies of react-error-overlay got updated to support webpack V5 which is not compatible…
View Post

MSVCR120.dll is missing, mysqld.exe error WampServer – Code Example

  • Akash Mittal
  • August 30, 2022
WampServer throws error, mysqld.exe can’t start because MSVCR120.dll is missing if it is not able to find Microsoft Visual C++ Redistributable (MSVCR). The issue is that it requires all the…
View Post

Posts navigation

Previous 1 … 8 9 10 … 29 Next

Learn ReactJS & React Native With Me
Copyright AkashMittal.com | Privacy Policy