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
  • Drupal 8-9
  • Drupal Modules
  • Drush
  • HTML
  • JavaScript
  • jQuery
  • Lando
  • MacOS
  • PHP
  • Raspberry Pi
  • Terminal
  • Unity
  • Website Templates
  • WordPress

Author: Leonardo Signorelli

Install a new Drupal Application with Acquia Cloud IDE

November 23, 2022 Leonardo Signorelli

Open your Cloud IDEClick the “Reset Workspace” button or execute: /ide/reset-workspace.py Clone your Cloud Platform repo inside the project folder:To…

Continue Reading →

Posted in: Acquia, Acquia Cloud IDE, Drupal 8-9, Drush Filed under: Acquia, Acquia Cloud, Acquia Cloud IDE, Drupal, Drupal Installation, drush, Install Drupal

How To enable HSTS for your site

September 22, 2022 Leonardo Signorelli

Configure your .htaccess File You should edit your .htaccess file to add the proper headers to static assets. Here is…

Continue Reading →

Posted in: curl, Terminal Filed under: curl, HSTS, terminal

Acquia Cloud Platform: Upgrading a Drupal 9 site from PHP 7.4 to PHP 8.0 using Acquia Lando

September 19, 2022 Leonardo Signorelli

PHP 7.4 is coming to an end of life! So I need to upgrade to PHP 8.0 ASAP! From Acquia’s…

Continue Reading →

Posted in: Acquia, Drupal 8-9, Drush, Lando, MacOS Filed under: Acquia, Acquia Cloud, Acquia Lando, Drupal, drupal 8, Drupal 9, Drupal8, drush, lando, PHP 8.0, PHP 8.0 Upgrade, PHP Upgrade

Find files larger than 5mb in Linux

September 12, 2022 Leonardo Signorelli

To find files larger than 5 MB, we need to pass the -size option with value +5M in the find…

Continue Reading →

Posted in: Terminal Filed under: awk, awk command, find command, terminal

Git Best Practices on Acquia Cloud Platform

September 8, 2022 Leonardo Signorelli

Find your Git URL On your Acquia Cloud Platform Application page, go to any of the environments admin pages (dev,…

Continue Reading →

Posted in: Acquia, Terminal Filed under: Acquia, Acquia Cloud, git, git commands, terminal

Configure a Local Drupal Development Environment using the Acquia Plugin for Lando (MacOS)

September 6, 2022 Leonardo Signorelli

In collaboration with Acquia, the Lando team has built an open source Acquia plugin for Lando.  The plugin: Mimics Cloud…

Continue Reading →

Posted in: Acquia, Drupal 8-9, Drush, Lando, MacOS Filed under: Acquia, Acquia Cloud, Drupal 9, Drupal8, drush, lando, MacOS

Fix: TrackPad Scroll Not Working in nano on MacOS

September 1, 2022 Leonardo Signorelli

If you are not able to scroll up and down using your mouse or TrackPad when editing a file using…

Continue Reading →

Posted in: MacOS, Terminal Filed under: MacOS, terminal

Launch a Drupal site in Acquia Cloud Platform

August 31, 2022 Leonardo Signorelli

Acquia Cloud Platform offers the most scalable and secure digital experience platform for building, launching, and managing Drupal applications. Create…

Continue Reading →

Posted in: Acquia, Drupal 8-9 Filed under: Acquia, Acquia Cloud, Drupal, Drupal 9, Drupal8

Check if a page is caching with curl

August 17, 2022 Leonardo Signorelli

Open the terminal and type the following curl command with the desired site/page: curl -Ik https://www.uccs.edu We can see that…

Continue Reading →

Posted in: curl, Terminal Filed under: curl, terminal

Table with Alphabetical Filtering using TableFilter

May 24, 2022 Leonardo Signorelli

Simple table with Alphabetical Filtering capabilities using the TableFilter JavaScript library and Bootstrap. Codepen: https://codepen.io/astralmemories/pen/QWQqMQo CSS Requirements: // Bootstrap https://cdn.jsdelivr.net/npm/bootstrap@4.2.1/dist/css/bootstrap.min.css…

Continue Reading →

Posted in: Bootstrap, HTML, JavaScript, jQuery Filed under: bootstrap, html, javascript, jQuery

Post navigation

Page 3 of 7
← Previous 1 2 3 4 … 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
  • Drupal 8-9
  • Drupal Modules
  • Drush
  • HTML
  • JavaScript
  • jQuery
  • Lando
  • MacOS
  • PHP
  • Raspberry Pi
  • Terminal
  • Unity
  • Website Templates
  • WordPress
Copyright © 2025 Code Snippets — Escapade WordPress theme by GoDaddy