developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
429
results
Andrew Fletcher
•
Working through and importing JSON data into a content type.
Drush migration commands
Check the status of the migration data
lando drush migrate-statusReset the migration status
lando drush migrate-reset-status migratable_riverdata_jsonImport JSON data
lando drush migrate-import migratable_riverdata_json
Rollback to before the import
lando drush migrate-rollback migratable_riverdata_json
Errors
What to do when a migration fails? You will see a response...
Andrew Fletcher
•
After cloning a site, next you will want to import the config file. Which...
Andrew Fletcher
•
Recently I have been investigating one of my Linux server's speed using the...
Andrew Fletcher
•
Build the PHP base image with apache-buster using the Dockerfile.base
Since JN...
Andrew Fletcher
•
This is a relatively quick process, beginning with dropping the database...
Andrew Fletcher
•
Installing Docker using the command
docker build -f Dockerfile.base -t apachebuster8 .Response
[+] Building 6.2s (8/8) FINISHED
=> [internal] load build definition from Dockerfile.base 0.1s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore ...
Andrew Fletcher
•
Tailwind CSS is a highly customisable framework that delivers developers the...
Andrew Fletcher
•
Currently, we are upgrading a site from Drupal 7 to Drupal 9. During this...
Andrew Fletcher
•
Import a database
lando db-import doj.sqlEnter the MySQL database
lando mysql...
Andrew Fletcher
•
To completely remove Microsoft Remote Desktop from OSX you need to perform the...
Andrew Fletcher
•
Find by file name
To perform a find command in terminal use
find / -name php.ini -type f
find / -name {filename} {type parameters}Note there are many parameters in the commands, so I'll cover a couple regular expressions here. Such as,
-name
matches the string being searched and is case sensitive
-iname
matches the string being searched and is case insensitive
-type f
means to find a file with the name being searched. In this instance php.ini
-type d
find a...
Andrew Fletcher
•
Reviewing CKAN extensions and listing the extensions that have been created /...
Andrew Fletcher
•
At first, I attempted
echo 1 > /proc/sys/vm/drop_cachesResponse
-bash:...
Andrew Fletcher
•
Location of the base templates
cd...
Andrew Fletcher
•
Error when running ckan.ini init
from flask_debugtoolbar import...