The Answers You Were Looking For

Welcome to Hard Answers

Hello and welcome. I’m Ned Martin. Ever spent a long time finding the answer to something?  I have, and when I do, I put it here in the hope that it might help someone else—plus, if I ever need it again… I know where to look.

Got a question? Ask me.

Or, if you’ve found an answer to something you think would help other people, let me know, and I’ll add it to my growing collection of hard answers.

Search

Categories

Select a category below, to view all answers about that subject.

Random Articles

Here’s a few random answers, for no apparent reason. Perhaps you were looking for them?

Improve Advanced Custom Fields Relationship And Post Object Fields Search
How to get the ACF Relationship and Post Object fields to sort by search results relevance, only show published posts, search by URL, and exclude the current page

How To Activate An XP Mode VM On Windows 10
You are running Windows 10 and you want keep using an XP Mode virtual machine after its activation has expired

Correcting Clock Drift On A CentOS VM Under Hyper-V On Server 2008 R2
How to correct clock drift on a CentOS 5 virtual machine guest running on a Server 2008 R2 Hyper-V host.

Delete Photos Without Descriptions From Google Photos
How to delete photos without descriptions from Google Photos using a Greasemonkey/Tampermonkey script.

Enable EPG TV Guide In Media Center
How to enable the Electronic Program Guide for TV broadcasts in Vista or XP Media Center for use in Australia.

Firefox Extension: Paste And Go 3 1.0.5
This simple Firefox extension provides a configurable keyboard shortcut which will instantly paste and go (open or search) whatever is in the clipboard. It is a great time saver.

Ignore Files In Git .gitignore But Keep Directory
How to .gitignore all files in a directory, but keep the directory

Remove Folders From Media Center’s Media Library
How to remove folders from Media Center’s Media Library, including those that you can’t normally.

Drop In PHP Caching Function
Cache complex content using PHP without greatly modifying the existing code structure.

Remove “My Sharing Folders” From My Computer
How to remove the My Sharing Folders icon from My Computer in Windows Vista, XP.

How To Fix Windows 7 Bug Where “thumbs.db” Prevents Renaming Or Deleting Most Recently Viewed Folder
You receive an error “The action can’t be completed because the folder or a file in it is open in another program. Close the file or folder and try again” and it mentions Thumbs.db.

Template-Based Site
Make a simple PHP-based template-drive site

Useful Linux Commands
A little list of basic commands I keep needing, but which I don’t use often enough to bother remembering. It’s basically an online sticky note. These are specific to CentOS.

WWW SQL Designer: Visual Web-based SQL Modelling Tool
WWW SQL Designer allows users to create database designs, which can be saved/loaded and exported to SQL scripts. Various databases and languages are supported. Ability to import existing database design.

Perform A Regular Expression Search And Replace
This page lets you perform a PHP perl-compatible regular expression find and replace using preg_replace.