Markdown is a popular lightweight markup language that allows users to write using an easy−to−read and easy−to−write plain text format, which can then be converted into HTML or other formats. In essence, it simplifies the process of structuring and formatting text. GitHub Flavored Markdown (GFM) is a variant of Markdown used by GitHub, incorporating additional features that help developers to document their work. In this article, we're going to delve into how to work with GitHub Flavored Markdown on a Linux system, with practical examples and their output. Basics of GitHub Flavored Markdown Let's start with the basics of GFM. ... Read More
A DAC or Digital to Analog Converter is an electronic circuit that converts a digital input signal into an analog output signal. DACs are essential devices widely used in signal processing and communication systems. A digital to analog converter accepts signal input in the form of binary digits, i.e. 0 and 1 and generates output in the form of a continuous signal. Types of Digital-to-Analog Converters Based on construction and working principle, DACs are mainly classified into the following two types: Binary Weighted Resistor DAC ... Read More
Introduction System monitoring is an essential aspect of Linux administration, as it gives a clear overview of system resources usage, and the performances of various processes and applications running on a Linux system. Several tools provide this functionality, but Htop stands out due to its superior features and user-friendly interface. Htop is an interactive process viewer and system monitor that supersedes the older 'top' utility found in most Linux distributions. Htop offers a real−time, color−coded, and graphical representation of the processes running on a system, with CPU, memory, and swap usage displayed at the top. In this article, we delve ... Read More
The Python Tkinter module allows us to develop graphical user interfaces (GUIs) and show main windows on the screen. The value of a Tkinter window screen from its ability to improve the user experience and enable the interactivity of user's programs. In Python, we have some built-in functions like Tk(), Text(), pack(), etc. that can be used to set the tab size in Text widget in tkinter. Syntax The following syntax is used in the examples − Tk() This is a built-in function of tkinter module that helps to display the main window and manage all the components of ... Read More
The Jupyter Notebook is an open-source web application that allows users to run all features of the Data and Machine Learning project. The word Conda is known as package manager which handles different packages by installing them through its command. The Conda environment is similar to Python virtual environment that allows users to write code in Python programming language. The benefits of a conda environment − Getting more Python Package that handles large-scale data project. Its packages help to understand the complex structure of any dataset. System Requirement to set up Conda Environment With Jupyter Notebook ... Read More
We will use HTML and CSS to align dropdown widgets in Jupyter. We may modify the alignment of the dropdown widget by adding certain CSS classes to it. This allows us to place the dropdowns in our Jupyter notebook either side by side or one below the other, making it seem visually attractive. Here is a simple method to help us align dropdown widgets in Jupyter and improve the user experience. The following syntax is used in the examples − Dropdown() The Dropdown() is a built-in function that follows the module named ipywidgets and it builds the list ... Read More
Introduction CentOS 7 is a popular Linux distribution known for its stability and security. If you're looking to set up a web server on CentOS 7, you'll likely need to install Apache, MySQL or MariaDB, and PHP. In this comprehensive guide, we will walk you through the installation process of these components, along with examples and their outputs, to ensure a successful setup. Prerequisites Before we begin, make sure you have the following prerequisites in place − CentOS 7 installed on your server or virtual machine. Root access or sudo privileges to execute commands with administrative rights. Update the System ... Read More
In this problem, we will sort the array of strings in the lexicographical order. There are various sorting algorithms to sort the array of strings. In this tutorial, we will use the built−in sort() method to sort the strings. Also, we will use the merge sort algorithm, one of the efficient approaches to sort the array of strings. Problem statement − We have given an str[] array containing N strings. We need to sort all strings in the lexicographical order. Sample examples Input str[] = {"tutorials", "point", "save", "java", "c++"} Output c++, java, point, save, tutorials ... Read More
Pandas DataFrame is a part of the Data Structure that is used to represent the 2D structure in tabular form(rows and columns). In Python, we have some built-in functions like eq(), any(), loc[], and, apply() that can be used to search a value within a Pandas DataFrame row. For example- Searching a value is defined by the availability of any specific data. Syntax The following syntax is used in the examples − DataFrame() This is an in-built function in Python that follows the pandas module and show the 2D rows and column into a single frame. eq() This ... Read More
In this problem, we will perform M reverse queries on the given string according to the array values. The naïve approach to solving the problem is to reverse each string segment according to the given array value. The optimized approach uses the logic that when we reverse the same substring two times, we get the original string. Problem statement − We have given an alpha string containing the alphabetical characters. Also, we have given an arr[] array of size M containing the positive integers. We need to perform the M operations on the given string and return the final ... Read More