Tips and Tricks Posts

Tips and Tricks Posts

A Few Other Mac Utilities

May 02, 2008 at 15:41

I remembered a couple of other Mac programs I use pretty regularly. Add these to my other list of Mac software:

Read more →

Dynamic Page Title in ASP.NET

February 11, 2004 at 14:37

Ever since I started writing .NET code, I've been irritated that there seemed to be no way to programmatically set the TITLE tag of a web page from the code-behind. Certainly you can do things like

Read more →

IIS 5 Metabase and Phantom Virtual Directories

October 24, 2003 at 10:00

I recently had a strange experience with IIS 5 and some phantom virtual directories. When I write "phantom virtual directories" I mean that IIS is handling requests for virtual directories that no longer exist. This is a description of the events leading up to this:

Read more →

When to Handle Exceptions

October 16, 2003 at 10:01

I recently worked on a web application where the general philosophy behind exception handling was that every method would catch any exceptions that occurred in the method. The reasoning behind this is that when an exception occurs, its effects would be contained and the executing page would continue to render successfully. When exceptions occurred in this application, certain parts of a page might show up blank while other parts of the page would render normally.

Read more →

Finding Prime Numbers with C#

October 03, 2003 at 19:04

This class, PrimeFinder, has two methods. The Find method takes the piMax parameter and finds all prime numbers between 0 and piMax. The Print method dumps the list of prime numbers from piStart to piMax, for example, between 1,000 and 100,000. With the int type, this class works well for primes up to approximately 14,000,000.

Read more →

Manually Removing a Vignette Installation

October 03, 2003 at 19:04

In the event that one or more CDS or OMS machines are installed and the CMS has been removed, going into Add / Remove Programs and uninstalling Vignette will fail with a message that Vignette must be “unconfigured” first. Unfortunately, without the CMS running, nothing can be removed in the Platform Manager and so the whole installation must be removed manually.

Read more →