Skip to content
Code Snippets
Useful code to copy and paste
  • ALL
  • Acquia
  • Acquia API
  • Acquia Cloud IDE
  • Acquia Cloud Site Factory
  • Bash
  • Bootstrap
  • C#
  • CSS
  • curl
  • DDEV
  • Docker
  • Drupal 8-9
  • Drupal Modules
  • Drush
  • HTML
  • JavaScript
  • jQuery
  • Lando
  • MacOS
  • PHP
  • Raspberry Pi
  • Terminal
  • Unity
  • Website Templates
  • Windows 10/11
  • WordPress
  • WSL2

Author: Leonardo Signorelli

Git + GitHub

How to Set Up Dev and Test Branches for Your Drupal Project in Git 🧪

July 13, 2025 Leonardo Signorelli

When working on a Drupal site (or any web project), it’s a good idea to separate your code into different…

Continue Reading →

Posted in: Drupal 10, Drupal 8-9, Git, Terminal Filed under: Drupal, Drupal 10, drupal 8, Drupal 9, git, terminal
WSL + DDEV

Quick & Easy Drupal 10/11 Dev Environment on Windows with DDEV & WSL2

July 11, 2025 Leonardo Signorelli

Why this setup? I recently started working on a Windows 11 notebook but usually develop on macOS because of its built‑in…

Continue Reading →

Posted in: DDEV, Docker, Drupal 10, Drupal 8-9, Windows 10/11, WSL2 Filed under: DDEV, Docker, Drupal, Drupal 10, drupal 8, Drupal 9, Windows, Windows 10/11, Windows Subsystem for Linux, WSL2
ACSF Drush Alias Generator

Streamline Your ACSF Workflow with the ACSF Drush Alias Generator

March 29, 2025 Leonardo Signorelli

Managing multiple Drupal sites on Acquia Cloud Site Factory (ACSF) can be challenging, especially when running Drush commands across different…

Continue Reading →

Posted in: Acquia, Acquia Cloud Site Factory, Bash, Drupal 10, Drupal 8-9, Drush, Terminal Filed under: Acquia, Acquia Cloud Site Factory, ACSF, Bash, Drupal, Drupal 10, drupal 8, Drupal 9, drush, Shell Script

Quick & Easy Drupal 10/11 Dev Environment with Docker and DDEV

March 5, 2025 Leonardo Signorelli

Setting up a local Drupal 10/11 development environment has never been easier, thanks to Docker and DDEV. Follow this simple…

Continue Reading →

Posted in: Composer, DDEV, Docker, Drupal 10, Drush Filed under: composer, DDEV, Docker, Drupal, Drupal 10, drush
Set Up a PHP + MySQL + phpMyAdmin Environment Using DDEV

How to Set Up a Local PHP + MySQL + phpMyAdmin Environment Using DDEV

February 11, 2025 Leonardo Signorelli

If you’re looking for a quick and easy way to set up a PHP development environment with MySQL and phpMyAdmin,…

Continue Reading →

Posted in: Apache, DDEV, PHP, Terminal Filed under: DDEV, development environment, local environment, PHP, phpMyAdmin
Easily Display Your Instagram Feed on Your Website with Insta Feed Widget

Introducing Insta Feed Widget: Effortlessly Display Your Instagram Feed on Any Website

September 27, 2024 Leonardo Signorelli

I’m excited to introduce my new website Insta Feed Widget, an easy-to-use online tool that simplifies displaying your Instagram posts…

Continue Reading →

Posted in: CSS, HTML Filed under: Insta Feed Widget, Instagram, Instagram Feed, Instagram Widget

Establishing Basic Content Security Policies for Your Drupal Website

July 13, 2024 Leonardo Signorelli

In this article, I will provide guidelines on setting up a foundational Content Security Policy (CSP) for your Drupal application.…

Continue Reading →

Posted in: Drupal 10, Drupal 8-9, Drupal Modules, Security Filed under: Drupal, Drupal 10, drupal 8, Drupal 9, Security

Drupal 9-10: Limit text formats available for WYSIWYG text inputs

July 10, 2024 Leonardo Signorelli

If you’re looking to enhance the usability of your Drupal site by limiting the text formats available for each WYSIWYG…

Continue Reading →

Posted in: Composer, Drupal 10, Drupal 8-9, Drupal Modules, Drush Filed under: composer, Drupal, Drupal 10, Drupal 9, Drupal modules, drush

Render JPEG, PNG, and GIF images as WebP in Drupal

December 26, 2023 Leonardo Signorelli

WebP is a modern image format that provides superior lossless and lossy compression for images on the web. Using WebP,…

Continue Reading →

Posted in: Drupal 10, Drupal 8-9 Filed under: Drupal 10, drupal 8, Drupal 9, Drupal8, GIF, JPEG, PNG, WebP, WebP images

Install and configure a Drupal 10 website on DreamHost using Composer

September 6, 2023 Leonardo Signorelli

The goal of this tutorial is to demonstrate how to install a Drupal 10 site on DreamHost using composer and…

Continue Reading →

Posted in: Composer, DreamHost, Drupal 10, Drush, PHP Filed under: composer, DreamHost, Drupal, Drupal 10, drush, PHP, PHP 8.1

Post navigation

Page 1 of 7
1 2 … 7 Next →

If you find my articles useful and would like to show your appreciation, consider buying me a cup of coffee ☕️. Your support is greatly appreciated and helps me continue creating valuable content. Thank you!

Donate
  • ALL
  • Acquia
  • Acquia API
  • Acquia Cloud IDE
  • Acquia Cloud Site Factory
  • Bash
  • Bootstrap
  • C#
  • CSS
  • curl
  • DDEV
  • Docker
  • Drupal 8-9
  • Drupal Modules
  • Drush
  • HTML
  • JavaScript
  • jQuery
  • Lando
  • MacOS
  • PHP
  • Raspberry Pi
  • Terminal
  • Unity
  • Website Templates
  • Windows 10/11
  • WordPress
  • WSL2
Copyright © 2025 Code Snippets — Escapade WordPress theme by GoDaddy