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.
Let's have a quick look at how to set up a fresh Drupal 10 site using the Wodby Docker4Drupal boilerplate and the drupal-core-recommended install profile from Drupal's own drupal/recommended-project.
In my last post I wrote about how to publish your article to a public registry like npm (node package manager). Once you have added your code to the registry your code automatically becomes available via a Content Delivery Network (CDN). Here we look at a couple of CDN's and how to utilise them in your code or build pipeline.
To facilitate you and others using your code, one option is to publish it to a public package manager or registry. One of the most popular for javascript code is the npm registry, a public collection of packages of open-source code for Node.js, front-end web apps, mobile apps, robots, routers, and countless other needs of the JavaScript community.
For a while now I have been struggling with space on my Mac fitted with a 500GB SSD drive. Looking at my resources I can see over 200GB is allocated to System Data. Digging a little deeper into this I can also see that a Docker Container accounts for 60GB of this space.
After successfully upgrading to Drupal 10 I thought I would share a few tips for others as well as my own reference.
This article looks at how to fix 550-5.7.26 message do not pass when sending to Google Mail with external DNS Server
Recorded Live at the Hoot and Nanny Brixton
Sometimes you might want to install a legacy version of node in order to circumvent some installation issues. e.g. I recently tried to install and run webgl worksop on my local machine that was developed a few years ago with an older version of node. Installing with a more recent version I get the following error:
For a while now PHP Developers have used Composer, a PHP Dependency Manager, to manage their app dependencies. Certainly in the Drupal community, Developers have been using composer since Drupal 8 was released back in June 2013.
Apple discontinued support for classic HFS (also known as Mac OS Standard) volumes in MacOS 10.15 Catalina. As a result, Macs running the latest version of MacOS cannot mount volumes created on vintage machines — such as those running Mac OS 8 and Mac OS 9.
Deep House mix to help ease your lockdown blues.
Not sure how well documented this is but my Virgin SuperHub 3 supports 5Ghz frequency (802.11a/n/ac mixed) as well as the default 2.4Ghz (802.11b/g/n mixed).