Jonathan Wood

Description:I'm a software and website developer working out of the greater Salt Lake City area of Utah. I've developed many websites including Black Belt Coder, Trail Calendar, and others.

I hike each week with my dogs Suki and Sasha. You can see my hiking blog at Hiking Salt Lake.
Time Zone:Mountain Standard Time


Generating a Element
Here's some code that generates a random machineKey element suitable for pasting into your ASP.NET web.config file.
By Jonathan Wood • Created on Tuesday, April 26, 2011
Generating and Parsing Roman Numerals
Here's a handy class that contains methods for converting integers to Roman numerals, and Roman numerals back to integers.
By Jonathan Wood • Created on Monday, April 11, 2011
Colorizing Source Code
Here's some C# code you can use to colorize source code (syntax highlighter) you plan to display on a web page. This code can be used to colorize source code for any programming language that you can write the rules for.
By Jonathan Wood • Updated on Wednesday, October 30, 2013
A Tic-Tac-Toe Game Engine
Here's a fun C# project I put together that allows you to play Tic Tac Toe with the computer. Tic Tac Toe is a very simple game but I still found this project interesting, and I found there are actually a couple of tactics that the computer can employ when playing the game.
By Jonathan Wood • Created on Saturday, October 20, 2012
A Scrolling Status Control
Displaying the current status in a status bar doesn't quite cut it when there are many status messages and you want the user to be able to see more than just the most recent. Here's a status control that efficiently displays multiple messages.
By Jonathan Wood • Created on Wednesday, February 09, 2011
A Random Image Rotator Control
Here's a web user control that will randomly rotate images from a list of image files. Each image file in the list can be flagged as active or inactive and the control will only display images flagged as active. Simply edit the file list to change which images are displayed on your website.
By Jonathan Wood • Created on Saturday, October 27, 2012
A Friendly DateTime Formatter
Many websites have the ability show a date and time formatted as "2 minutes ago", "1 hour ago", or "Yesterday at 2:30P". Here's a class I wrote to format dates and times this way. It even supports dates and times in the future.
By Jonathan Wood • Created on Friday, March 25, 2011
A Simple CSS Parser
I recently encountered a question on stackoverflow about parsing CSS. Although I've written a bunch of parsing routines, I'd never thought to parse CSS. I've never had a reason to do so. Still, I had a bit of time and thought it might be interesting to put something together.
By Jonathan Wood • Created on Thursday, August 22, 2013
Abbreviating URLs
Abbreviating a URL is easy: Just truncate it. However, this article shows how you can more intelligently truncate a URL so that it conveys more information about the full URL.
By Jonathan Wood • Updated on Sunday, December 12, 2010
Converting Between Integers and Strings Using Any Base
.NET provides the Convert class, which among other things can convert between integers and strings using different bases. Inexplicably, the Convert class only supports base 2, 8, 10 and 16. Here's a class that can convert between integers and strings using any base.
By Jonathan Wood • Created on Monday, April 11, 2011
First ... 6 7 8 9 Last