Skip to content

Category: Uncategorized

Install Docker Compose in CentOS 7

In this post, you will learn how to install Docker Compose in CentOS 7 and other CentOS versions. Docker Compose helps to define and run multi-container Docker applications. Download the […]

dangerouslySetInnerHTML Prop in React

Find out what is dangerouslySetInnerHTML in React and why it is named in such a way. Setting HTML from code can lead to exposing your users to a cross-site scripting […]

Update an Excel file in node.js

In this post, you will learn how to update a Microsoft Excel spreadsheet in node.js. We have already seen how to read an excel file in node.js using the npm […]

Play and pause video in JavaScript

In this short post, learn how to play an video file and pause video in HTML with JavaScript. This article will also discuss the <video> html tag which was introduced […]

Feature image for Java related posts.

How to return two values from a Java method?

Short answer: You can’t return two values from a Java method. Java doesn’t support multi-value returns. Long answer: There are workarounds. Scroll down. Returns multiple values as an array This […]

Importing JSON into a MongoDB collection

Use the mongoimport utility to import data into a MongoDB database. MongoDB provides the mongoimport utility that can be used to import JSON, CSV, or TSV files into a MongoDB database. mongoimport is located in […]