Tagged “howTo”

How To Navigate JSON Trees in Postgres using Recursive CTEs

| | |

Tutorial on using Postgres recursive Common Table Expressions (CTEs) to navigate a JSON tree structure.

How to Create a Bar Chart Archive Widget In WordPress

| | |

Each time I redesign my blog, I try to implement some cool, visually interesting feature. This time around, I decided to build a widget to display post archives, styled to look like a vertical bar chart.

How To Use HTML5 Data-* Attributes with JQuery and Selenium

| | | |

I recently wrote a post about when it’s appropriate to use CSS classes. In it, I made the case that HTML5 Data-* attributes can be used instead of CSS classes to identify elements on a page. In this post, I’ll describe exactly how to do this.

How to Use JSON Objects With Twitter Bootstrap Typeahead

| | | |

Twitter’s Bootstrap is all the rage these days, and for good reason. It’s chock full of aesthetically pleasing, easily customizable styles and useful widgets. Among the latter you’ll typeahead, a widget for auto-suggesting possible values in response to user input.

How to Generate an XSLT Transform Using Groovy StreamingMarkupBuilder

| |

Groovy and XSLT are two great options for working with XML. While both have their uses, I was curious about combining them to generate an XSLT transform with a Groovy script. It turns out that doing this is pretty straight forward, with a couple of minor caveats.

How to Use WordPress Custom Post Types to Add Events to Your Site

| |

One of the more interesting (and useful) features in WordPress is custom post types. As the name suggests, WordPress allows you to define your own post types which are treated just like existing ones (i.e. Posts and Pages).

How to Get IE8 to Support HTML5 Tags and Web Fonts

| | | |

Though support for modern standards is limited in IE8, it’s not impossible. Here’s how to add support for HTML5 elements and web fonts.

How to Debug in IE on a Mac

| | |

Here’s how to configure a Mac to debug web sites in IE