CSS Tutorial for beginners (Step by Step) with Examples(Part1).

Introduction to CSS? CSS stands for Cascading Style Sheet. It is a style sheet language which is used to describe the presentation of a document. We can improve the looks…

Read more »

How to Define, Call & Create a function in PHP?

What is function in PHP? PHP provides us many built-in helper partners works that you can call anyplace inside your application OR browser. They make your work process advantageous for…

Read more »

How to fix – “There has been a critical error on your website” – WordPress error.

There are so many WordPress developers facing this issue in their WordPress site due to plugins or theme issues. and you will also find so many solution on this. in…

Read more »

Jenkins Error: Running two Java Versions – Jenkins Problem in Mac OS

Hi Everyone – Today we are going to discuss about how to have two version of Java Development Kit running in MAC OS and how to switch between them. This…

Read more »

How to define String in PHP?

A string is a group of characters, where a character is equivalent to a byte. This implies PHP just supports a 256-character set and subsequently doesn’t offer local Unicode support….

Read more »

How to Print Multidimensional Associative Array in PHP using loop with example?

Foreach Loop with Multidimensional Associative Array :- Multidimensional Associative Array is used to store using foreach loop arrays value where pairs arrays value can be an integer or string. It…

Read more »

How to Use Middleware In Laravel.

step:1– first, you have go this path: C:\xampp\htdocs. then you have right-click on the git base here. same as this pic. Step:2- write any project name like that. Step:3– composer…

Read more »

Php Error: Composer – allow_url_fopen must be enabled in php.ini

Solution $ php -i | grep allow_url_fopen $ allow_url_fopen => Off => Off $ php -d allow_url_fopen=on /opt/cpanel/composer/bin/composer update

Read more »

How to run php artisan queue:listen in background on Ubuntu or Linux machine

Steps:1. Login to ubuntu machine using putty or any other ssh client2. Run command: sudo -s3. Run command: cd /opt/lamp/htdocs/<Laravel project directory name>4. Run command: sudo vi start-laravel-project-name-queue.sh5. Click “i”…

Read more »

What is Adobe Photoshop?

What is adobe Photoshop? Photoshop is software that was created by Adobe Systems users in the year 1990.Since then it has been used in web designing, graphic designing and animation.Actually…

Read more »

Restore a default RHEL 7.x default repo list of EC2 Instance

Many time, my students have deleted or corrupted a yum repo list of RHEL7 or Centos 7 and i spent lots of time solving these problem. This, this is quick…

Read more »

How to Print Multidimensional Numeric Array in PHP using loop?

For Loop with Multidimensional Numeric Array:- Multidimensional Array means one or more arrays have multple array values access. It can store numbers, string multiple array uses of Nested For Loop…

Read more »

HTML Tutorial Part-1

What is HTML? Html provides a way of displaying Web pages with text and images or multimedia content. HTML is not a programing language, but a markup language. an HTML…

Read more »

Echo Statement, Print Statement, and Here document in PHP.

Echo Statement This statement is used to output the data to the screen or printing text on the screen. For Example:- echo “Sushant Kumar”;echo ‘Sushant Kumar’;echo 59.236;echo (“Sushant Kumar”);echo “Sushant”…

Read more »

What is a client, Server, Internal Data Types, and Variables in PHP?

Php Introduction PHP is an open Source Server-side programming/ Scripting language that suited for web development and can be embedded into HTML. PHP stands for Hypertext Preprocessor But it’s original…

Read more »

What is Multidimensional array in PHP with Example?

Multidimensional Array is Arrays of Array means one arrays have multiple array. You can define as it have 2Dimensional ([][]), 3Dimensional ([][][]), 4Dimensional ([][][]), and etc. ex:- How to work:-…

Read more »

What is settings.gradle in Gradle?

A gradle build has three important files. build.gradle, gradle.properties and settings.gradle Gradle build lifecycle consist of three phases: initialization, configuration, and execution. settings.gradle get evaluated in the initialization phase. Gradle…

Read more »

What is Gradle DAG (Directed Acyclic Graph)?

What is DAG (Directed Acyclic Graph) In computer science and mathematics, a directed acyclic graph (DAG) is a graph that is directed and without cycles connecting the other edges. This…

Read more »

How can use Array Operators in PHP with Example?

Php union:- ($a+$b) = Work as union means if same value then replace left variable to right variable(for keys that exit both array) ex:- Php Equality:- Key value same but…

Read more »

AJAX Crash Course

What is AJAX ? Asynchronous Javascript & XML Set of web technologies Send & receive data asynchronously Does not interfere with current web page JSON has replaced XML for the…

Read more »

DevOps Training Online – Class Recordings – January 2020

Dear Participants, Here are the consolidated URLs of DevOps training videos/class recordings/tutorials AWS Video Tutorial – January 2020 – (PDF – Notes) Docker Video Tutorial – January 2020 Part –…

Read more »

Top Plagiarism Checker Tool For SEO in 2020.

Q1. What is Plagiarism Checker? Plagiarism Checker means Duplicate Content Finder. It a free online tool to scan duplicate content with accuracy in no time. It accurately detects copyright content…

Read more »

Protection of CSRF in Laravel

What is CSRF? CSRF stands for Cross Site Request Forgery and it’s a web attack that forces a user to make unintended requests to a web application where they are previously authenticated. Implementation:- CSRF…

Read more »

What is difference between echo, print, and print_r in PHP with example?

Echo Statement:- The echo statement is used to output in display with or without parenthesis echo or echo() but no return value. Echo Statement faster than print Statement. ex:- Print…

Read more »

Laravel 5.5 php artisan migrate error in Ubuntu: SQLSTATE[HY000] [2002] Connection refused

How I got this error?Ans: I was running php artisan migrate command in /opt/lampp/htdocs/project_dir What was the error? ubuntu@ip-ip_addr:/opt/lampp/htdocs/project_dir$ php artisan migrateIn Connection.php line 664: SQLSTATE[HY000] [2002] Connection refused (SQL:…

Read more »

Ubuntu or Linux Error: Unable to access XAMPP MySQL from /opt/lampp/bin/mysql

Here’s the complete article on the solution with baby steps:How to link php from XAMPP installation to use php command from user or any other directory in Ubuntu or Linux

Read more »

How to link MySQL from XAMPP (/opt/lampp/bin) to use mysql command from any directory in Ubuntu or Linux

Assumption: I assume that you have already installed XAMPP in your Ubuntu OR Linux machine.If not, then you may follow this link to do so: https://www.devopsschool.com/blog/installing-xampp-7-4-xxx-on-ubuntu/ and https://www.devopsschool.com/blog/how-to-link-php-from-xampp-installation-to-use-php-command-from-user-or-any-other-directory-in-ubuntu-or-linux/ NOTE: I also…

Read more »

Ubuntu or Linux error: Error: EACCES: permission denied, mkdir ‘/opt/lampp/htdocs/node_modules/node-sass/vendor’

How I got this error:I got this error while running command: npm install in one of my project directory located at /opt/lamoo/htdocs What was the Error: root@ip-ip-address:/opt/lampp/htdocs/[projectName]# npm install ]…

Read more »

How to install latest version of nodejs in Ubuntu or Linux

Steps:1. Login to Ubuntu or Linux machine using ssh client like putty 2. Run command: sudo -s3. Run command: sudo apt-get install curl4. Run command: curl -sL https://deb.nodesource.com/setup_12.x | sudo…

Read more »