Tag: coding

My Battle With Meetup.com

I have been a customer and user of Meetup.com going back to my San Diego days in the early 2000s. When I got to Seattle in 2007, I became a more active member. Most of my activity has been as … [continue reading]

Masking Your Email Address

This was originally written in May 2002. It was updated in February 2007, April 2014 and January 2017.

Some of you are probably aware of spiders. They are these little programs that surf the internet looking for data. Some spiders … [continue reading]

Writing Your Own Search Engine Using SQL Server

My coffee site INeedCoffee needed a better search engine. I had thrown some basic SQL together when the site was launched back in 1999. It did an OK job when the site didn’t have much content. Over the years, the … [continue reading]

Return HTML Page Source From Web URL in C#

Below is a snippet of code showing how to retrieve the page source of a web page. This code will return the HTML source from the home page on this site. It will then load that HTML into the string … [continue reading]

Single Line If Statement in C#

Here is a standard if … then statement in C# followed by a single line example. Using a single line if statement will reduce the number of lines of code.

if (dayOfTheWeek == "Tuesday")
{
    lunchLocation = "Fuddruckers";
}
else
[continue reading]