Written by Cody Eding on January 30, 2014
The WordPress documentation on using custom field parameters in a custom WP_Query is not entirely clear on how to dynamically generate the meta_query query argument. A project I am working on required the ability to pass meta_query varying arguments based on the status of GET variables set in the URL. This would allow sorting of a custom post type by its custom meta values.
Some searching revealed an answer over at the WordPress Forums. The meta_query argument requires an array of arrays. In order to create a
Written by Cody Eding on January 28, 2014
I experienced a “Can’t amend group ownership for htpasswd files” error while trying to install Opsview, specifically during the point of the installation where the Opsview configuration files are being automatically generated.
Somewhere during the installation, the nagios user Opsview runs as was not added to the nagcmd group. The group membership is necessary for the proper operation of Opsview.
Running useradd -G nagcmd nagios added the nagios user to the proper group and the config generation succeeded.
Written by Cody Eding on January 28, 2014
While setting up a HP ProLiant DL360 server for an CentOS 6 Opsview installation, I ran into an issue with the GNOME Network Manager interfering with my desired network bonding setup.
My goal was to setup the two network ports on the ProLiant DL360 to operate in failover mode. In this setup, the server will maintain network connectivity even if one of our two switches fail.
Despite following Toki Winter’s steps to enable failover bonding, the bond0 interface would not reappear following
Written by Cody Eding on January 23, 2014
As I’ve mentioned before, I use BazaarVCB to backup my VMware virtual machines to an external datastore. My backups didn’t complete this morning and upon trying to log into the vSphere Client via my Active Directory credentials to discover why, I received a generic “General System Error Occurred” error message.
Logging in as the local root account showed the ESXi host was still joined to the domain, but no servers were listed in “Trusted Domain Controllers.” Usually the field shows all of
Written by Cody Eding on January 22, 2014
I use the free BazaarVCB tool to backup and restore my ESXi virtual machines. It works wonderfully and is simple to use.
The first time I tried to restore my Windows Server 2012R2 VMs, however, I ran into a 0xc000000e error upon booting the restored machine. Google sleuthing turned up a blog post over at NPB Consultants detailing a similar error when using GhettoVCB, another free ESXi backup tool. From the post:
The cause appears to be related to the coordination between
Written by Cody Eding on December 10, 2013
My wife and I have been followers of a ketogenic lifestyle since Sept. 2012. Initially, we went more than three months “full keto,” and had maybe one or two carbohydrate meals in the first six months following our conversion.
Since starting to weightlift in the spring of 2013, however, we’ve both decided carbs are not the enemy and have instead chosen to manipulate them to increase athletic performance. Lately, we’ve had a cheat snack/meal each weekend.
This weekend was a full-blown date
Written by Cody Eding on December 6, 2013
Days three and four of my challenge have come and gone. Due to some unforeseen circumstances on day three, my caloric intake was higher than it should have been. Still, I lost some water weight, which is always nice.
I’ve been tracking my weight via chart on another post. I also hope to add some body measurements to these charts soon.
Day Three: http://ftcy.me/BBqrTT
Day Four: http://ftcy.me/NAT4YX
Day Three Nutrition
Day Four Nutrition
Written by Cody Eding on December 4, 2013
Today was a good Tuesday. Another mile is in the books, but I also started lifting again after taking a break for the past week. I felt a small twinge in my left hamstring during my last lifting session before Thanksgiving so I thought it would be wise to take a week break. I’m glad I did — today I felt great and was able to lift more or less the same.
I’ve modified my Stronglifts 5×5 routine to include the
Written by Cody Eding on December 3, 2013
While I’ve officially been running a mile per day for the Runner’s World Holiday Running Streak since Thanksgiving Day, today marked the the first day of mixing the running with strict keto. The holiday weekend, as usual, took a toll on my eating habits and my scale. While I was able to stay keto friendly for most of Thursday and Friday, carbohydrate binges on Saturday and Sunday erased any chance of a carb-free Thanksgiving.
Today’s return to work meant a more