Skip to main content
24
results
Andrew Fletcher
Docker containers list To view a list of Docker containers that are currently running, you can use the docker ps command. Open your terminal or command prompt and run the following command: docker psThis command will display a list of running containers, showing information like the container ID, image name, status, ports, and more. If you want to see all containers, including those that are not currently running, you can use the following command: docker ps -aThe -a option shows all containers,...
Andrew Fletcher
Update Ubuntu 20.04 To begin update the server using the command sudo apt update...
Andrew Fletcher
Working in an AWS ec2 environment, my goal is to access the server via...
Andrew Fletcher
Installing PHP on OSX and it installed PHP 8.2.x.  However, for my...
Andrew Fletcher
Build the PHP base image with apache-buster using the Dockerfile.base Since JN...
Andrew Fletcher
Creating a bash script Bash scripts are files containing code that tell your computer to do something.  In this instance, I want to rename a batch files in a directory.  Such as changing:   37351001 - BlueSpotted.jpg 37351008 -SpangledEmporer _ 0133A.jpg 37353003 -Black-Bream_3481 .jpg 37353004   -35 - Yellowfin.jpgInstead having these files appear as: 37351001.jpg 37351008.jpg 37353003.jpg 37353004.jpgHowever, I don't have four files.  Wouldn't be worth my time...
Andrew Fletcher
  JSON structure Outlining the structure of the elements common attributes:...
Andrew Fletcher
In this instance, I'll check the beginning of the string.  I want to focus...
Andrew Fletcher
Working from the bases that .DS_Store has not been added to your git repository,...
Andrew Fletcher
To sort through a multidimensional array seems to be a function that I...
Andrew Fletcher
phpcs issue in Visual Studio Code, I'm receiving this warning in VS Code: phpcs: Unable to locate phpcs. Please add phpcs to your global path or use composer decency manager to install it in your project locally.  How to fix You can install phpcs by using composer global command: composer global require squizlabs/php_codesnifferThen in VS Code, go to  Click Code -> Preferences -> Settings Select User Settings and locate 'PHP CodeSniffer', or in the Search settings enter...
Andrew Fletcher
Had the situation where you are running composer however, the scripts stops with...
Andrew Fletcher
Oh the treasure of a client coming to you with a site they have removed the...
Andrew Fletcher
As a web developer, you will most likely need to run local copies of a bunch of...
Andrew Fletcher
I installed Lando 3.6.2 and Laravel 9.  When I visit the web page, I...