iOS 5 Safari Now Has Native HTML5 Date and Time Pickers

This falls under the category of sometimes it’s the little mundane things that can get me excited…

I’ve been wanting mobile Safari to have native date pickers ever since I started creating Web apps for iPhone. Every time I dealt with date fields I had to create pickers with javascript that were just not as good as those for real iPhone apps. I had been checking to see if native pickers were included in each iOS release but forgot about checking iOS 5 until now. Continue reading iOS 5 Safari Now Has Native HTML5 Date and Time Pickers

I Don’t Want a Verizon iPhone

Rumors of a Verizon iPhone have been circulating for years. Even though none have materialized, the news ticker on our TV today showed that the mainstream media has picked up the topic…again. This new surge of rumors seems no more likely than previous batches. I suspect they are fueled only by wishful thinking, which I can’t completely relate to.

I may be in the minority, but I don’t want a Verizon iPhone. Continue reading I Don’t Want a Verizon iPhone

Gravatar, AppleScript, and the OS X Address Book Revisited

A while back I did a series of posts (part 1, part 2, part 3, and part 4) on using Gravatars in AppleScript to update pictures in your Mac Address Book. Those address pictures then sync to your iPhone, iPod Touch, or iPad.

I’ve learned a few things since then, plus the Gravatar service has a new option that removes the need for a workaround I had to come up with. So it’s time for an update to my now obsolete posts. Continue reading Gravatar, AppleScript, and the OS X Address Book Revisited

Computer Repair Tools from the Kitchen

I was doing some repair work on a laptop computer today and realized I had not yet shared one of my most significant homemade tools for this kind of work. It’s simply an ice cube tray with each cube numbered in permanent marker.

Computer parts in an ice cube tray

I put screws and other small parts in the tray as I disassemble each section of the computer. If I’m following a numbered repair guide I try to match the cube number to each step. Otherwise, I just fill the cubes in numerical order as it makes sense. Reassembly is a snap and there’s no losing or mixing up those tiny screws.

Oh, and while I’m snatching kitchen items to use as tools, cookie sheets make great parts trays for longer-term projects. The whole project can be shelved to get it out of the way and then easily resumed without parts getting misplaced.

Loading WordPress’ Thickbox Only When Needed

I like to use Thickbox on my site to display images and videos in overlay windows. In WordPress, it’s easy enough to use wp_enqueue_script( ) and wp_enqueue_style() to load the built-in version of Thickbox. It automatically takes care of including jQuery, putting the css in the header, and the javascript in the footer.

But there’s no need to have the bloat of Thickbox and jQuery loading on all pages when most of them don’t even use it. That’s why Joost de Valk detailed a nice tip to only load thickbox when needed by checking the page content for references to it. All it takes is a few lines of code in your functions.php file.

Unfortunately, you end up with some broken images because the built-in Thickbox defines their locations in thickbox.js as relative paths: Continue reading Loading WordPress’ Thickbox Only When Needed