Converting regular WooCommerce products to subscription products can be tricky. Recently, I needed to convert a bunch of products in bulk and ran into some interesting challenges that I’ll share with you along with the solution. Without further ado, let’s see how we can properly convert both simple and variable products to their subscription counterparts.… Continue reading How to Convert Regular WooCommerce Products to Subscription Products Programmatically
Author: Ali Khallad
Apply WooCommerce coupons to regular prices instead of sale prices
Ever needed to apply WooCommerce coupons to regular prices instead of sale prices? Maybe you want to run a special promotion that should override existing sales, or you need to ensure your percentage-based coupons are calculated from the original product price. Here’s a simple solution that lets you do just that. In my case, I… Continue reading Apply WooCommerce coupons to regular prices instead of sale prices
Optimizing S3 File Transfers in AWS Lambda: A Performance Comparison
Recently, I conducted a series of experiments to determine the fastest approach for uploading and downloading files smaller than 100MB to and from S3 within AWS Lambda functions. The results were quite interesting, and I thought I’d share my findings with you. Let’s dive into the details of these experiments and see what we can… Continue reading Optimizing S3 File Transfers in AWS Lambda: A Performance Comparison
Run Docker on Windows without Docker Desktop
I had an old laptop where I installed Docker Desktop. While I mainly used the command line, I still experienced all the downsides that come with it, it made my laptop super slow and added unnecessary overhead. Today, when I wanted to install Docker on a new Windows machine, those past memories hit me. So,… Continue reading Run Docker on Windows without Docker Desktop
Setup Grunt with TailwindCSS
Are you looking to simplify your web development workflow? Well, you’re in the right place! I’m going to share steps to integrate Tailwind CSS with Grunt, a popular JavaScript task runner. This combo is a game-changer, especially if you love Tailwind’s utility-first approach but want to automate the repetitive tasks in your development process. Let’s… Continue reading Setup Grunt with TailwindCSS
How to setup automated low balance notifications for your Vultr Account
If you’re using Vultr as your cloud service provider and want to keep a close eye on your account balance, this guide is for you. I’ve gone through the process of setting up an automated alert system for my own account and I’m here to share the steps. This approach can help you avoid service… Continue reading How to setup automated low balance notifications for your Vultr Account
How to migrate emails from cPanel to Virtualmin
If you’re looking to move your emails from a cPanel server to Virtualmin, you’ve come to the right place. I’ve been through this process and want to share the steps that worked for me. You might run into a few hiccups along the way, but don’t worry—I’ll cover those too. Before we dive in, make… Continue reading How to migrate emails from cPanel to Virtualmin
Incremental backups with Rclone & Restic
Recently, I created an automated process for backups using Rclone, which initially worked flawlessly. However, as my data grew, it became clear that taking full daily backups was becoming inefficient and costly. I needed a solution that could perform rclone incremental backups instead of only full backups. After some research, I discovered Restic, and it… Continue reading Incremental backups with Rclone & Restic
How to migrate from WordPress.com using SCP via SSH
I recently took on a project involving the migration of a WordPress website from WordPress.com, which is a hosting service for WordPress.org. The client had a desire to move their WordPress site away from WordPress.com. This presented a bit of a challenge because WordPress.com doesn’t allow direct file transfers to another server using SSH commands… Continue reading How to migrate from WordPress.com using SCP via SSH
The correct way to set WordPress File Permissions using SSH
Understanding and correctly configuring file permissions in WordPress is crucial for maintaining the security and integrity of your website. This simple guide will walk you through the main steps to adjust WordPress file permissions using SSH (Secure Shell). By following these steps, you can secure your WordPress installation effectively. Step 1: SSH into Your Server… Continue reading The correct way to set WordPress File Permissions using SSH