Brian Tamaki: Cult leader, enormous ego, potential killer

Submitted by Unifex on Mon, 10/04/2021 - 20:47

New Zealand has had an awesome track record with our handling of Covid. But some people are just too selfish and appear to have no consequences to their actions. It is looking like there may be some consequences for Brian Tamaki though.

On the slight chance that a petition can sway this process I would like to encourage people to add their name to this one.


Submitted by Unifex on Wed, 06/09/2021 - 09:02

I really like Drupal. It is fun to work with, technically stimulating, and the rewrite that was Drupal 8 allowed me to bring my PHP skills screaming and kicking into the modern era. This was my greatest fear and the the thing I was most looking forward to. I'd gotten to the point where I didn't really consider myself a PHP dev any more. I was a Drupal dev. Drupal 8 made me a PHP dev once again. PHP still has it's issues, but it is so much more than it was back in the early days.

Yeah, but will Trump get what's coming to him?

Submitted by Unifex on Fri, 11/06/2020 - 22:35

I just watched the AP reporting on Georgia flip from red to blue. The trend for the entire day has been heading in that direction and I see no reason for it to not continue in that vein given the nature of what is being counted. All that happens now is the reinforcement of Bidens hold on that state. Biden has had Nevada for some time and the hold there is getting better. Neither of these states have been called yet. If they are though, that will be an extra 22 electoral college votes taking Biden to 286. Sixteen more than he needs.

Reusable content in Paragraphs

Submitted by Unifex on Fri, 10/30/2020 - 08:42

While it's not possible to reuse paragraphs you can create a paragraph type that mimics this behaviour.

Prep reusable content.

  1. Create your various Custom Block Types at Administration > Structure > Block layout > Custom block library. This should already have a Basic block.
  2. Create your reusable content using these block types at Administration > Structure > Block layout. Click Add custom block, select the Block type you want, fill in the content for it.

Add a Block Paragraph Type.

Ben Carson and the My Pillow Guy advise Trump

Submitted by Unifex on Tue, 08/18/2020 - 23:15

So... The current occupier of the Oval Office is eyeing a new unproven treatment for Covid-19 promoted to him by Ben Carson (Housing and Urban Development Secretary, former neurosurgeon, and dude who thinks the pyramids were used to store grain) and the My Pillow Guy (the My Pillow Guy (seriously, this guy has no qualifications to take him seriously on this topic.))

Then the "username" XML element should contain "behat-user"

Submitted by Unifex on Tue, 06/30/2020 - 09:49

Behat is really useful. I've recently been on a project where we are using it extensively and I don't see myself not including it in every project going forward from here.

I came across a situation that behat couldn't handle out of the box and had to write my first step. The scenario was checking an XML element for a given value. I found that the WebDriver we were using did not handle XML. Some do, some don't. The one we're using didn't.