Skip to content
Archive of posts filed under the Programming category.

Hacking WP-PluginsUsed To Remove Plugin Version Numbers

One of the greatest contributors to the WordPress plugins repository is Lester “GaMerZ” Chan. It’s testament to the value of his contributions that his work has not only been duplicated, borrowed and built upon by hundreds of other plugin developers — just search “gamerz” in the WordPress plugins repository to see how many times his [...]

Grouping Your WordPress Blog Comments By Type: Comments, Trackbacks And Pingbacks

First, my apologies for the extended period of time off I took from this blog. There’s no great scandal behind the break I took; my health and humor are just fine. As Technorati notes, somewhere around 95 percent of blogs haven’t been updated in three months; I just kind of fell into that groove. But [...]

MSDN Northeast Roadshow: Sept. 24 in Augusta, ME

The MSDN Roadshow returns to Augusta, ME and the Central Maine Commerce Center’s Florian Auditorium on Sept. 24, from 1 p.m. – 6 p.m. (That’s a later start than recent roadshows, because directly before it, there’s a TechNet event about Windows 7 and Remote Desktop.) MSDN Roadshows are a chance for Microsoft evangelists — namely, [...]

New URL For ASP.NET Demos: dougv.net

The process of retiring / removing my Yahoo!-related handle continues. The latest step: a new URL for ASP.NET demos, which are hosted on another server. From here on out, my ASP.NET demos will be hosted at dougv.net. This replaces the former URL, dhvrm.com. I’ll leave dhvrm.com running for a while, but please correct your bookmarks [...]

Dynamically Changing Your Child Page Titles With ASP.NET Master Pages

The primary benefit of ASP.NET master pages is the ability to apply code, themes and templates to child page content. But for some reason, Microsoft did not build in an easy way to concatenate a child page’s title to the master page title. Consider, for example, dougv.net, my ASP.NET demo site. I want it to [...]

Calculating The Bearing And Compass Rose Direction Between Two Latitude / Longitude Coordinates In PHP

A comment recently made to my blog post, “Getting All ZIP Codes In A Given Radius From A Known Point / ZIP Code Via PHP And MySQL“: Does any one know how to work out the bearing from one set of coordinates to another. For example, if the calculated bearing was 90 (degrees) the using [...]