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
26
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
•
The error you're encountering indicates an issue with the ffi gem during the...
Andrew Fletcher
•
Visual Studio Code (VS Code) allows you to manage extensions using the VS Code...
Andrew Fletcher
•
Creating a foreach loop such as
var maxDigits: Int = 5
private var...
Andrew Fletcher
•
To completely remove Microsoft Remote Desktop from OSX you need to perform the following
Bin the MRD app
Drag the Microsoft Remote Desktop app to the bin.
In Finder, select Go > 'Go to Folder', and enter the following path:
/private/var/db/Locate the RemoteManagement folder and bin it.
Back to Finder, again select Go > 'Go to Folder', and enter the following:
/Library/Containers/Following you entering the above and nothing happens (as did for me), you need to enter the full...
Andrew Fletcher
•
The challenge I was facing, I had written a script to scan barcodes and use...
Andrew Fletcher
•
In Xcode and executing a run command, the response error was:
{
"name":...
Andrew Fletcher
•
Working hard developing your app and now it's time to let others begin testing...
Andrew Fletcher
•
ERROR Error: Uncaught (in promise): TypeError: undefined is not an object...
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
•
In Xcode attempting to build or run an app, I receiving a framework...
Andrew Fletcher
•
While loading an ionic project, in Xcode when performing a run routine I had the...
Andrew Fletcher
•
Connecting a device and testing in Xcode have you had a no profiles...
Andrew Fletcher
•
Setting up a new project in Docker and VS Code.
Using Terminal, go to your...