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
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.
Control Caching Of Dynamic Web Pages
How to control caching of dynamic web pages.
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.
Hotlink Protection
How to protect files from hotlinking
Prevent Caching Of Dynamic Web Pages
How to prevent caching of web pages using PHP.
Get An External USB Audio DAC Working On Raspberry Pi
You are using a USB Audio DAC on a Raspberry Pi, and it does not work properly.
How NOT To Redirect OWA On Exchange 2010
How to simplify the Exchange 2010 OWA address without causing all sorts of problems.
Redirect To A Mobile Site Using Mod_rewrite
How to use Apache’s mod_rewrite .htaccess rules to redirect mobile devices to a different version of your site, while still allowing a “View Full Site” link.
Soundblaster Live ASIO Support
How to use a Soundblaster Live with APS drivers to provide ASIO support
Enable S3 Suspend For Media Center
How to enable S3 Suspend for Media Center, to allow a remote control to place the media center computer into an S3 (STR, suspend-to-RAM) state, and unsuspend from that state.
Useful Kodi (XBMC) Things
A few things I have found useful while running Kodi (XBMC)
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.
Contact Me
Contact Hard Answers.
Perform A Regular Expression Search And Replace
This page lets you perform a PHP perl-compatible regular expression find and replace using preg_replace.