Shuffle Bot!

This was quite a build! It was a lot of fun and I hope to detail more of it here in the future.

Image removed.

Drupal 8 Woes

I've spent the past few weeks trying to complete a project that would make this website better. Unfortunately, it looks like I will need to roll back to Drupal 7. The state of Drupal 8's contributed modules is poor. Very few of my favorite modules have been completely ported. So, lesson learned. Drupal 8 has been out for a very long time, it's disappointing to have to deal with this, while at the same time, being marketed to about how great Drupal 8 is. 

Deleting thousands of files in a single directory

Pro tip, use perl. It's the fastest. This drained a mqueue-client folder that got out of control very quickly.

Change to your directory

perl -e 'for(<*>){((stat)[9]<(unlink))}'

Or make a script and put it in /usr/local/bin/nukethisfolder

#!/usr/bin/perl
perl -e 'for(<*>){((stat)[9]<(unlink))}'

Had a real brain teaser at my new job

Long story short, there's a stored procedure in the SCCM database that does some bad math to calculate the uniqueness of a SMBIOS GUID. This had me stumped for a week, and finally found probably the only other person on the planet that was having the same problem. Problem solved by adding a few bits to 3 stored procedures.

http://www.windows-noob.com/forums/index.php?/topic/5903-pxe-aborted-only-with-one-client-ive-checked-everything/

NBS_LookupDevice

Keep it Classy, McAfee - Unmainted Web

"Test" - With a timestamp from 2010. To me, this says McAfee does not really check their web space or do any kind of housekeeping. Now, was this put there by a McAfee employee, or did someone find a weakness and manage to "echo test" into that folder? Suspicious and lazy, not what you want in a Security vendor, that's for sure.

http://download.nai.com/products/tools/

Cleaning up Duplicate Content on a Drupal Site

I manage a ton of websites. One of them. SuperCars.com, gets most of its content from custom XML feeds. Duplicate content often gets created because of what I believe is a deficiency in the Feeds module. Regardless of the cause, the content is there and needs to be dealt with. I finally found a module that helps with my problem. Dedupe is a "sandbox" project, so make sure to test before you use it.

Pasting Images into Word 2013

Here's how to fix what Microsoft thought was a great idea when changing default paste behavior in Word 2013.

Options > Advanced > Insert Pictures As > In line with Text

I don't know why they changed that. It's absolutely broken.