Skip to main content
98
results
Andrew Fletcher
First off, this isn't the only method to achieve the outcome of emptying a file. Using a symbol : is a shell built-in command that is essence equivalent to the true command and it can be used as a no-op (no operation).  It can be used as follows: # : > filename.txtOR  # true > filename.txt  My initial file was as follows: 21548342 16 Mar 20:27 code.logPost using the command  : > filename.txtThe response was  0 16 Mar 20:27...
Andrew Fletcher
Changes in your .env file Connecting your app to the new environment you need to...
Andrew Fletcher
Clear DNS Cache The DNS (Domain Name Service) cache on your Mac helps browsers...
Andrew Fletcher
Changing git push from passphrase?  There are several ways to tackle this...
Andrew Fletcher
We are going to work through two methods of creating the SOLR cores. Variables...
Andrew Fletcher
Updating to PHP 8.1, I found this interesting code stop... Deprecated function: trim(): Passing null to parameter #1 ($string) of type string is deprecated in bales_preprocess() (line 162 of /var/www/{path/to/file}) What is trim(). Very simply, it removes whitespaces (if they exist) at the start or end of a string.
Andrew Fletcher
xdebug - failed to solve with frontend dockerfile.v0: failed to create LLB...
Andrew Fletcher
Create and push to Docker Hub Creating your own custom image... you need to have...
Andrew Fletcher
If you are using theme_get_settings, such as: $value =...
Andrew Fletcher
Running composer on a server... when running the command composer update, screen...
Andrew Fletcher
Resetting Docker is basically following the start parameters.  All containers removed - No containers running Try running a container: Copy and paste this command into your terminal docker run -d -p 80:80 docker/getting-started Unable to find image 'docker/getting-started:latest' locally latest: Pulling from docker/getting-started  Error in set up docker: Error response from daemon: Ports are not available: listen tcp 0.0.0.0:80: bind: address already in use.     Port...
Andrew Fletcher
It is really simple to switch users in Ubuntu or any other Linux distribution...
Andrew Fletcher
  Z shell (Zsh) is a Unix shell built on top of bash (the default shell for...
Andrew Fletcher
Steps to get the Solr date range widget working.   Steps Enable the Facets...
Andrew Fletcher
Following is a series of steps to install Tika and have it running for your Solr...