Deliver All The Things from Nginx with Subs Filters in CloudFront for WordPress

I have been messing around with Amazon’s CloudFront on this site for a couple months now. I had some basic Subs Filters setup that makes using CloudFront as a CDN really easy (and probably most CDN services). The Subs Filter module for Nginx works by filtering the HTML output before the client’s web browser gets[Continue Reading…]

A simple mu-plugin to log in as any WordPress user without a known password

If you have FTP access to a customer’s site (or if they haven’t secured their WordPress file editor), you can add this code to their site and be able to log in as any WordPress user. I developed this to help with issue that afflict only certain users. If you’ve ever done any type of[Continue Reading…]

Incrementing Alphanumeric strings in PHP

I ran into a problem the other day where I needed to increment an alphanumeric string. An alphanumeric string is a string consisting of both numerals and letters (0-9, a-z, A-Z). This combination of characters is base62, however, there is no base62 function in PHP to make this easy. There were a couple of solutions[Continue Reading…]

Does Religion Make You Happy? – An Economist’s Perspective

Just finished up listening to the latest Freakonomics podcast where they discuss whether tithing and even religious gatherings can make someone happy. Some interesting quotes (from non-religious liberal types)… the trend is that the more liberal denominations give less What I find is an incredibly strong correlation, that basically these people are more likely to[Continue Reading…]

Why You Should Boycott Duck Dynasty

We don’t have cable, but even when we did we didn’t really watch the reality show Duck Dynasty. We’ve seen a couple episodes here and there and have been somewhat entertained. Here’s the thing, one of the main people in the Duck Dynasty family is Phil Robertson. In a recent interview with GQ he was[Continue Reading…]

If You Have Nothing to Hide, You Have Nothing to Fear

I’ve been listening to Dan Carlin’s Hardcore History a lot and recent made the jump to his Common Sense podcast. In the most recent episode of Common Sense Dan talks a little bit about the NSA and those people who say something to the effect of “If you have nothing to hide, then you have[Continue Reading…]

Why Do the Majority of Climate Scientists Agree?

Is it because the evidence, through observation and testing lead to this particular answer? Or is it because they scientists are afraid of losing their jobs and becoming ostracized from their communities? I hypothesized this question a few days ago in my post Why are main-stream Evolutionists Intellectually Dishonest?. Today, I heard this story on[Continue Reading…]

How to Force Close your apps in iOS7

Took me a couple minutes to figure this out. You use to hold down the home button and click the X to force close an app. Now you need to slide the app window up. Like so… Now I just need to figure out his to make the folders not do friggin’ ugly!

Why are main-stream Evolutionists Intellectually Dishonest?

Intellectual dishonesty is a failure to apply standards of rational evaluation that one is aware of, usually in a self-serving fashion. If one judges others more critically than oneself, that is intellectually dishonest. If one deflects criticism of a friend or ally simply because they are a friend or ally, that is intellectually dishonest. etc.[Continue Reading…]

“Open link in a new window/tab” Checked by default in WordPress

Here is a simple script I created to set the “Open link in a new window/tab” checkbox to checked by default in WordPress.

There might be a better way to do this, but this was pretty straight forward. Just stick this in a php file in the wp-content/mu-plugins directory and you should be golden.