Skip to main content
12
results
Andrew Fletcher
When working with code in Visual Studio Code, you may need to search for specific instances of a function or method, such as self.logger.log. However, it can be frustrating to sift through lines that are commented out, like # self.logger.log. Fortunately, VS Code provides a powerful search feature that allows you to exclude these commented lines from your search results.   The challenge Suppose you want to search for all occurrences of self.logger.log in your codebase, but you don't want to...
Andrew Fletcher
Working on a project where the JSON dataset contains over 460,000 named records,...
Andrew Fletcher
If you're working with a large codebase in Visual Studio Code (VS Code) and need...
Andrew Fletcher
Visual Studio Code (VS Code) allows you to manage extensions using the VS Code...
Andrew Fletcher
By default the maximum file upload size is set to 2MB.  It is not a...
Andrew Fletcher
Installing PHP on OSX and it installed PHP 8.2.x.  However, for my applications I need to run 8.1.x.  How do you switch the current PHP version?   Current version Check the current PHP version by executing the command php -vResponse: PHP 8.2.2 (cli) (built: Feb 5 2023 12:38:16) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.2, Copyright (c) Zend Technologies with Zend OPcache v8.2.2, Copyright (c), by Zend Technologies  Unlink PHP To change your PHP version, begin...
Andrew Fletcher
Regular commands for brew   Brew update This updates Homebrew itself....
Andrew Fletcher
phpcs issue in Visual Studio Code, I'm receiving this warning in VS...
Andrew Fletcher
In terminal I ran a regular command - compose update.  Something I've...
Andrew Fletcher
Like many devs at the moment, looking for log4j2 on your server... how to...
Andrew Fletcher
Setting up a new project in Docker and VS Code. Using Terminal, go to your Sites directory and create a new directory using the mkdir command.  In this instance I'm going to create a new directory titled ADCE shortcut command to access the Sites directory cd ~/SitesCreate the new directory mkdir ADCEGo in to the new directory cd ADCERun the devcontainer command devcontainerThis will require you to respond to prompts.  I'll be setting up on PHP 7.4, Drupal 9, MySQL 5.7 and SOLR...
Andrew Fletcher
Step 1: Install Homebrew Homebrew is the missing package manager for macOS. As...