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
117
results
Andrew Fletcher
•
Following is a series of steps to install Tika and have it running for your Solr Search API Attachments.
Java is it running on your server
To begin you must have Java installed on your server/machine. To check if Java is installed use the command
java -versionPerforming the above command will output something similar to:
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~20.04-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed...
Andrew Fletcher
•
Working on an Azure server I ran a mysqldump command to generate a copy of the...
Andrew Fletcher
•
The migrate process saves the status of each running migration in the...
Andrew Fletcher
•
When attempting to backup mysql using the mysqldump command
mysqldump -u root...
Andrew Fletcher
•
To remove all the contents from a directory, you need to ask yourself:
Do I want...
Andrew Fletcher
•
How to Create New MySQL User
Before you can create a new MySQL user, you need to open a terminal window and launch the MySQL shell as the root user. To do so, enter the following command:
sudo mysql –u root –por rather than typing sudo each time you can enter:
sudo su
mysql -u root -pIn either scenario next type in the root password and press Enter.
The prompt will change to
mysql>
Database list
Can you view the list of databases on the server using the following command:
SHOW...
Andrew Fletcher
•
This short guide explains to you how to extract/unzip .zip archive files to a...
Andrew Fletcher
•
I prefer htop over top on my Linux server. Running a Solr index got...
Andrew Fletcher
•
The generally accepted answer to a mysqldump is:
mysqldump -h [host] -u...
Andrew Fletcher
•
Working in Twig, I had to add classes to a pre-existing array. Whilst I've...
Andrew Fletcher
•
Wanting to create a new repository on GitHub, add in a few of the available options that can come with an initial repository such as:
.gitignore for the platform you are building on
README.md for detailed notes - particularly if the repository if public
LICENSE - again important if the repository if public
However, once you add one or more of these items, you will need to merge the repository with your local environment. This article walks through creating a new GitHub repository and...
Andrew Fletcher
•
On a git pull from remote dev environment to a staging environment running off...
Andrew Fletcher
•
I needed the check if a file existed in a directory as the migrate script wasn't...
Andrew Fletcher
•
Joining a new company / team there is always a lot of new items to...
Andrew Fletcher
•
Updating Drupal from 8.7.10 to 8.8.x or 8.9.x has seen a significant change...