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 […]
get_next_post() Not Working in WordPress
Why is get_next_post() Not Working in WordPress We’ve got a WordPress instance setup with lots of posts being created as Drafts. Then using the Bulk Actions, we change the status of the posts to Published. Everything seems great until it becomes evident the get_next_post() and get_previous_post() functions are not returning anything. Why Isn’t this Working It turns out […]
HTML Comments within Comments
Everyone once in a while I find myself in need of nested HTML comments (i.e. HTML comments within comments). Unfortunately, HTML does not support nested comments. When you put HTML comments within comments, some of your content ends up uncommented. PHP Since it is rare that I’m working on a straight HTML site, usually there […]
Airline Bagels
What kind of bagels do they serve on airlines? Plain Bagels (plane bagels) In truth, this is not my original joke but my 5 year old son’s; however, since he is my son and the joke is his, could this still be my joke by the transitive property? photo credit: Campobello Island via photopin cc
jQuery filter Array Method
I really enjoyed Josh Clanton’s article Filtering Arrays with Array.filter on using the JavaScript filter method(). As he points out, Because the filter method is part of the ECMAScript 5 specification, it isn’t available in older browsers like IE8. Josh then lists a couple of options to bring this functionality into older browsers (i.e. IE < 9) […]
Find Your Local IP Address
Find Your Local IP Address on Your Mac ipconfig getifaddr en0 (primary) or ipconfig getifaddr en1 (secondary) How do I know which to use? It is common for Mac laptops to have one (wireless only) or two (wired and wireless) network connections. When a wired connection is present, it is the primary connection (with wireless […]