Login


Jonathan Wood

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

I hike each week with my dogs Suki and Sasha. You can see my hiking blog at Hiking Salt Lake.
Website:http://www.insiderarticles.com
Blog:http://www.hikingsaltlake.com
Country:USA
Time Zone:Mountain Standard Time

Articles

Extending LINQ with Random Operations
You can create extension methods to extend LINQ. Here's some code I came up with for extending LINQ to return random list items and shuffle lists.
By Jonathan Wood • Created on Saturday, September 22, 2012
Controlling JPEG Compression
The JPG graphics format supports varying level of compression and quality. Although it isn't readily visible, the Image.Save() method allows you to control this level. Here's a sample C# method that demonstrates how.
By Jonathan Wood • Created on Friday, May 18, 2012
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 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 9, 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
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 C# Command-Line Parser
.NET applications can use Environment.CommandLine to access any command-line arguments that were supplied to the program. However, there's more work to do if your command line support many options. Here's a command-line parser class to make it easy.
By Jonathan Wood • Created on Tuesday, March 22, 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
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
First ... 6 7 8 9 Last