developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
479
results
Andrew Fletcher
•
On an Ubuntu 20.02 system with Nginx, you can utilize the following commands to handle Solr:
To verify the status of the Solr service
sudo systemctl status solrTo restart the Solr service
sudo systemctl restart solrStart Solr
sudo systemctl start solrStop Solr
sudo systemctl stop solrEnable Solr (Start on Boot)
sudo systemctl enable solrDisable Solr (Do Not Start on Boot)
sudo systemctl disable solrCheck Solr Version
solr versionCheck Solr Health
curl...
Andrew Fletcher
•
In our projects, team members frequently generate new Git branches linked to the...
Andrew Fletcher
•
Cleaning out or clearing data in Solr can be done in a few different ways,...
Andrew Fletcher
•
In an environment that is running
Ubuntu 20.02
Nginx
Solr
The default...
Andrew Fletcher
•
Snapshot of the error
File...
Andrew Fletcher
•
To begin, note that Lando is often used for web development and it may not be optimised for running long-running Python scripts or applications. It's primarily designed to host web services, so if you have specific Python development requirements, you might want to consider using a dedicated Python development environment or container. However, Lando can be useful for running Python scripts in the context of web development projects.
To run Python within a Lando environment, you can...
Andrew Fletcher
•
Have you had the situation where you needed to compare the files recorded in the...
Andrew Fletcher
•
In Twig, the {% extends %} tag is used to inherit and extend the contents of...
Andrew Fletcher
•
The error you're encountering indicates an issue with the ffi gem during the...
Andrew Fletcher
•
You can perform the following steps:
Check Apache Modules
Apache Struts 2 is...
Andrew Fletcher
•
These steps are for Drupal 8 and 9.
Export your database
Order here is important. First you want to clear all the Drupal caches. Then export / dump the db the sql database to a file in your home directory.
drush cr
drush sql-dump > path/to/your/file/ourpout/sql-dump-file-name.sqlor
drush sql-dump --extra-dump=--no-tablespaces --result-file=../sql/db-2022-12-07.sqlWithout having to manually set the date
drush sql-dump --extra-dump=--no-tablespaces...
Andrew Fletcher
•
When reloading a page, you may encounter the following error:
Fatal error:...
Andrew Fletcher
•
Overview of the elements
Set Up API Keys
Obtain API keys for Pinecone and...
Andrew Fletcher
•
Lando is a local development environment tool, and it might not directly support...
Andrew Fletcher
•
The issue of over 300 simultaneous database connections in the context of AWS...