Jailing unwanted bots with Fail2Ban and custom filters Submitted by daniel on Fri, 01/03/2024 - 13:31 Image (node) Body One challenge of hosting a website online 24 hours a day 7 days a week, 365 days a year, is keeping it secure. fails2ban security hosting bots
CSS Doodle provides framework for grid based CSS animations and textures Submitted by daniel on Tue, 20/02/2024 - 15:24 Image (node) Body Using front end tools and frameworks that utilise the canvas element can offer impactful looking pages but often come with a heavy overhead, especially when running animations and effects in the web browser and this overhead often correlates to the the dpi, which on most desktops and even mobiles is usually quite high. CSS Doodle Web Components
CSS Lava Lamp Submitted by daniel on Thu, 23/11/2023 - 22:31 Body Just wanted to share some css created back by Janos in 2018 that I thought was exceptional and very creative.This is pure css lava lamp implementation. CSS
Prevent Drupal Scaffolding overriding development services when working with Drupal Submitted by daniel on Wed, 04/10/2023 - 19:00 Body When working on Drupal it is often useful to change your local development.services.yml to enable certain development features and make debugging your application easier. Drupal composer Scaffold
Running Drupal's PHP Unit tests with Headless Chrome Image and ddev Submitted by daniel on Tue, 03/10/2023 - 16:37 Body In a previous article I have looked at running Drupal's Nightwatch and PHPUnit Tests using Drupal's Quickstart development environment. Today, I will look at how to run all the the PHP Unit Tests using a headless version of chrome. ddev Testing PHPUnit Functional JavaScript Drupal
Getting started with both Functional Javascript and Nightwatch Testing in Drupal 8.6 or later Submitted by daniel on Fri, 29/09/2023 - 15:24 Body In a previous article, I looked into how to get started with Running Tests using Drupal Contributions on top of a local Lando container. I looked a little at the history of Drupal testing and in particular how to get started running PHP Unit tests. Functional JavaScript Testing Nightwatch PHPUnit
Correct Settings for running Drupal with Plesk and nginx Submitted by daniel on Mon, 18/09/2023 - 23:09 Body I recently realised that I was getting some strange behaviour when running Drupal X on Plesk Obsidian, when set to use PHP is run by and FPM application served with with nginx, such as the index.php showing on links and navigation items. Turns out I needed to add some additional configuration to get this working correctly. Plesk nginx Drupal
Getting started with Parameter expansion and pattern substitution for files Submitted by daniel on Fri, 04/08/2023 - 13:59 Body I have recently been working on a project to transfer all of my legacy backups that include quite a lot of cd's and dvd's with tracks on that I have backed up over the years. When backing these up, a lot of the file names were prefixed with numbers underscores and hyphens etc. When organising these thousands of files, I was looking for a way to name them in a consistent manner and where necessary, remove any duplicates that I had. Parameter Parameter Expansion
Getting started with ddev and Apache SolrCloud Service Add-on Submitted by daniel on Wed, 02/08/2023 - 11:52 Body I was recently using Drupal's contributed Search API module along with a database back end, but was starting to find that with nearly 100k articles, the existing database based index seemed to be struggling and would result in some queries timing out. For this reason I decided I wanted to evaluate Apache Solr, a separate Java based application that helps to offload the responsibilities of indexing and returning search queries from your Drupal based application. Initially, I struggled to set up solr locally using the Docker4Drupal wodby camp so after some time decided to also evaluate ddev and a contributed ddev Apache Solr Service add-on as was recommended by the drupal search_api maintainers themselves. solr Apache Java SolrCloud ddev
Removing Part of your page from being indexed by Google with the help of ChatGPT Submitted by daniel on Wed, 17/05/2023 - 13:24 Body I am quite a heavy user of rss feeds that use keywords to return related content. seo meta nofollow robots
Getting Started with Drupal Contributions and Testing Submitted by daniel on Tue, 09/05/2023 - 17:34 Body One area that has seen quite a few changes in Drupal is testing. Tests and testing are a fundamental part of Drupal's ecosystem and have evolved over time. Testing php unit Drupal SimpleTest
Getting Started with Docker4Drupal and Next.js for Drupal Submitted by daniel on Wed, 26/04/2023 - 15:31 Body For a few years now, quite a lot of effort has gone into making Drupal work in a Headless or Restful state. This has led to the creation of modules such as the subrequests module that allows any set of requests to be aggregated together. next.js Drupal