Author: Victor
-

Windows – Block programs from accessing the Internet
Blocking specific programs from accessing the internet can be essential for various reasons, such as improving security, conserving bandwidth, or preventing unnecessary updates. Windows Firewall offers a straightforward way to control outbound traffic. In this article, we’ll guide you through the steps to block internet access for specific programs using Windows Firewall. Step-by-Step Guide Step…
-

Simplify WordPress
Managing a WordPress site can sometimes feel overwhelming with all the extra features and functionalities that might not be necessary for everyone. The “Headache” snippet is a collection of code functions designed to remove or disable various WordPress elements that might be considered redundant or unnecessary for the average user. Below, we’ll go through each…
-

SCSS – VSCode Snippets
Introduction As a developer, efficiency and speed are crucial. Visual Studio Code (VSCode) allows you to create custom snippets to reduce repetitive tasks and save time. In this article, we’ll walk you through adding a set of SCSS snippets to VSCode. These snippets are designed to help streamline your workflow when working with media queries,…
-

Editing an ACF Field Key/Value in WordPress with SQL
Introduction When managing a WordPress website with Advanced Custom Fields (ACF), there are times when you may need to update the keys or values of custom fields. This can be necessary due to renaming fields or changing field structures. This guide provides quick SQL solutions for updating ACF field keys and values directly in the…
-

WordPress – Updating site URL with WP-CLI
A common task for WordPress developers is to migrate a site from a production environment to a local development environment. One of the crucial steps in this process is updating the URLs in the database to reflect the local environment. This can be efficiently achieved using WP-CLI, the command-line interface for WordPress. Prerequisites Step-by-Step Guide…
-

Symbolic links for WordPress development
WordPress development often involves working with themes and plugins that need to be frequently updated and tested. Keeping these components outside the WordPress directory and using symbolic links can streamline your workflow, making development more efficient. In this article, we’ll cover how to create symbolic links in both Windows and Linux to achieve this setup.…
-

Automatic WordPress Theme Release with GitHub Actions
Step 1: Preparing your GitHub repository No specific code required here. Just ensure your WordPress theme and any necessary build scripts are in your GitHub repository. Step 2: Setting up the workflow Create a new file under .github/workflows/deploy-release.yml in your GitHub repository with the following basic structure: This code snippet sets up the workflow to…
-

htpasswd – easy setup
Using a .htpasswd file is a common method to add an authentication layer to your folders or websites accessible via an Apache web server. Here is a step-by-step guide to setting this up: Find the path of your website Add a PHP file named show-path.php at the root of your website containing: This script will…
-

Firefox – Change devtool font-size
As a successful web developer, I’ve come to rely on a myriad of tools and tricks to streamline my workflow and enhance productivity. One of the gems I’ve discovered over the years is the ability to customize the Firefox Developer Tools to better suit my needs. Hereβs a quick guide on how to adjust the…
-

Streamline your dev workflow with Husky
As developers, we’re always on the lookout for tools and tricks that can shave off precious minutes from our workflow, ensuring that we maintain our focus on writing clean, efficient code rather than getting bogged down by repetitive tasks. One such tool that has become an indispensable part of the modern developer’s toolkit is Husky,…
