July 26th, 2008
We (Mindy, Bryana, and myself) went on a 5 day road trip to Montana. For the most part we stuck to scenic back roads and took the long and lazy route. Along the way we stopped at the Tetons, Beaverhead National Forest, Flathead Lake, Glacier National Park, and a quick dip into Alberta. We of course didn’t spend nearly enough time in any one location, so now I’m itching to go back and explore—especially Glacier National Park.
The trip was to celebrate Bryana’s graduation, birthday, and to give her a chance to see her old friend Cody. Cody is a mustang that Bryana took care of for three years. I hear he’s got quite the attitude and a set of bad habits to match, kind of like Rook (our dog).
Aside from the beautiful scenery and the general good times, one interesting event occured. On the trip back home we decided to hit I-15 and get back as fast as we could. While traveling through Montana, I passed an RV going 20 mph over the speed limit—which means I was at 90. And of course, I got pulled over. The police officer recognized that I was passing and so he kindly reduced the ticket to just 10 mph over. He then said, “Now you can either appear in court on this date… or you can pay your fine right now. It is $20.” That flabbergasted me. I dug around the car and eventually Bryana spotted me the cash. I then ponied up and paid my ticket right then and there. Honestly I felt like I was paying off the cop, not the fine. And who knows, maybe he enjoyed a good lunch because of me.
Anyway, the trip was great. I’ve attached some of the photos that we took along with a map of where we drove. Enjoy!
Read the rest of this entry »
Posted in Photography | No Comments »
July 2nd, 2008
As a followup to my previous post, here’s a useful regular expression for selecting a valid CSS length.
Read the rest of this entry »
Posted in Programming | No Comments »
February 28th, 2008
Recently I needed to have a Regular Expression which would match valid CSS colors. I wasn’t able to find any after searching the Internets for a while, so I wrote my own.
Read the rest of this entry »
Posted in Programming | 2 Comments »
December 19th, 2007

My wife started to make this delicious dish a while ago. It is really good, very simple, and quick to make. This recipe will feed about three people, goes well with rice or noodles, and takes about 30 minutes from start to finish.
Ingredients
- Stir Fry Veggies – Get enough to fill a wok 3/4 full
- 1 tbsp. Cornstarch
- 1/4 Cup Soy Sauce
- 2 tbsp. Vinegar
- 3 tbsp. Brown Sugar
- 1 tsp. Garlic Powder
- Pineapple Chunks – Keep some of the juice (Optional)
- Worcestershire Sauce (Optional)
Directions
Begin by cooking the veggies. Depending on how crisp you want them will determine how long to cook them for. Next stir together the cornstarch and soy sauce in a separate cup and then add it to the wok. Add the vinegar, brown sugar, and garlic powder directly to the wok and stir together. If you would like a sweeter or richer flavor, add some pineapple chunks with some juice or Worcestershire sauce. Bring to a boil and serve!
Posted in Recipes | No Comments »
December 14th, 2007

About every other week I will need to know something about the life cycle of an ASP.NET page and for some reason it takes me a while to find it on the Internets. Below I’ve added an ordered list of the events which fire during the life cycle of an ASP.NET Application, Page, and Control. And then as a bonus I’ve included an image which shows most of it courtesy of Leon Andrianarivony. Enjoy!
Read the rest of this entry »
Posted in Programming | No Comments »
December 11th, 2007

There is a special list in the registry which you can use to prevent user accounts from appearing on Vista’s welcome screen. To add a user account to this list, open the registry editor (regedit.exe) and navigate to:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList]
If SpecialAccounts or UserList does not exist, create it. Create a DWORD registry value for the name of the user that you want to hide and name it the same as the user. Make sure it is set to 0, which will flag the user as being hidden on the welcome screen. If you set it to 1, then it will be visible.
And that’s it!
Posted in Windows | No Comments »
December 6th, 2007

The Problem
Lately I’ve been experiencing some frustrating problems with references to DLL files in a Visual Studio solution. Since I’m working with a team of other programmers, we are obviously using a code versioning system—in this case SourceSafe. It seems that nearly every time I “get the latest version” of the solution from SourceSafe and then try to build it, I will get errors with references to missing DLLs. However, the “missing DLLs” actually exist. The problem is that the references to these DLLs within the solution are wrong.
Because each of the other programmers have a different path to their own copies of the same solution, they also have different paths to the DLLs that are included in that solution. One programmer will notice that his stuff isn’t compiling, he’ll fix the reference error, check it in, and then simultaneously break it on all the other programmers’ machines (Or at least all those will a different file structure).
The Fix
To fix it, you’ll want to use “Reference Paths” within Visual Studio:
- In Solution Explorer, right-click your project node and click Properties. The Project Designer should appear.
- If you are using Visual Basic, select the References page and click the Reference Paths button. In the Reference Paths dialog box, type the path of the folder that contains the DLL that you want to reference in the Folder field, then click the Add Folder button. If you are using C#, select the Reference Paths page. In the Folder field, type the path of the folder that contains the item you want to reference, and then click the Add Folder button.
That’s it! Reference Paths are saved within each user’s own profile, so they will not be propagated to the other SourceSafe users when you check in your files. When you build a solution, Visual Studio will first try to find the DLL with the hardcoded path that is provided within the solution. If it can’t find it, then it will look within the Reference Paths for the file, where you should now have the correct reference to the DLLs.
References:
http://msdn2.microsoft.com/en-us/library/ayds71se(VS.80).aspx
Posted in Programming | No Comments »
November 17th, 2007
This classic recipe for a main dish is easy, uses common ingredients, and takes about 30 minutes to make. It serves 4 people and goes well with rice or noodles.
Ingredients
- 4 Chicken Breasts
- Thinly Sliced Ham
- Mozzarella Cheese
- Olive Oil
- 1 or 2 Cans of Cream of Chicken
- 1 Cup of Orange Juice or some Lemon Juice
- Sage
- Mandarin Oranges
Directions
It is best to work with semi-thawed chicken breasts. Cut a large pocket into each chicken breast. Fill with a slice or two of ham and a few slices of mozzarella cheese. Pour oil into a large cooking pan or wok. Brown the stuffed chicken. Then add a can of Cream of Chicken soup. Add a second if you like extra sauce. Next add the cup of orange juice. If you don’t have any, lemon juice makes a good substitute. If you’re using lemon juice, don’t put nearly as much in. Add in a liberal amount of sage. Bring this to a boil. Once it is boiling and thoroughly cooked, add the mandarin oranges and serve.
Posted in Recipes | 1 Comment »