How to Determine a Folder’s Size In Ubuntu and Linux

On a Unix-like operating system such as Ubuntu, you can use the du command, which stands for “disk usage,” to find out how much disk space a directory and its contents are taking up. The following command will give you the total disk usage of a directory and its subdirectories in a human-readable format (i.e., […]

Login Screen with TailwindCSS

In this example, we will make a simple login screen using simple HTML and TailWindCSS. Here is what we will create: Here is the code itself:

Escaping CSS Purgatory with TailwindCSS

Thirteen years ago, I embarked on my web development journey. CSS, the cornerstone of any website’s look and feel, was one of the first languages I had to wrestle with. Back then, it felt like wrestling a particularly wriggly and evasive octopus! Taming countless lines of pure CSS was an uphill battle that often ended […]

Using Cron for Task Scheduling in SaaS Applications

When creating a SaaS, there will be tasks that will need to run in the background that the user will not see happening. These can be maintenance tasks, handling of use data, just about anything your mind can come up with. And you definitely don’t want to be executing these tasks manually. You want software […]

Starting Your API Endpoint with PHP

Last time we convened, we got down and dirty with (https://catchylabs.com/2023/03/setting-up-a-new-website-on-your-lamp-stack/)[setting up a new website] on our ready-and-raring-to-go LAMP stack. Now that our server is primed and prepped for service, we’re going to ramp things up a notch. We are delving into the process of creating an API endpoint using PHP. Before we dive into […]

Setting Up the Website for Your API Endpoint on Your LAMP Stack

In the previous tutorial, we discussed how to install the LAMP stack on your Ubuntu system. Now, we are ready to start hosting a website on it. In this article, we will explore how to set up a new website, adjust proper file and folder permissions, and provide an Apache configuration example. Step 1: Creating […]

A Beginner’s Guide to Installing LAMP on Ubuntu

Every developer has their preferred stack. For me, the front end can change based on the client’s needs, but if no matter what I make, I always need LAMP on a Ubuntu server. LAMP, an acronym for Linux, Apache, MySQL, and PHP, is a popular open-source software stack for developing and hosting web applications. In […]

Customize The Excerpt Length in WordPress Using PHP

If you just dabble in WordPress development even the slightest bit, you know about the famous the_excerpt(); function in WordPress core. If you aren’t familiar, the function simply returns a shorten string of the content for the current post or page. The string is stripped of all html tags or styling. Great for creating post […]