I think I lost almost 8 hours to this. We have an app that integrates with Authorize.Net via DPM and no matter what I did I couldn’t get the relay response to work. The app was working fine last year, the only change (I thought) was that this year I…
SimpleSAMLphp + Nginx
Ugh, this was weeks in the making. I want to use SimpleSAMLphp but I prefer Nginx over Apache. As of right now I can’t find any official documentation for installing on Nginx but they say it should work and shouldn’t be too hard. There’s a couple of threads out there but they…
curl with base64 encoded data
I just spent the last hour trying to figure out how to send base64 encoded data that lives in a file using curl. Everyone says to just use –data-binary but that assumes you know what the binary format should actually be! Every combination I tried of –data-ascii and –crlf kept failing with…
Using web page test with a custom IP address
I recently had a need to speed test a site that was almost launched. Since the site required an SSL cert we’d been doing our final tests with local host files. However, we wanted to get an external network’s view of our site and for that we always use the wonderful http://www.webpagetest.org/. The obvious…
WP 4.1 – Something to watch
First, a very old bug/feature: https://core.trac.wordpress.org/ticket/5809 Currently, if you have WP Category for fruits called “Apple” and a WP Tag for pies called “Apple” and a custom taxonomy such as “Computer Manufacturers” with an item called “Apple”, that “Apple” term is shared between everything. This isn’t much of a problem…
Fun links of the day
Why is there no electricity in the Post Apocalyptic World? Oil is slippery; rubber is _____? Where does the Sun go at night? Orange object on back of jet-engine pylons, what is it? Why was Yitzhak “laughing” with his wife openly? Do all salts taste salty? How early was the…
Fun links of the day
I love the Hot Network Questions on the StackExchange network. Here’s some from this morning. What happened during this foggy landing? If I’ve visited Crimea, what country do I list on my customs declaration form? How large can an atom get? What’s the farthest an electron can be from its nucleus?…
Finding abandoned/no longer maintained plugins
After Matt’s State of the Word 2014 presentation I was talking to my host (QTH) about how Matt would like to encourage/pressure hosts into upgrading their PHP installs. My host told me that he’s tried this but it often results in broken sites because users don’t have their plugins updated…
WordPress VIP Scanner – Undefined index: slug
We just started playing with WordPress’s VIP scanning plugin but ran into an issue when trying to scan with the WordPress coding standards. PHP Notice: Undefined index: slug in /var/www/wp-content/plugins/vip-scanner-master/vip-scanner/checks/WordPressCodingStandardsCheck.php on line 173 After a little bit of digging we found that there’s a problem with the way that the…
Varnish as a frontend for a remote WordPress install – Part 2
Part of this setup Nginx, MySql, PHP and WordPress. This part is for configuring Varnish 4.0 on Ubuntu 14.04 On varnish.chris.example.com Install Varnish 4.0 Add Varnish’s GPG key curl https://repo.varnish-cache.org/ubuntu/GPG-key.txt | sudo apt-key add – Add the source location echo “deb https://repo.varnish-cache.org/ubuntu/ trusty varnish-4.0” | sudo tee /etc/apt/sources.list.d/varnish-cache.list Update local cache…