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.

Breaking into an ePolicy 3.6 or ProtectionPilot Server - For Fun and Profit

Hypothetical situation: You need to assume control of antivirus services for a legitimate business reason. What do?

Here's the easy way. No support request needed, and nothing destructive is going on.

  1. Install SQL Express Management Studio, connect to the local SQL server, usually "SERVER\SQLEXPRESS"
  2. Drill down to your "ePO_SERVER" database, go into Tables, and scroll down to UserTable. Right-click on it and go to "Open Table".

Nerdymark's Timelapse Machine - Raspberry Pi

My Timelapse Machine - Raspberry Pi Build Log

First, some basic things... I'm assuming you know your way around a Linux box. This won't be too detailed, but if you get stuck, leave a comment and I'll do my best to help. I'm sure there's a lot of improvement we can make on the actual /etc/motion.conf file. If you have a particular configuration you like, please share!

/etc/network/interfaces

auto lo
iface lo inet loopback
iface eth0 inet static
address 10.0.1.11
netmask 255.255.255.0
network 10.0.1.0
broadcast 10.0.1.255
gateway 10.0.1.1

/etc/motion/motion.conf