Skip to main content
14
results
Andrew Fletcher
As you're using Bootstrap 5 and applying a style for the hover state of an accordion button, specifically changing the background image of an ::after pseudo-element. If you want to change the icon colour on hover, you should modify the fill attribute in the SVG's path element.  Here's an example: /* Default state */ .accordion-button::after { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd'...
Andrew Fletcher
Docker containers list To view a list of Docker containers that are currently...
Andrew Fletcher
Working in an AWS ec2 environment, my goal is to access the server via...
Andrew Fletcher
Using CK Editor 5, I needed to add instructions to a page that held FontAwesome...
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
As a web developer, you will most likely need to run local copies of a bunch of...
Andrew Fletcher
Running Docker Dangerous word... I'm assuming that Docker is installed....
Andrew Fletcher
Running Docker and attempting to install a web proxy environment where I'm...
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 a Docker ID.  Not sure, well most likely you created it to download Docker Desktop.  If you don't have one, go to Docker and sign up. In your  text editor create a file called Dockerfile in the same directory you want to have as your local site. No extension, just Dockerfile. Paste in this code and save the file: FROM nginx:latest COPY . /usr/share/nginx/htmlThis tells Docker to use the same nginx...
Andrew Fletcher
Resetting Docker is basically following the start parameters.  All...
Andrew Fletcher
Setting up a new project in Docker and VS Code. Using Terminal, go to your...
Andrew Fletcher
Running Docker in a new process and creating a container.   Go to the...