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
7
results
Andrew Fletcher
•
This code is from Drupal 9 back-end for a React front-end via REST API.
Working through the output for recently viewed pages... the code structure:
<?php
namespace Drupal\custom\Plugin\GetData\paragraph;
use Drupal\custom\Plugin\GetData\ContentBase;
use Drupal\custom\Plugin\GetData\ParagraphTrait;
use Drupal\node\Entity\Node;
/**
* Provides Recent view pages data.
*
* @GetData(
* id = "recent_view_pages",
* title = @Translation("Recent view pages Data"),
* )
*/
class...
Andrew Fletcher
•
xdebug - failed to solve with frontend dockerfile.v0: failed to create LLB...
Andrew Fletcher
•
Like many devs at the moment, looking for log4j2 on your server... how to...
Andrew Fletcher
•
Well for me it is very slow. Recently, I upgraded from CentOS 6 to Centos...
Andrew Fletcher
•
Creating a new account in Mail on OSX Big Sur (11.2) and complete the required...
Andrew Fletcher
•
To connect to your CPanel hosted server via SSH OSX, please follow these steps:
Generate your SSH key
Log in to your CPanel account. As first you will have to generate an SSH key pair in cPanel -> SSH/Shell Access
Complete the details in the Generate new SSH key pair form
First name
Last name
Email
Password - take note of the password you used to generate the key as you will use it shortly
Allowed IP address
Copy the private key from cPanel and save it into...