Jailing unwanted bots with Fail2Ban and custom filters
One challenge of hosting a website online 24 hours a day 7 days a week, 365 days a year, is keeping it secure.
One challenge of hosting a website online 24 hours a day 7 days a week, 365 days a year, is keeping it secure.
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.
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.
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.
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.
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.
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.
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.
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.
I am quite a heavy user of rss feeds that use keywords to return related content.
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.
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.