Home
OO PHP, Drupal, Symfony Developer and Architect
Tim Rabbetts

Main navigation

  • Home
  • Blog
  • Log in

Blog

Breadcrumb

  • Home
  • blog
  • Blog

docker-compose nginx, container starts but nginx is not running on port 80, no errors

Written by Tim Rabbetts on Mon, 10/08/2020
computer, technology, pc
This was a tricky one.  I'm building a tool to spin up new Drupal instances, built on docker, using a distro.  I ran everything and the nginx container was running but using this…
nginx

Sync Ubuntu across multiple machines.

Written by Tim Rabbetts on Mon, 03/08/2020
switch, technology, industry
I use the insync tool to sync files and bitbucket to sync code.  Code sync is pretty simple, but I wanted to synchronize my home folder.  To make life a little simpler I created a /…
ubuntu

Install an android virtual machine on Ubuntu

Written by Tim Rabbetts on Fri, 31/07/2020
smartphone, cellphone, apple i phone
I wanted to do some dev work with react native, seemed like a good option to test using Android Virtual Device (avd).  However, installing an android virtual device was a total pain in the…
android

The PHP Standard Recommendation (PSR)

Written by Tim Rabbetts on Thu, 30/07/2020
php, elephant, blue elephant
The PHP Standard Recommendation (PSR) is a PHP specification published by the PHP Framework Interop Group. Similar to Java Specification Request for Java, it serves the standardization of programming…
php

Unable to determine class for field type '' found in the 'field.field.' configuration

Written by Tim Rabbetts on Wed, 22/07/2020
desk, smartphone, iphone
I ran drush pm:uninstall xmlsitemap got this error In FieldConfigStorageBase.php line 31:                            …
drupal

Run drush cron inside docker

Written by Tim Rabbetts on Sat, 23/05/2020
business, cargo containers, crate
One way I have found to run drush hourly in cron is by adding an entry like this to the hosts crontab. 0 * * * * cd /my/folder/with/docker/compose/file/in/it && /usr/local/bin/docker-…
drupaldrushcron

Get started with Kubernetes and microk8s

Written by Tim Rabbetts on Mon, 11/05/2020
container, ship, container ship
I've used docker and docker-compose until now, but now looking at possible production containerization and its clear Kubernetes is the way to go.   Kubernetes (K8s) is an open-…
kubernetesmicrok8s

Using a CDN with Drupal 8

Written by Tim Rabbetts on Mon, 27/04/2020
server farm, server, work
I recent used gtmetrix to speed review my site and one of the main issues was the lack of CDN use.  A CDN is a Content Delivery Network, you host things like javascript, css, images on a network…
drupalcdn

ERR_CERT_AUTHORITY_INVALID behind corporate firewall or proxy

Written by Tim Rabbetts on Thu, 02/04/2020
cyberspace, data, wire
I got this message while working on a virtual box VM for a large corporation. Your connection is not private Attackers might be trying to steal your information from www.google.com (for example,…
linux

Drupal 8: embed entity wysiwyg custom form and then render the value in another form.

Written by Tim Rabbetts on Thu, 02/04/2020
technology, keyboard, computing
Its possible to easily embed entites into the Drupal 8 wysiwyg editor, however, I have a custom form and when I rendered it in another form it didnt render correctly.  The reason was I used…
drupal

Drupal 8: add custom field to menu and template

Written by Tim Rabbetts on Thu, 02/04/2020
programmer, programming, code
Had need to add custom image field to menu items.  First thing is to attach the field using this code in custom module. function iop_entity_base_field_info(\Drupal\Core\Entity\…
drupal

Drupal 8: Adding t function to a service

Written by Tim Rabbetts on Thu, 02/04/2020
computer, pc, workplace
So best practice it to use $this->t() instead of t().  However, if you use this in a service it will fail.  I added this code to get t function working: use Drupal\Core\…
drupal
Pagination
  • First page « First
  • Previous page ‹‹
  • …
  • Page 6
  • Page 7
  • Page 8
  • Page 9
  • Page 10
  • Page 11
  • Current page 12
  • Page 13
  • Page 14
  • Next page ››
  • Last page Last »