Technology

By Selwyn Polit, 25 August, 2021

 

When you use homebrew to install php 7.1 it will cleverly install php-fpm which listens on port 9000.  This is the default port for xdebug, so if you want to debug php scripts in a lando container, you will have some challenges.

TL;DR

If you've installed php 7.1 with homebrew, it listens on port 9000 so you will need to change the containers php.ini port specification to another port.  e.g.

xdebug.remote_port=9001

Then tell phpstorm to listen on port 9001

By Selwyn Polit, 25 August, 2021

I'm struggling with a peculiar little problem.  My old faithful windows 10 computer will never eject the USB thumb drive.  It doesn't ever show any errors.  Its quite puzzling.  I have several usb devices currently working including a 4TB usb hard drive, usb keyboard and mouse and a Fujitsu USB scanner.  When I plug in the usb thumb drive, Windows makes the familiar boing noise and I can view the contents of the drive, but when I click the bottom right icon to eject, all goes well but explorer still sees the drive.  I can manually remove the thumb drive from th

By Selwyn Polit, 25 August, 2021

On Drupal 7 sites I always spend time in the content view.  That is the one at admin/content.  I usually install the views bulk operation module so I get these cool new views that I can easily tweak.  What a pleasure!  Recently I was on a site that had the administration views module installed.  This replaces the default views for content and comment (and more.)  Unfortunately the link for editing the view that is

By Selwyn Polit, 25 August, 2021

Sometimes you need to get a heading to display inline eg

Name: Fred Bloggs

You can achieve this with either display: inline or float:left; on the class for the label.

told you it was quick.