Skip to main content
114
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
Running composer on a server... when running the command composer update, screen...
Andrew Fletcher
Resetting Docker is basically following the start parameters.  All...
Andrew Fletcher
It is really simple to switch users in Ubuntu or any other Linux distribution using the terminal, iTerm2 or your go to shell program. All you need to do is to know the username and its account password and you can switch users with su command: su another_usernameYou’ll be asked to enter the password of the user you want to switch to.   List all the users on Linux Let’s say you want to create a sudo user in Linux. Probably, the very first thing to know is how to know what users are in my...
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...
Andrew Fletcher
Working on an Azure server I ran a mysqldump command to generate a copy of the...