developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
11
results
Andrew Fletcher
•
If you're working with a large codebase in Visual Studio Code (VS Code) and need to find specific occurrences of a term, but only when it's a standalone word possibly surrounded by spaces or parentheses, regular expressions (regex) are your best friend. This guide will walk you through the steps to efficiently search for these instances, I'll be searching for the term 'SBT' and ensuring you don't pick up unwanted matches like `'ADSBTCR'` or `'SBT123'`.
Why use regular expressions?
Regular...
Andrew Fletcher
•
When working with code in Visual Studio Code, you may need to search for...
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...
Andrew Fletcher
•
Regular commands for brew
Brew update
This updates Homebrew itself. Keeping Homebrew current with the command brew update. Note, before running this command, it can take some time (if you haven't run it recently). It is highly recommended that you run the update before trying to install a package.
brew updateResponse
Already up-to-date.
Brew doctor
Post running the brew update, next run a diagnostics command:
brew doctorResponse
Your system is ready to...
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...
Andrew Fletcher
•
Step 1: Install Homebrew
Homebrew is the missing package manager for macOS.
As per the Homebrew site, paste the following in a macOS Terminal prompt.
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"This acton will install Homebrew on your OSX. Using the following command you can check the brew version
$ brew -v
Step 2: Install Node via Homebrew
Type following command to install node
$ brew install nodeCheck the Node and NPM version...