Category: Tutorials
-

Watch IPTV playlists in VLC
What this is about IPTV here means streaming live TV over the internet using playlist files (often M3U), not installing a separate “IPTV app” from an unknown source. VLC Media Player can play these streams if you give it a playlist URL or file. This guide uses the community project iptv-org/iptv on GitHub, which maintains a large collection of links to publicly…
-

A fast and free WordPress cache (French)
When you’re working on WordPress, it’s not uncommon to hear or respond ‘did you remember to empty the cache?’ when something isn’t working as expected. It’s like the old reflex of unplugging and reconnecting your internet box when it’s acting up. And it’s true, in quite a few cases, clearing the cache can solve the…
-

Universal Processing of WordPress Blocks: ACF & Native (React)
Modern WordPress development empowers you to build custom blocks using either Advanced Custom Fields (ACF) or native React. For maintainable, scalable projects, it’s crucial to adopt a universal approach to structuring, building, and registering your blocks—regardless of their type. This article provides a unified workflow for processing both ACF and native (React) blocks, covering file…
-

PHPStan and PHP CS Fixer guide
Maintaining code quality is crucial. In this post, I’ll show you how to set up two essential PHP development tools: PHPStan for static analysis and PHP CS Fixer for automated code styling. Prerequisites Before we begin, make sure you have Composer installed on your system. Composer is a dependency manager for PHP that we’ll use…
-

Automatic WordPress release with GitHub Actions
This guide will explain how to set up a GitHub Actions workflow for deploying a WordPress site, making use of server structure and deployment automation. The workflow automates the process of building, packaging, uploading, and activating a WordPress release on a server. Let’s break down each step and see how the script works. Preliminary steps…
-

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…
-

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,…
-

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…
