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…
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…
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…
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,…
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…
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…
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…
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…
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…
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…
Here is a simple script I created to set the “Open link in a new window/tab” checkbox to checked by default in WordPress.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
/* * Sets "Open link in a new window/tab" to checked by default */ function ahu_after_wp_tiny_mce() { ?> <script type="text/javascript"> jQuery( function() { jQuery( 'input#link-target-checkbox' ).prop( 'checked', true ); } ); </script> <?php } add_action( 'after_wp_tiny_mce', 'ahu_after_wp_tiny_mce' ); |
There might be a better way…