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
16
results
Andrew Fletcher
•
In Vim, following is an outline of the vi(m) functions you can utilise whilst in command mode - yes they are case sensitive
action
outcome
a
change to insert mode (after cursor)
A
change to insert mode (at end of line)
dd
delete one line
G
go to end of the file
1G
go to top of the file
i
change to insert mode (before cursor)
J
merge next line with this one
p
paste deleted or yanked text after cursor
P
paste deleted or yanked text before cursor
r
replace one...
Andrew Fletcher
•
Installing PHP on OSX and it installed PHP 8.2.x. However, for my...
Andrew Fletcher
•
Regular commands for brew
Brew update
This updates Homebrew itself....
Andrew Fletcher
•
Looking to install Solr on your server? Not sure if it worth the...
Andrew Fletcher
•
Installing Varnish to increase the speed of the page load.
Install varnish using...
Andrew Fletcher
•
In terminal I ran a regular command - compose update. Something I've completed thousands of times previously. However, this time I received the following response:
env: php: No such file or directory
What gives?
Well, thinking through what had recently changed... The only major change was upgrading OSX to Monterey. So a little of Googling and found yep this could be the cause. PHP has been removed from MacOS since v12 (Monterey), so you first need to...
Andrew Fletcher
•
You can create a new date/time format by navigating to:
Admin ->...
Andrew Fletcher
•
Well for me it is very slow. Recently, I upgraded from CentOS 6 to Centos...
Andrew Fletcher
•
Regular expressions (regex) are extremely useful in extracting information from...
Andrew Fletcher
•
Step 1: Install Homebrew
Homebrew is the missing package manager for macOS.
As...
Andrew Fletcher
•
To add ejabberd and run MYSQL to the server I needed to update the server version of mysql from 5.5 to 5.7. Fortunately, there are great instructions on the Plesk support page regarding how to achieve this outcome.
https://support.plesk.com/hc/en-us/articles/213403429-How-to-upgrade-MySQL-5-5-to-5-6-5-7-or-MariaDB-5-5-to-10-0-10-1-10-2-on-Linux
As a point of reference, as I worked through the steps... step 10 you need to restart the MYSQL server. This is a quick progress by...
Andrew Fletcher
•
To connect to your CPanel hosted server via SSH OSX, please follow...
Andrew Fletcher
•
Whilst updating nodejs and npm on a Centos 6 or 7 server running Apache, I...
Andrew Fletcher
•
Recently I had an error with a domain smtp server not recognising port 587....
Andrew Fletcher
•
Installing Laravel on an Apache server was going to be a no fuss process said no...