When you're importing a large database into a new Drupal development environment using ddev, you might encounter the following error:
Entity validation refers to specifying criteria (constraints) which must be met before an entity can be saved (created or updated).
Say you're working in a git version controlled project and deleted a file or directory ages ago.
You now realise you need the deleted file/directory back.
Cristina started an interesting discussion on drupal.org: What could Drupal implement from other CMS or content editors to improve its Admin Interface?
Like many of you I've not been at ease with how the free and open web has been devolving into a set of walled gardens.
Because I keep forgetting: here's a one-liner to immediately compress drush sql-dump output with bzip2. This'll work for any command that generates output, such as mysqldump and tar.
I needed a way to fetch and parse various system logs, including the NGINX access and error logs.
Here's an example log entry that I needed to parse into an array:
Here's a a quick and easy snippet to add alternating class names to your views rows, also referred to as 'zebra' tables or 'striped backgrounds'.
Quiches are pretty straightforward to make. And you can pretty much thrown anything in them as long as you get the basics straight. They can be as light and healthy or cheesy and heavy as you want.
The Buddha invited his followers time and again to not blindly accept what anyone says, teaches or preaches, but to consider the words carefully and
decide for themselves whether or not they made sense.