Find Characters Increased by K Present in String

Shubham Vora
Updated on 17-Jul-2023 16:01:01

104 Views

In this problem, we will find all unique characters of the string with their first index, which is present in the string, after incrementing all characters of the given string by K. For a problem solution, we can take each unique character of the given string. Next, we can update each character individually and check whether the updated character is present in the string and not updated to another character to get the answer. Problem statement − We have given a string alpha and positive integer K. We need to increment each character’s ASCII value of the given string by ... Read More

Install Adobe Flash Player 11.2 on CentOS, RHEL 7, 6 and Fedora 25, 20

Satish Kumar
Updated on 17-Jul-2023 16:00:41

628 Views

Introduction Adobe Flash Player has been a widely used multimedia platform for many years, enabling users to view interactive content, play online games, and stream videos. However, with the rise of HTML5 and the continuous evolution of web standards, Flash Player has been gradually phased out and is no longer officially supported by Adobe. Nevertheless, some legacy systems and applications may still require Flash Player 11.2 to function properly. In this article, we will guide you through the process of installing Adobe Flash Player 11.2 on CentOS/RHEL 7/6 and Fedora 25-20. Prerequisites Before proceeding with the installation, ensure that you ... Read More

Sort Pandas DataFrame Based on Column Names or Row Index

Tapas Kumar Ghosh
Updated on 17-Jul-2023 15:59:00

3K+ Views

Many applications benefit from sorting pandas DataFrame by column names or row indexes. For example, to show how sales continue over time, we may sort a DataFrame of sales data by date. In Python, we have some built-in functions- DataFrame(), sort_index(), and, sort_values() that can be used to Sort a Pandas DataFrame based on column names or row index. Syntax The following syntax is used in the examples − DataFrame(var_name, colums= ['col1', 'col2', and so on], index= ['1', '2', and so on]) A DataFrame is a library of pandas modules and defines the 2D structure of different rows and ... Read More

Install RedMail with Virtual Domains in Linux

Satish Kumar
Updated on 17-Jul-2023 15:58:02

231 Views

Introduction Email communication remains an integral part of our personal and professional lives. Setting up a reliable and secure mail server is crucial for efficient communication within organizations or for personal use. RedMail, a fully-featured mail server solution, offers a comprehensive suite of tools to create virtual domains, access webmail, and enhance email security with SpamAssassin and ClamAV. In this article, we will guide you through the process of installing RedMail on a Linux system, showcasing examples and their outputs to help you get started. Prerequisites Before we dive into the installation process, make sure you have a Linux server ... Read More

Initial Server Setup with Ubuntu 20.04, 18.04, and 16.04

Satish Kumar
Updated on 17-Jul-2023 15:56:24

489 Views

Introduction Setting up a server is an essential step in creating a reliable and secure environment for hosting websites, applications, or managing data. In this article, we will explore the process of setting up an Ubuntu server, specifically versions 20.04, 18.04, and 16.04. We will cover the necessary steps, along with practical examples and their corresponding outputs, to help you navigate through the initial server setup process seamlessly. Prerequisites Before diving into the server setup, ensure that you have the following prerequisites in place − An Ubuntu 20.04, 18.04, or 16.04 server instance. A user account with administrative privileges (or ... Read More

Initial Server Setup and Configurations on RHEL 7

Satish Kumar
Updated on 17-Jul-2023 15:55:39

249 Views

Red Hat Enterprise Linux (RHEL) is a Linux-based operating system from Red Hat designed for businesses. This article is a practical guide on how to carry out the initial server setup and configurations on RHEL 7. In this tutorial, we will walk you through the essential first steps to prepare a RHEL 7 server for use. Section 1: Logging in as Root After your server boots, you will be able to log in as the root user. The root user is the administrative user in a Linux environment with very broad privileges. Example − ssh root@your_server_ip Section 2: Creating ... Read More

In-Memory Database Explained

Satish Kumar
Updated on 17-Jul-2023 15:54:36

553 Views

Introduction The burgeoning field of technology constantly introduces innovations designed to boost efficiency, speed, and productivity in diverse arenas, among which data management holds paramount importance. The traditional disc-based databases have played a significant role in data management for years. However, with data volumes escalating exponentially, businesses worldwide are looking for ways to expedite data processing. In this scenario, in-memory databases (IMDBs) stand as a revolutionary alternative. Understanding In-Memory Databases An in-memory database (IMDB) is a database management system that primarily relies on main memory (RAM) for data storage rather than traditional disk storage. This storage scheme empowers IMDBs to ... Read More

Set Up Python Mode for Processing

Tapas Kumar Ghosh
Updated on 17-Jul-2023 15:53:58

349 Views

An add-on called Python Mode for Processing makes it possible to use Python in the development environment and programming language for visual arts and design known as Processing. In simple terms, add-on means a software program or script that is added to a program that provides a special feature. The processing mode is defined by selecting a programming language that is used to write code. This processing supports both visual and simple programs. For example- Many researchers use Python Processing to run their code because it gives them a special processing model as compared to other interpreters. System Requirement for ... Read More

Implement Mandatory Access Control with SELinux or AppArmor in Linux

Satish Kumar
Updated on 17-Jul-2023 15:53:34

564 Views

Linux has built-in support for two types of Mandatory Access Control (MAC) systems: SELinux and AppArmor. Both systems add an additional layer of access control to the default Discretionary Access Control (DAC) that comes with Linux. In this article, we delve into the implementation of both systems, offering practical examples and their respective outputs. Understanding SELinux and AppArmor SELinux, short for Security-Enhanced Linux, is a Linux kernel security module that provides a mechanism for supporting access control security policies. It is a highly flexible MAC system that assigns labels to every object in the system (files, directories, ports, etc.) and ... Read More

IaaS API Explained

Satish Kumar
Updated on 17-Jul-2023 15:52:34

345 Views

In the era of digital transformation, cloud computing has become the bedrock of modern infrastructure. This paradigm shift has brought forth three cloud service models: Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS). This article focuses on Infrastructure as a Service (IaaS) and, more specifically, its Application Programming Interface (API). Understanding IaaS and IaaS API Before diving into IaaS APIs, let's understand what IaaS is. IaaS is a cloud computing model that provides virtualized computing resources over the internet. It provides users with raw compute, storage, and network resources that they can ... Read More

Advertisements