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
67
results
Andrew Fletcher
•
Cleaning out or clearing data in Solr can be done in a few different ways, depending on your specific requirements.
Delete All Documents
You can use the Solr Admin interface or send a DELETE request to remove all documents from a Solr core.
Solr Admin Interface:
Open your web browser and navigate to the Solr Admin interface, typically at http://your_solr_server:8983/solr.
Select the core you want to clear.
Click on the "Query" menu.
In the "q" field, enter *:* to match all...
Andrew Fletcher
•
In an environment that is running
Ubuntu 20.02
Nginx
Solr
The default...
Andrew Fletcher
•
A summary of Node package commands
Short cut commands
npm install...
Andrew Fletcher
•
Update Ubuntu 20.04
To begin update the server using the command
sudo apt update...
Andrew Fletcher
•
Something I haven't had to do in a while is to change the name of a Git branch...
Andrew Fletcher
•
Post a NetSkope update, composer would fail when running any command that required accessing an external package. Actually initially all external traffic was being blocked. The error was similar to
curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: https://curl.se/docs/sslcerts.htmlThis error was also generated when running a basic command
curl https://www.google.com.auSeems like the updated Netskope client Windows machine is blocking...
Andrew Fletcher
•
I need to generate a patch and then apply automatically to my Drupal...
Andrew Fletcher
•
Post creating a new branch in the repo, next step was to run the checkout...
Andrew Fletcher
•
How to set the Private file path in Drupal using the following steps:
Create a...
Andrew Fletcher
•
This issue
I have a folder with about 10,000 files in it. I want to scan...
Andrew Fletcher
•
Using Homebrew for speed tests...
I'm using Speediest CLI - for more details go to https://github.com/sivel/speedtest-cli
To install speedtest CLI is is quick by running the following
brew install speedtest-cliI had a few brew updates required as you'll see by the response below
You have 18 outdated formulae installed.
==> Fetching dependencies for speedtest-cli: mpdecimal, openssl@3 and python@3.11
==> Fetching mpdecimal
==> Downloading...
Andrew Fletcher
•
I'm in an environment where the default branch is staging and I'm attempting to...
Andrew Fletcher
•
Whilst attempting to download the latest config.zip file for Solr, I was greeted...
Andrew Fletcher
•
How to count the number of files in a directory. At some point you'll have...
Andrew Fletcher
•
I've recently upgraded the server Ubuntu 20.04 updating the PHP version from 7.4...