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
•
Finalising a deployment to Drupal 10 and reviewing the latest log messages.
Flysystem - $context is deprecated
Deprecated function: Creation of dynamic property Drupal\flysystem\FlysystemBridge::$context is deprecated in Drupal\Core\File\FileSystem->doScanDirectory() (line 720 of /var/www/html/content/core/lib/Drupal/Core/File/FileSystem.php)
#0 /var/www/html/content/core/includes/bootstrap.inc(164): _drupal_error_handler_real(8192, 'Creation of dyn...', '/var/www/html/c...', 720)
#1...
Andrew Fletcher
•
The error message "Attempting to re-run cron while it is already running" in...
Andrew Fletcher
•
As you're using Bootstrap 5 and applying a style for the hover state of an...
Andrew Fletcher
•
Lando is a development environment tool that makes it easier to set up and...
Andrew Fletcher
•
The error message "RuntimeError: Directory 'static/' does not exist" typically...
Andrew Fletcher
•
It seems like you're using the CharacterTextSplitter class from the tiktoken library to split text into chunks. The CharacterTextSplitter.from_tiktoken_encoder() method is used to create an instance of the CharacterTextSplitter class with specific configuration settings.
Breakdown of the parameters used in this method
separator
This parameter specifies the character or sequence of characters used to separate the text into chunks. In your example, the separator is set to "\n", which means...
Andrew Fletcher
•
In Drupal Twig templates, you can set a variable like paragraph_parent to the...
Andrew Fletcher
•
The viewport meta tag in a website's HTML is used to control how the webpage is...
Andrew Fletcher
•
If the Android app icon is not changing from the default icon (in my situation...
Andrew Fletcher
•
To use OpenAI to summarise text from a PDF using Python 3.11.6, you'll first...
Andrew Fletcher
•
I'm receiving an issue with a previous release on Google Play
android.permission.REQUEST_INSTALL_PACKAGESI'm seeing the following message in Google Play
Request install packages permission
error - Not started - Your app isn't compliant
A permission that allows your app to install packages. If your app doesn't need access to this permission, you must remove it from your app.To check the offending release go to App bundle explorer, and view each of the active releases.
In my situation, I'm seeing...
Andrew Fletcher
•
The "keystore password was incorrect" error in keytool indicates that the...
Andrew Fletcher
•
In Vim, following is an outline of the vi(m) functions you can utilise whilst in...
Andrew Fletcher
•
How to generate a new private key and submit it to Google Play for signing your...
Andrew Fletcher
•
In the Drupal Status report, I'm seeing the following message
Not set
This...