A Better Error Page on the Canada Immigration Site

Tonight during the historic US election, the Canadian Immigration site (http://www.cic.gc.ca/) was down. I’m sure it had nothing to do with Americans trying to leave their country and move to Canada in light of the imminent Trump victory. The following ASP.NET error...

Using an Apostrophe in a Variable in MSSQL

A user created an account in my web application which had an apostrophe in their e-mail address. It was similar to First_D’Second@website.com. I didn’t think that an apostrophe was a valid character for an e-mail so I didn’t have any code to prevent...

Setup Emergency Alerts !important

I’ve compiled a list of important emergency alerts that should be on your cell phone and Twitter accounts. These can be found on the EmergencyInfoBC web site, but I summarized the important data to use with your devices for receiving these alerts. Two of these...

A Terse Guide to Big Numbers

When I started my adventure in computers in school in the 1980’s, we were using Apple II’s and Commodore Pets which had around 64K of memory. My first computer in 1984 had 128K memory and a 360K floppy disk drive, which seemed like quite a bit of storage...

How to Recover a Joomla Admin Password

If you don’t login regularly to your Joomla administrator site, you may one day forget what your password is. If this unfortunate event does happen, its very easy to recover it if you have access to the database that your web site uses. Open your database and find the...

Redirecting ASP.NET Pages

You can redirect an ASP.NET page using one of three methods. The first method is through metatag redirection. If that fails, then it will try to redirect with JavaScript. If that fails, a URL will be displayed that the user can click on to redirect the page. An HTML 5...

Finding the Version of Joomla in the Back End

I was trying to find out which version of Joomla was installed in a web site. The first place I looked was in the database where this type of information was normally stored. I couldn’t find any global settings table which would have the version number. This is...