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
15
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
•
Currently, I have a situation where I have two repositories. The first is...
Andrew Fletcher
•
When attempting to do a git push, are you getting the following...
Andrew Fletcher
•
This code is from Drupal 9 back-end for a React front-end via REST API.
Working...
Andrew Fletcher
•
In this woalk through I am going to use GitHub. However, the steps are...
Andrew Fletcher
•
Wanting to create a new repository on GitHub, add in a few of the available options that can come with an initial repository such as:
.gitignore for the platform you are building on
README.md for detailed notes - particularly if the repository if public
LICENSE - again important if the repository if public
However, once you add one or more of these items, you will need to merge the repository with your local environment. This article walks through creating a new GitHub repository and...
Andrew Fletcher
•
I had been running a few Centos 6 servers just past their EOL (30th November...
Andrew Fletcher
•
Step 1: Install Homebrew
Homebrew is the missing package manager for macOS.
As...
Andrew Fletcher
•
I need to set the default php-version of a subscription to php7.3. The...
Andrew Fletcher
•
Creating a new account in Mail on OSX Big Sur (11.2) and complete the required...
Andrew Fletcher
•
Working on a new CentOS 7 server, Node wasn't installed. You can quickly this through using the prompt node -v
node not foundIn Plesk, the extension had been installed, however this doesn't mean correctly. So I needed to install Node and npm on the CentOS 7 server.
Installing nodejs and npm
To get the curl for v14 go to https://github.com/nodesource/distributions#rpminstall and you'll see that the most suited is
# As root
curl -sL...
Andrew Fletcher
•
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI...
Andrew Fletcher
•
To add ejabberd and run MYSQL to the server I needed to update the server...
Andrew Fletcher
•
I started out with a simple task... install Tailwindcss. What unfolded is...
Andrew Fletcher
•
As a process I apply patches locally first, then using git upload the update(s)...