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
119
results
Andrew Fletcher
•
Whilst updating nodejs and npm on a Centos 6 or 7 server running Apache, I hit a few walls and as a matter of process found some commands that are handy to run before doing a deep dive in Google.
Cleaning the cache
sudo yum clean all
rm -rf /var/cache/yum/*
To make the cache
sudo yum clean all; sudo yum makecacheIf you want to run several commands use semi-colon as noted above.
Updating
When running an update command run
sudo yum -y...
Andrew Fletcher
•
For what reason would you need to find the identity of the current user? You are...
Andrew Fletcher
•
I started out with a simple task... install Tailwindcss. What unfolded is...
Andrew Fletcher
•
Blocks are a great way to add pieces or chunks of content to your Drupal site....
Andrew Fletcher
•
Recently I had an error with a domain smtp server not recognising port 587....
Andrew Fletcher
•
I had an issue where logging in from the app disconnected. The error that kept popping up was
[date time stamp] [warning] <0.1722.0>@ejabberd_c2s:process_terminated:304 (tls|<0.1722.0>) Failed to secure c2s connection: TLS failed: Failed to find a certificate matching the domain in SNI extension: error:1408A0E2:SSL routines:SSL3_GET_CLIENT_HELLO:clienthello tlsext
I had thought the issue was to do with a TLS error. I wanted to run TLS 1.2 only. To do so:
1....
Andrew Fletcher
•
At times while developing in October CMS, you will perform a step that kills the...
Andrew Fletcher
•
Installing Laravel on an Apache server was going to be a no fuss process said no...
Andrew Fletcher
•
As a process I apply patches locally first, then using git upload the update(s)...
Andrew Fletcher
•
Today while in Terminal, I ran a regular script pod update. However, this...
Andrew Fletcher
•
To copy the content of a directory /source to another existing directory /destination can be achieved with the command cp -a
cp -a source/. destination/
Changing the variables accordingly:
source = challenge/vendor/
destination = stg/vendor/
cp -a challenge/vendor/. stg/vendor/
The -a option is an improved recursive option, that preserve all file attributes and also preserves symlinks;
The full point (.) at end of the source path (i.e. challenge/vendor/.) is a specific cp syntax...
Andrew Fletcher
•
First transfer the drupal-8.8.x.tar.gz file to your directory
Via your ssh...
Andrew Fletcher
•
To get your ip address in Terminal on OSX on WIFI
ipconfig getifaddr en0Whereas...
Andrew Fletcher
•
While I have posted an article about how to POST an image using REST in Drupal...