Blogs

Fishing in Campbell River, British Columbia

Here are some pictures from the trip I took to Campbell River.

Good Realtor in Calgary!

If you are looking to buy or sell a home in Calgary you should definitely contact Marlene Alcon and Daniel Kepka at ShowMeProperty.net - Calgary Homes. They are professional and courteous! Two thumbs up!

Conditional Constructs in .NET Regular Expressions

I came across a particular problem that seem trivial at first, but ended up being trickier than I thought. What I wanted to do is split a string based on a delimiter value, but only when the delimiter value is not found inside a quoted string. In my particular case (simplified for discussion), I had two SQL queries concatenated by the ";" delimiter as follows:

SELECT "Jane;Sam;Julie;Homer's \"Salad\"" as f1;SELECT 'This is "a test".  \\Part2\\' as f2;

Crc32 HashAlgorithm for C# .NET

Here is a concise, valid implementation of the Cyclic Redundancy Check algorithm in C# (CRC-32-IEEE 802.3). It is based on the work found here but slightly improved for performance and to make it work in all cases. Following the code is an example of the class in use.

// CRC32 Code deriving from HashAlgorithm
using System;
using System.Security.Cryptography;

Acer TravelMate 6592G Keyboard Replacement Guide

This is the guide to replace the keyboard on the Acer 6592G laptop. It is fairly straight forward to do and all the tools you need are: #1 Phillips screwdriver and a small flat screwdriver.

Disclaimer: These instructions are provided for your information only and we are not responsible for any damage done to your laptop by any errors or omissions in the steps. Proceed at your own risk. If you've never used a screwdriver before, I recommend that you contact your nearest Acer dealer for support.

Syndicate content