Kids, I think it's time for a Cop Rock reboot

Posted: May 6, 2019

I spent a couple of years playing and working with Drupal before actually joining  It's been a fun ride!

Posted: May 5, 2019

It's things like this that you can find in facebook's js that makes me chuckle.


Posted: May 3, 2019


Posted: May 3, 2019

Leaving the headline to the side for a second, reading the article, it sounds like the point of the sermon is that it was sinful and he needed to be forgiven. He was using it as a teaching moment for how not to act / think. Even the best of is have dark thoughts, I think it takes a good person to says "I had this dark thought, it was wrong and I need to be forgiven"

Posted: May 3, 2019

I have lost count of the amount of times I google how to do something technical and google points me to someplace where I've answered the question in stack exchange, a forum or on my blog.

Is this what getting old feels like?

Posted: May 2, 2019

Resetting the Initial NID to 1 After Deleting All Nodes in Drupal 8


Writing this mostly as a note to myself.

I'm in the process of migrating nodes from three different Drupal sites into a new Drupal 8 site.  Over the last day or so, I've been working on building out the Migration YML (Migration API FTW).  Of course as I've been debugging I've been importing and rolling back migrations.  Of course, as I do this, my starting NID is getting larger and larger.  It was over after me test data nigrations.  When the time comes for the final import of content, I want the first NID to be 1 (just for cleanliness sake).

In Drupal 7 the delete all module did this with a "--reset" flag but doesn't in D8.  Here's the couple of lines of SQL code to reset the auto increment on the necessary tables:

  1. ALTER TABLE `node_revision` AUTO_INCREMENT=1;
  2. ALTER TABLE `node_field_data` AUTO_INCREMENT=1;
  3. ALTER TABLE `node_field_revision` AUTO_INCREMENT=1;

Make sure you DELETE all nodes before doing this, otherwise you are likely to cause data corruption down the line,

Share and Enjoy!

    Posted: May 2, 2019

Job Ad for a Web Developer Position :

Must pass a testing for "110wpm typing with 98% accuracy".

You have no idea what a developer does, do you?

Posted: May 2, 2019
Posted: May 1, 2019