Writing · tutorials
9 posts

tutorials

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.
Feb 2017
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.
Dec 2012
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…
Nov 2012
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…
Nov 2012
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,…
Oct 2012
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).
Apr 2012
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.
Apr 2012
How to Debug in IE on a Mac
Here’s how to configure a Mac to debug web sites in IE
Apr 2012
PowerPointer: How to make bubbles
People love to bash PowerPoint. Everything from misrepresenting cancer statistics to space shuttle disasters is blamed on PowerPoint. The phrase “PowerPoint is evil” gets 10 million results on Google. Yep, people hate PowerPoint.
Aug 2011