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
137
results
Andrew Fletcher
•
Using Homebrew for speed tests...
I'm using Speediest CLI - for more details go to https://github.com/sivel/speedtest-cli
To install speedtest CLI is is quick by running the following
brew install speedtest-cliI had a few brew updates required as you'll see by the response below
You have 18 outdated formulae installed.
==> Fetching dependencies for speedtest-cli: mpdecimal, openssl@3 and python@3.11
==> Fetching mpdecimal
==> Downloading...
Andrew Fletcher
•
I'm in an environment where the default branch is staging and I'm attempting to...
Andrew Fletcher
•
How to count the number of files in a directory. At some point you'll have...
Andrew Fletcher
•
I've recently upgraded the server Ubuntu 20.04 updating the PHP version from 7.4...
Andrew Fletcher
•
Setting up the admin password.
Process:
1. Edit jetty.xml
To begin you...
Andrew Fletcher
•
Find by file name
To perform a find command in terminal use
find / -name php.ini -type f
find / -name {filename} {type parameters}Note there are many parameters in the commands, so I'll cover a couple regular expressions here. Such as,
-name
matches the string being searched and is case sensitive
-iname
matches the string being searched and is case insensitive
-type f
means to find a file with the name being searched. In this instance php.ini
-type d
find a...
Andrew Fletcher
•
In this article I'll walk through the steps I went through to install Solr on...
Andrew Fletcher
•
Looking to install Solr on your server? Not sure if it worth the...
Andrew Fletcher
•
I had generated a backup of key directories on the server - see Create a...
Andrew Fletcher
•
An approach to generating a backup server is using a shell script. A...
Andrew Fletcher
•
This article works through the steps to update dependencies in package.json file to the latest version.
Use npm-check-updates or npm outdated to suggest the latest versions.
npm-check-updates is a utility that automatically adjusts a package.json with the latest version of all dependencies
npm install -g npm-check-updates
ncu -u
npm installHowever, a less intrusive (avoids a global install) way of doing this if you have a modern version of npm is:
npx npm-check-updates -u
npm...
Andrew Fletcher
•
Android Studio error
Installation did not succeed.
The application could not be...
Andrew Fletcher
•
Android Studio error
error: package android.support.v4.content does not...
Andrew Fletcher
•
Android Studio build errors
Build failed error: cannot find symbol if...
Andrew Fletcher
•
Initialise your Capacitor config
To initialise Capacitor use the CLI...