Things that make me happy Rotating My Alarm Clock so it is not in view while I’m sleeping
wp_insert_user() with “no role for this site”
My goal was to use wp_insert_user() to create a user with “no role for this site”. For some notes on “no role for this site” see http://wordpress.org/support/topic/what-exactly-is-no-role-for-this-site-do#post-2177545 When using $new_user = wp_insert_user( $userdata ); omitting the role parameter in the $userdata uses the default role set. If you want “no role for this site”, set the […]
Testing Redirects
Testing redirects can be a nightmare since the web browsers aggressively cache redirects. Use incognito mode in Chrome to make it easy to clear cached redirects by closing the Incognito window. Even Better Update Testing redirects from the command line works even better. curl -I http://www.example.com/ will return the headers for the request including the […]
Quick Cache requires PHP v5.3
WordPress Quick Cache Plugin There is a new version of the WordPress Quick Cache plugin available. Higher Minimum Requirements This new version requires PHP 5.3+ This is a higher requirement than WordPress itself, which requires a minimum of PHP 5.2.4 (http://wordpress.org/about/requirements/). Sometimes Newer is Not Better If you are running on a server with sub PHP […]
Work like Leonardo
Having small children leads to many thought provoking conversations. The most recent, sparked by a discussion of the Teenage Mutant Ninja Turtles, was about Leonardo da Vinci. (I honestly wasn’t going to include so many links but after linking to TMNT, I felt guilty not linking to da Vinci). Leonardo da Vinci was Really Smart When […]
Tiny Train Coal Car
Did you hear about train with the tiny coal car that fell off the tracks? “Are you okay?”, asked the engine. “I didn’t break anything but I am a little tender.” photo credit: Bricknave via photopin cc
The Coin Credit Card
What is It The video below is a great summary buy I also recommend reviewing the FAQ Video Explanation http://youtu.be/w9Sx34swEG0 What It Means to Me Instead of carrying around all the different cards I currently carry in my wallet, I can eliminate multiple cards. This is huge for me. I’m always trying to eliminate cards […]
Captain Hook’s sneakers
Why does Captain Hook wear sneakers? Because he’s afraid of Crocs.
Command Line Cheat Sheet
I’m not sure why I remember some things so well (Charlie Chaplain died on December 25, 1977) and others just don’t stick (Memorial Day and Labor Day, which one is in Spring and which one is in Fall?). At some point, I should start recording things I remember easily and things I do not and […]
Command Line DNS Lookup with dig
dig is command line DNS Lookup program pre-installed on *nix and Macs. If you don’t have access to dig from the command line, there are some websites that offer a web interface to dig (e.g. Google Toolbox’s Online Dig). Basic Lookup (Similar to ping) dig example.com Advantages over ping: Doesn’t get grumpy when you include […]