Ram as Disk For cache
Disk mount in ubuntu 20.04.6
To mount a newly added disk in Ubuntu 20.04.6, follow these steps: 1. Identify the Disk Use the lsblk or fdisk command to list available disks and partitions Step 2: Format the Disk If the disk is new and empty, format it with the ext4 filesystem: sudo mkfs -t ext4… Read more »
YouTube thumbnail Fetch by php
A YouTube thumbnail is a small image that represents a video on YouTube. It acts as the preview image that viewers see before clicking on the video. A compelling thumbnail can significantly impact a video’s views, as it’s often the first impression viewers get of the video content. Sizes and… Read more »
Publish,Pending , draft category All Post Date randomize plugin
To add the ability to randomize post dates for all posts in a specific category and add an option to the WordPress dashboard, you can extend your existing function and create an admin page where you can select the category. Here’s how you can do it: Create a Custom Plugin… Read more »
Syncing 2 or More Databases by Shell Script
Database sync (short for database synchronization) refers to the process of ensuring that two or more databases (or database systems) have consistent, up-to-date, and identical data. This is particularly important in environments where multiple copies of a database are stored across different systems, servers, or geographical locations, and updates… Read more »
Publishd Post bulk date randomizer
To create a post date randomizer for bulk updating post dates in WordPress, including randomizing the year for selected posts, you can use a custom PHP script. Below is an example of a function that will allow you to select a bulk set of posts by their IDs and change… Read more »