What is the use of PHP explain with syntax?

What is PHP? PHP: Hypertext Preprocessor(Recursive Acronym) Server Side Programming/Scripting Language Can be embedded directly within HTML (<?php ?>) Files use a “.php” file extension. If… statement:-…

Read More

Ansible Module Sample Code to Work for user data – Example 4

Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday…

Read More

Ansible Module Sample Code to Work using OS commands (curl) – Example 3

Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday…

Read More

Ansible Module Sample Code to Work using github API – Example 2

Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday…

Read More

Ansible Module Sample Code to Work with API – Example 1

Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday…

Read More

How to declare conditional statements in PHP with example?

When You write a code different actions for different conditions. Then, You can use Conditional statements in your code to do this. If Statement:- If Statement executes…

Read More

40+ Online Tools & Resources For Web Developers & Designers

GENERATORS: Text Content Generator – http://www.lipsum.com Favicon Generator –http://tools.dynamicdrive.com/favicon Data Generator – https://mockaroo.com/ Mobile Mockup Generator – https://mockuphone.com Logo Generator – https://www.logaster.com UUID Generator – https://www.uuidgenerator.net/ Hash…

Read More

How to add live search functionality to your website?

With Php Custom Search, full-featured text search engine library written entirely in Php,javascript and xml. It is a technology suitable for nearly any application that requires full-text…

Read More

How to Fix HTTP error code “500 internal server error”

1.Refresh the Page The first thing to do when you encounter this error is wait a moment and then refresh the page. Sometimes this error is caused…

Read More

Disqus Integration On HTML Websites

Comments embedThe comments embed is the core Disqus experience where most users will spend their time. By putting in a snippet of code on your website, we’ll…

Read More

All you need to know about robots.txt & crawl behaviours of your website

What is Robots.txt Robots.txt is a text file webmasters create to instruct web robots (typically search engine robots) how to crawl pages on their website. The robots.txt…

Read More

PHP 7 Essential Guide – PHP Operators for beginners

PHP operators are used to performing operations on variables and values. Maths Operators Assignment operators Logical Operators Increment and Decrement Operators String Operators Maths Operators:- arithmetic operators…

Read More

Docker Interview Questions and Answer Part – 35

What Docker technologies are available to support communication between containers? Docker connect and bridge networks Docker linking and bridge networks (Ans) Docker connect and alias networks None…

Read More

Docker Interview Questions and Answer Part – 34

Which of the following open-source tools is the underlying technology for Docker Swarm? containerd SwarmKit (Ans) Kubernetes InfraKit The Docker daemon Docker UCP implements RBAC via Grants….

Read More

Docker Interview Questions and Answer Part – 33

Which of the following best decribes a Docker Image? A read-write template for starting one or more containers A point-in-time snapshot of a container used for backups…

Read More

Docker Interview Questions and Answer Part – 32

Which of the following are true about Docker volumes? They must exist on a SAN or NAS They are decoupled from containers (Ans) They are higher performance…

Read More

Docker Interview Questions and Answer Part – 31

What is the preferred way to deploy and manage a Docker Stack? The declarative way via config files (Ans) The imperative way via commands Which of the…

Read More

Laravel – Remove Public from URL using htaccess

Step 1: Rename File In first step it is very easy and you need to just rename file name. you have to rename server.php to index.php at…

Read More

Docker Interview Questions and Answer Part – 30

Images contain the entire user space, in other words the entire file system for a container. How is this not horribly inefficient in terms of disk space?…

Read More

Docker Interview Questions and Answer Part – 29

With Docker for Windows, what container types can you run? Only Windows Windows and macOS Windows and Linux (Ans) Only Linux Which of the following is an…

Read More

Docker Interview Questions and Answer Part – 28

What is a tag? A reference to a registry A reference to a repository A reference to a specific image in a repository (Ans) A reference to…

Read More

Docker Interview Questions and Answer Part – 27

By default, what happens to a Docker Container when the process it is running exits? The Container exits. (Ans) The Container reboots and restarts the process. The…

Read More

Docker Interview Questions and Answer Part – 26

What Docker Client command can be used to convert a Dockerfile into an Image? docker createimage docker buildimage docker build (Ans) docker create Which of the following…

Read More

Docker Interview Questions and Answer Part – 25

Docker Kitematic can ONLY be used to download Docker images. True False (Ans) Services can be organized into __ with Docker Cloud. roles stacks (Ans) zones groups…

Read More

Docker Interview Questions and Answer Part – 24

Which of the following tasks can Docker Cloud perform? Create nodes None of these Start and stop services All of these (Ans) Create stacks What is the…

Read More

Docker Interview Questions and Answer Part – 23

Which of the following are top-level keys in a stack file (Compose v3 file)? Version, deployments, networks, volumes Version and services Version, services, networks, volumes (Ans) Services,…

Read More

Npm Error: Error: pngquant failed to build, make sure that libpng-dev is installed

Command I tried $ npm i –unsafe-perm Got following Error; Solution $ apt-get install libpng-dev Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I…

Read More

Docker Interview Questions and Answer Part – 22

Which of the following is a recommended best practice? Keep your images small (Ans) Never use the latest image in a repo Use large images containing lots…

Read More

NPM Error: gyp ERR! stack Error: EACCES: permission denied

npm install [Tried using root]sudo npm install [Tried using ubuntu] Error Solutions First Solution 1 $ sudo npm i –unsafe-perm Last Solution 2 $ sudo rm -rf…

Read More

Docker Interview Questions and Answer Part – 21

Which of the following is needed to deploy a Docker Stack? Compose v2 file format Kubernetes Compose v3 file format Docker Cloud (Ans) What is the name…

Read More