Skip to main content
39
results
Andrew Fletcher
The error you're encountering indicates an issue with the ffi gem during the CocoaPods update. The error message suggests trying to run the gem pristine command to fix it. Using terminal - run the following command: gem pristine ffi --version 1.16.3This command will attempt to restore the ffi gem to its pristine state, resolving any issues with its extensions. After running this command, try running pod update again pod updateIf you encounter any permission issues, you might need to use...
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
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
Create a Lando setup running Drupal 10. The command you provided appears to be a...
Andrew Fletcher
OpenAI request timeout? Retrying...
Andrew Fletcher
While the default version on Ubuntu 20.04 for Python is 3.8, I've added Python...
Andrew Fletcher
  Set up your server Begin by cleaning up your server environment.  Do...
Andrew Fletcher
This is a relatively quick process, beginning with dropping the database tables lando drush sql-drop -yImport a MySQL database lando db-import {filename} such as lando db-import riverdev.2022-10-03-1664769553.sql.gzRebuild cache lando drush crFinally, export your config lando drush cex  If you know your MySQL filename, you can always chain these commands: lando drush sql-drop -y && lando db-import riverdev.2022-10-03-1664769553.sql.gz && lando drush cr &&...
Andrew Fletcher
Import a database lando db-import doj.sqlEnter the MySQL database lando mysql...
Andrew Fletcher
The challenge I was facing, I had written a script to scan barcodes and use...
Andrew Fletcher
As a web developer, you will most likely need to run local copies of a bunch of...
Andrew Fletcher
On your local OSX environment using Terminal or iTerm you can create a MySQL...