React, also known as React.js or ReactJS, is a free and open-source front-end JavaScript library for building user interfaces based on UI components. ReactJS is maintained by Meta (formerly Facebook) and a community of individual developers and companies. Some of…
Author: Arvind Kumar
How to add new user to www-data group in Ubuntu
In some of the customised Ubuntu systems, such as Amazon EC2 instance, the name of the default system user is ubuntu. On the other hand www-data is the user and group name that web servers on Ubuntu (Apache, nginx, for…
How to Remove Appends Attributes from Laravel Eloquent Model
In Laravel the set{Attribute}Attribute accessor methods are used to set new attributes in a model. For example, we do use $appends property to create our popular “full_name” attribute to combine “first_name” and “last_name” attributes. Following the syntax to define $appends…
How TO – Remove a Property from an Object in JavaScript
JavaScript is the world’s most popular programming language. JavaScript is the programming language of the Web. JavaScript is easy to learn. In this simple tutorial we will learn to remove a property of a JavaScript object. A sample JavaScript object…
Array Destructuring With or Without List Function in PHP
Have you been unwillingly using the useful “extract” function to convert array elements into their corresponding names with same variable name as the key of the array element? Have you been worrying about the non-friendly nature of your code for…
Git Cannot open .git/FETCH_HEAD: Permission denied Solution
Did you face Cannot open .git/FETCH_HEAD: Permission denied when you try to run a git pull command on your site root folder hosted on a linux server running ubuntu? If you do you are at right place for a permanent…
How to Check Laravel Version using CLI and File System
Laravel is one of the most popular and used frameworks written in PHP programming language. As a Laravel developer you sometimes need to check Laravel version. Especially, if you start working on an existing project coded in Laravel Framework. So…
React Final Form + React DatePicker Implementation with Validations
A working example can be found at Codesandbox React Final Form is a popular Reactjs Plugin for handling forms. On the other hand React DatePicker is another popular ReactJs plugin with almost 5.6M downloads per week. React Final Form’s form…
Steps to Set up PasswordLess SSH Login on Ubuntu with Key Pair
In this tutorial I will explain how to set up passwordless SSH login on an Ubuntu server. There are basically two ways of authenticating user login with OpenSSH server: password authentication and public key authentication. The latter is also known as passwordless SSH…
How to select or update MySQL table rows by even or odd number field value
In this simple tutorial I will show to select or update rows in your mysql table based on a stored even or add number in a specific field of your table. Your result might look like this: For example you…