Mrudgandha Kulkarni has Published 154 Articles

Python Program to Swap dictionary item_s position

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 10-Aug-2023 15:23:34

65 Views

Dictionaries in Python are versatile data structures that allow us to store and manipulate key-value pairs. While dictionaries maintain an unordered collection, there may be situations where we need to swap the positions of items within a dictionary. In this blog post, we will explore how to write a Python ... Read More

Python Program to Square Each Odd Number in a List using List Comprehension

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 10-Aug-2023 15:22:09

568 Views

List comprehension is a powerful feature in Python that allows for concise and expressive code when working with lists. It provides a compact way to perform operations on elements of a list and create new lists based on certain conditions. In this blog post, we will explore how to use ... Read More

Python Program to split string into k sized overlapping strings

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 10-Aug-2023 15:06:40

254 Views

Splitting a string into smaller parts is a common task in many text processing and data analysis scenarios. In this blog post, we will explore how to write a Python program to split a given string into k-sized overlapping strings. This program can be helpful when working with sequences of ... Read More

Python program to split a string by the given list of strings

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 10-Aug-2023 14:56:49

94 Views

In this article, we will explore how to split a string in Python using a given list of strings. We will dive into the step-by-step process of creating a Python program that can handle this task effectively. Whether you're dealing with text processing, data parsing, or any other scenario that ... Read More

How to Password Protect Web Directories in Apache Using .htaccess File?

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 09-Aug-2023 14:32:00

180 Views

In today's digital landscape, ensuring the security of web applications and protecting sensitive data is of utmost importance. One effective way to enhance the security of your web directories is by implementing password protection. By password protecting specific directories, you can restrict access to authorized users only, adding an extra ... Read More

How to Override Entrypoint Using Docker Run?

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 09-Aug-2023 14:31:02

5K+ Views

In the world of containerization, Docker has become a popular choice for packaging and deploying applications. One of the key aspects of Docker containers is the entrypoint, which defines the default command that is executed when the container starts. However, there are scenarios where you may need to override the ... Read More

How to Open, Extract and Create RAR Files in Linux?

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 09-Aug-2023 14:30:28

326 Views

RAR is a popular file compression format known for its efficient compression algorithm and ability to compress large files into smaller archives. While Linux natively supports common archive formats like ZIP and TAR, working with RAR files requires additional tools. In this blog post, we will explore how to open, ... Read More

How to Open Port for a Specific IP Address in Firewalld?

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 09-Aug-2023 14:29:49

1K+ Views

In today's interconnected world, network security is of utmost importance. One essential aspect of securing your network is managing the access to specific ports on your system. Firewalld, a dynamic firewall management tool, provides a flexible and user-friendly approach to firewall configuration in CentOS. This guide will focus on a ... Read More

How to Name or Rename Docker Containers?

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 09-Aug-2023 14:29:08

14K+ Views

Naming or renaming Docker containers is an essential aspect of container management. When working with multiple containers, the default random names assigned by Docker can be challenging to track and manage. However, by assigning meaningful names to your containers, you can easily identify and interact with them, improving your overall ... Read More

How to Name a Stash and Retrieve a Stash by Name in Git?

Mrudgandha Kulkarni

Mrudgandha Kulkarni

Updated on 09-Aug-2023 14:28:14

3K+ Views

Git is a powerful version control system that allows developers to manage changes in their projects efficiently. One of the handy features Git provides is stashing, which allows you to temporarily save your changes without committing them. By default, Git stashing assigns an auto-generated name to each stash, making it ... Read More

Advertisements