developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
52
results
Andrew Fletcher
•
On a server directory with over 100,000 PDF files, I needed to verify the existence of specific documents. Whether there are a few hundred or whatever the number of files, this article explores the practical use of command-line tools to quickly ascertain whether a file is present. In the area of server management or application development, especially on systems like Ubuntu equipped with Nginx, it's crucial to perform routine checks to ensure that all necessary files are in place. Whether it's...
Andrew Fletcher
•
Managing large directories, especially those filled with a diverse mix of media...
Andrew Fletcher
•
Recently I came across this piece of gold when dealing with databases,...
Andrew Fletcher
•
In the realm of system administration and monitoring, understanding memory usage...
Andrew Fletcher
•
The red flag was when I saw the server disk space is showing a site is taking up...
Andrew Fletcher
•
Continuing on from the Drupal 9 to Drupal 10 upgrade outline written earlier... Upgrading Drupal 9 to Drupal 10. However, the point of difference is this article works through the actual action steps of the upgrade.
Planning and testing is critical for the Drupal to version 10 process to work successfully. As some of the environments that I work in are deployed via CD/CI pipelines.
Resource settings
Type
Version
Drush
11.6.0
Drupal
9.5.10
1. Download...
Andrew Fletcher
•
To run a SQL command using Drush, use the following sql-query command
drush...
Andrew Fletcher
•
Drush open_basedir restriction error
PHP Warning: include(): open_basedir...
Andrew Fletcher
•
To determine the size of a directory using the terminal, you can use the du...
Andrew Fletcher
•
These steps are for Drupal 8 and 9.
Export your database
Order here is...
Andrew Fletcher
•
Visual Studio Code (VS Code) allows you to manage extensions using the VS Code Command Line Interface (CLI) called code. With the code CLI, you can install, list, uninstall, and manage extensions from the command line.
To check you have the code prompt running, run
code --versionResponse you're looking for is
1.83.0
d3a019177ff8833cf320e334265dfea540098a3a
arm64If not, to install, in VS Code press command + shift + p to open the command palette, then type "install code", click Shell...
Andrew Fletcher
•
A summary of Node package commands
Short cut commands
npm install...
Andrew Fletcher
•
Resources - changing Drush
Type
Version
Drush (current)
11.6.0
Drush...
Andrew Fletcher
•
Something I haven't had to do in a while is to change the name of a Git branch...
Andrew Fletcher
•
Post a NetSkope update, composer would fail when running any command that...