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

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

Published
Categorized as Web Design

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

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

Published
Categorized as WordPress

How to restore/regenerate missing attachment metadata in WordPress

Recently, one of my clients encountered a significant issue when they lost their entire wp_postmeta table, and unfortunately, there was no backup available. Our only viable option was to recreate the table and manually add the post meta. However, this posed a new problem. The website has thousands of media files, which became unusable as… Continue reading How to restore/regenerate missing attachment metadata in WordPress

Published
Categorized as WordPress