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
115
results
Andrew Fletcher
•
I prefer htop over top on my Linux server. Running a Solr index got me thinking how can I install htop on macOS Big Sur 11.4 based MacBook pro?
If you don't already know htop is comparable to the top command, but it has additional options. The htop allows you to scroll vertically and horizontally, so you can see all the processes running on the system. You can get command lines and args. Common tasks related to processes (killing, renicing) done without entering...
Andrew Fletcher
•
The generally accepted answer to a mysqldump is:
mysqldump -h [host] -u...
Andrew Fletcher
•
Wanting to create a new repository on GitHub, add in a few of the available...
Andrew Fletcher
•
On a git pull from remote dev environment to a staging environment running off...
Andrew Fletcher
•
I needed the check if a file existed in a directory as the migrate script wasn't...
Andrew Fletcher
•
Joining a new company / team there is always a lot of new items to do, install and familiarise yourself. Below is a working list:
Products
URL / install path
Notes
Homebrew
https://brew.sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Docker
https://docs.docker.com/docker-for-mac/install/
Visual Studio Code
https://code.visualstudio.com
Sequel Ace
App Store
1Password
App...
Andrew Fletcher
•
Updating Drupal from 8.7.10 to 8.8.x or 8.9.x has seen a significant change...
Andrew Fletcher
•
As outlined in an earlier article composer php version, when installing the...
Andrew Fletcher
•
I had been running a few Centos 6 servers just past their EOL (30th November...
Andrew Fletcher
•
Core Data - customising our data model
When you are using Core Data, and let's...
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
•
I need to set the default php-version of a subscription to php7.3. The...
Andrew Fletcher
•
Don't worry this is an issue that many Drupal developers have come across....
Andrew Fletcher
•
Working on a new CentOS 7 server, Node wasn't installed. You can...
Andrew Fletcher
•
Using a Centos 6 or 7 server, how to check the current version of Apache?
httpd...