Blog

By admin, 28 February, 2024

I'm pretty pleased with this find. It suits my need for low overhead, low learning curve, easy install, stable and predictable. I asked Bing Copilot to write a few things about it:

Pinta is a free and open-source program designed for drawing and image editing. Its primary goal is to provide users with a straightforward yet powerful way to create and manipulate images across various platforms, including *Linux, Mac, Windows, and BSD1. Let’s delve into some of its notable features:

By admin, 4 January, 2024

I recently put this Drupal 10 version of my site up (December 2023) and I've been browsing through my content on the old Drupal 7 site.  I came across some information that seemed worth sharing.

 

Here are some tech products that I use frequently and have for many years:

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 have to often issue commands like: vagrant up, or vagrant reload and OSX wants to be sure that I know what I am doing so it cleverly asks for my password.  Thanks to the efforts of a very smart coworker, there is a workaround to this problem.

 

First do:
which sed


and replace the /usr/bin/sed below with your path to sed)

These go under cmd alias specification section

Use this command to edit /etc/sudoers (don't do it directly):
sudo visudo

By Selwyn Polit, 25 August, 2021

I recently purchased a cool new 4 TB external WD hard drive for backups.  When I plugged it in and rebooted my computer, I got a black screen and never saw windows boot up. I spent some time looking at various posts but never found anything useful so I thought I'd post my solution here.

Note.  the drive worked fine when I plugged it in.  I only found a problem when I rebooted the computer.  This is a problem as I plan to leave the drive plugged in so my system can make a daily backup each evening to the external drive.

By Selwyn Polit, 25 August, 2021

Using Drupal 7, I needed to programattically add a useragent field (webform calls these components) and a url field to my webform nid 7477.  The url field is a hidden field of type: Hidden element (less secure, changeable via JavaScript.)  If you leave off the extra array in the url definition, it will be the normal hidden type.  You can see this when you click the edit button for this component.  I hope someone finds this useful.

By Selwyn Polit, 25 August, 2021

Building on this article and this video I figured I would spell out some of the details of using multiple ssh keys with github. I re-read the article a few times before I found the comments which spelled out what I finally needed to be able to have multiple email accounts each with a different ssh key for github repos. This article applies to a Mac running OSX but could easily be adapted to linux platforms.

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