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
13
results
Andrew Fletcher
•
Creating a bash script
Bash scripts are files containing code that tell your computer to do something. In this instance, I want to rename a batch files in a directory. Such as changing:
37351001 - BlueSpotted.jpg
37351008 -SpangledEmporer _ 0133A.jpg
37353003 -Black-Bream_3481 .jpg
37353004 -35 - Yellowfin.jpgInstead having these files appear as:
37351001.jpg
37351008.jpg
37353003.jpg
37353004.jpgHowever, I don't have four files. Wouldn't be worth my time...
Andrew Fletcher
•
Working on a decoupled React / Drupal 9 site.
Aim: Adjust the output of curated...
Andrew Fletcher
•
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
•
This code is from Drupal 9 back-end for a React front-end via REST API.
Working...
Andrew Fletcher
•
I'm writing these steps primarily for myself as a reference. However, if...
Andrew Fletcher
•
Time is essential to all of us... and if you are like me there is never enough of it! Anyway, the amount of time to read a piece of content can persuade someone whether to read on further... or swipe it away. When on the verge of flipping an article as the title and /or teaser text hasn't got me across the line, the time to read is a handy reference for me. This handy feature is becoming more common across any decent article publisher.
So how do you add this feature to...
Andrew Fletcher
•
I had an issue where logging in from the app disconnected. The error that...
Andrew Fletcher
•
Using October CMS to migrate your site and update the tables with the plugins...
Andrew Fletcher
•
Overview
To update ejabberd you need to remove it, then re-install with the...
Andrew Fletcher
•
The starting point is to read through and follow the notes outlined on the...
Andrew Fletcher
•
To add Erlang repository that also includes the public key for verifying signed package, use the following shell commands:
wget https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
rpm -Uvh erlang-solutions-1.0-1.noarch.rpmInstall Erland
yum install erlangCheck that Erland has been installed enter the command (case sensitive)
erlIf the Erland package has been successfully installed terminal will be output something like
Erlang/OTP 21 [erts-10.3.2] [source] [64-bit]...
Andrew Fletcher
•
Adding a pem file to secure ejabbered on the server for chat connection.
Getting...
Andrew Fletcher
•
To access the ejabberd log files, I found them located at the following...