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
14
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
•
By default the maximum file upload size is set to 2MB. It is not a...
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
•
Regular commands for brew
Brew update
This updates Homebrew itself....
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
•
In terminal I ran a regular command - compose update. Something I've...
Andrew Fletcher
•
Having Drupal Solr Search APi running, I thought adding synonyms to the mix...
Andrew Fletcher
•
You can create a new date/time format by navigating to:
Admin ->...
Andrew Fletcher
•
Regular expressions (regex) are extremely useful in extracting information from any text by searching for one or more matches of a specific search pattern.
The basic anchors - ^ and $
expression
action
^The
matches any string that starts with The
end$
matches a string that ends with end
^The end$
exact string match (starts and ends with The end)
pragmatic
matches any string that has the text pragmatic in it
The basic quantifiers — * + ? and...
Andrew Fletcher
•
Step 1: Install Homebrew
Homebrew is the missing package manager for macOS.
As...
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....