Dimas Maulana

Dimas Maulana

Developer

Welcome to my website! I am a developer with a current focus on React and Go. My experience encompasses both front-end and back-end development, enabling me to design and develop seamless and efficient applications.

How to Resize an LVM Logical Volume to Use Maximum Free Space

In Linux, Logical Volume Management (LVM) allows you to dynamically resize logical volumes to efficiently manage your storage. If you have free space available in your Volume Group and want to expand a logical volume to use this space, follow these steps:

Checking Disk Space

Before resizing the logical volume, it’s essential to check the available free space and the current usage using the df -h command:

Docker Port Still Open Despite UFW Blocking

In some cases, users have reported issues where Docker containers continue to have open ports even after configuring the Uncomplicated Firewall (UFW) to block them. This can be a frustrating experience, but there are a few potential solutions to investigate.

1. Using 127.0.0.1 as the Host IP

One possible cause for this issue is the configuration of the Docker container’s network settings. By default, Docker containers run in their own isolated network environment, separate from the host machine. When specifying a port in the format 127.0.0.1:12100 in your Docker Compose .env file, you are binding the container port to the loopback interface on the container itself, rather than the host machine. Consequently, UFW might not have any control over this loopback interface.

Creating Compressed Archives for Each Folder With Title

When dealing with a directory full of subdirectories, there might be instances where you want to package each subdirectory’s contents into separate compressed files. This can be particularly useful for organization, sharing, or backup purposes. One way to achieve this is by utilizing the power of shell commands, and specifically, the tar command along with some other utilities.

The Command Breakdown

The command in question accomplishes this task through a combination of the find and tar commands. Here’s a breakdown of each component and its role:

Add Elementor on Wordpress OceanWP Modal

To create a modal with Elementor in the OceanWP theme using the “Anywhere Elementor” plugin, you can follow these steps:

  1. Install and Activate Plugins:

    • First, make sure you have the OceanWP theme and Elementor plugin installed and activated on your WordPress website.
    • Install and activate the “Anywhere Elementor” plugin if you haven’t already. You can find and install it from the WordPress Plugin Repository.
  2. Create a Modal:

    • In your WordPress dashboard, go to the “Templates” section under “Elementor.”
    • Click on “Add New” to create a new template for your modal.
    • Give your template a name and click “Create Template.”
  3. Design Your Modal:

How to Create an Infinite Animation Loop in Elementor Motion

If you’re using Elementor and want to create an infinite animation loop for an element using the Elementor Motion Effects feature, you can achieve this by applying some custom CSS classes. In this tutorial, we’ll guide you through the process step by step.

Step 1: Add the Custom CSS

To create an infinite animation loop, you’ll need to add the following custom CSS code to your WordPress website. This code sets the animation-iteration-count property to infinite, which means the animation will loop indefinitely:

Modify URL on Wordpress OceanWP Logo Banner

To modify the URL on the WordPress OceanWP logo banner, you can follow these steps:

Step 1: Create a Child Theme

Creating a child theme is essential to ensure that your customizations are not lost when the parent theme is updated. Here’s how to create a child theme:

0%