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
13
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
•
A summary of Node package commands
Short cut commands
npm install...
Andrew Fletcher
•
Updating NPM packages using npm update and I'm seeing the following response
npm...
Andrew Fletcher
•
Looking to install Solr on your server? Not sure if it worth the effort? Well, Apache Solr is the open-source, popular, super fast open source enterprise search platform from the Apache Lucene project. Written in Java, Solr is highly scalable, providing fault-tolerant distributed search and indexing.
Let's walk through the steps I went through to install Solr on Centos 7.
Step 1: Java
Check if Java is installed on your server:
java -versionNot there - then JAVA is the...
Andrew Fletcher
•
phpcs issue in Visual Studio Code, I'm receiving this warning in VS...
Andrew Fletcher
•
Installing Varnish to increase the speed of the page load.
Install varnish using...
Andrew Fletcher
•
Currently I'm working through an app that has been abandoned by the developers....
Andrew Fletcher
•
Setting up a new project in Docker and VS Code.
Using Terminal, go to your...
Andrew Fletcher
•
Core Data - customising our data model
When you are using Core Data, and let's say that you have a requirement to have an attribute where the options available should be a defined list. Such as "Not Started", "Pending", "In Development" and "Completed". How do you create this as an option in Core Data?
Thinking out loud, the practical solution would be to use an enum. But how do you use a enum in this instance? As you might have noticed, unfortunately, it...
Andrew Fletcher
•
To add ejabberd and run MYSQL to the server I needed to update the server...
Andrew Fletcher
•
Installing Laravel on an Apache server was going to be a no fuss process said no...