Skip to main content
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
Looking to install Solr on your server?  Not sure if it worth the...
Andrew Fletcher
Currently, I have a situation where I have two repositories.  The first is where I've held the code since the beginning.  The second has come on board recently and is the client repo.  However, rather than shut the original down, I want to keep both running with the same code.  How do I synchronise them so that they contain the same thing? Configure a remote that points to the upstream repository in Git to sync changes you make in a fork with the original repository....
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
When attempting to do a git push, are you getting the following...
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
In this woalk through I am going to use GitHub.  However, the steps are...
Andrew Fletcher
Oh the treasure of a client coming to you with a site they have removed the...