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
25
results
Andrew Fletcher
•
A summary of Node package commands
Short cut commands
npm install <package>
npm i <package>npm install --save <package>
npm i -S <package>npm install --save-dev <package>
npm i -D <package>npm install --global <package>
npm i -G <package>npm test
npm t
Update and outdated
Use outdated to discover dependencies that are out of date
npm outdatedUse update to perform safe dependency upgrades
npm updateUse install <packagename>@latest to...
Andrew Fletcher
•
Update Ubuntu 20.04
To begin update the server using the command
sudo apt update...
Andrew Fletcher
•
Updating NPM packages using npm update and I'm seeing the following response
npm...
Andrew Fletcher
•
Installing PHP on OSX and it installed PHP 8.2.x. However, for my...
Andrew Fletcher
•
Setting up the admin password.
Process:
1. Edit jetty.xml
To begin you...
Andrew Fletcher
•
In this article I'll walk through the steps I went through to install Solr on Ubuntu.
Step 1: Java
Check if Java is installed on your server:
java -versionNot there - then Java is the first step for you to set up for Solr. JAVA SE 8 or Later is required to run Apache Solr 8. Utilisation taking after order to check in the event that you have Java introduced as of now on your system.
sudo apt install openjdk-11-jdkVersion check again and you now will get a response...
Andrew Fletcher
•
Looking to install Solr on your server? Not sure if it worth the...
Andrew Fletcher
•
JSON structure
Outlining the structure of the elements common attributes:...
Andrew Fletcher
•
In this instance, I'll check the beginning of the string. I want to focus...
Andrew Fletcher
•
Working from the bases that .DS_Store has not been added to your git repository,...
Andrew Fletcher
•
To sort through a multidimensional array seems to be a function that I occasionally call on. Handy to have referenced here:
/**
* Loop through a multi dimensional array
*
* @param array $haystack
* Data array.
*/
protected function sortMultiDimensionalArray($haystack)
{
foreach ($haystack as $key => $item) {
// If $item is an array and the number of children is greater to one
// keep looping through the array.
if (is_array($item) &&...
Andrew Fletcher
•
phpcs issue in Visual Studio Code, I'm receiving this warning in VS...
Andrew Fletcher
•
Had the situation where you are running composer however, the scripts stops with...
Andrew Fletcher
•
Oh the treasure of a client coming to you with a site they have removed the...
Andrew Fletcher
•
Currently I'm working through an app that has been abandoned by the developers....