Multiple email addresses for one Gmail Account

May 12th, 2007 50 comments

I’m a huge fan of Google’s online applications: GMail, Google Reader, etc. One little known feature of GMail which I find myself using over and over again is the ability to add extra metadata to my gmail email address to let me know where the email came from.

Let’s say that I have a gmail address: sean@gmail.com

Now if I am signing up for a newsletter at XYZ Corp. I can register with the email address sean+xyz@gmail.com You can put in any extra alphanumeric information after the plus sign and it still gets delivered to sean@gmail.com. Furthermore you can apply a filter in Gmail to process the email a certain way based on the email address that you signed you for (sean+xyz@gmail.com).

One handy use of this feature is to track where emails are coming from so if you started to get spammed for instance you will know which address was passed onto a third party.

Categories: General Tags:

Configuring Source Control Provider in Visual Studio.NET 2003

May 10th, 2007 4 comments

I am working on moving a .NET 1.1 App (Visual Studio.NET 2003) from Visual SourceSafe to Perforce Source Control. In Visual Studio.NET 2005 it is easy to change the source control provider by going to Tools -> Options -> Source Control -> Plug-in Selection. Unforunately in Visual Studio.NET 2003 it is not quite so straightforward and it isn’t possible to change the source control provider directly from the IDE. You need to modify the registry to actually change the source control provider in Visual Studio.NET 2003. I found a nice little application (Source Control Provider (SCP) Selector) that sits in your system tray that allows you to change the source control provider just by selecting the appropriate one from a list. It worked a charm for me!

Source Control Provider (SCP) Selector

http://www.kilic.net/weblog/archives/000183.html

Update: You will need to restart Visual Studio once you change your source control provider, it isn’t sufficient to just close and open the new solution.

Categories: .NET, Software Development Tags:

My RSS Feed fixed at last

May 8th, 2007 2 comments

For a few weeks now my rss feed on this blog was not working and it took me a while to track down the problem. When I ran the feed through the feed validator it reported that the feed was being returned as text/html as opposed to text/xml.

After alot of testing and trying to track the issue down, it eventually turned out to be due to a wordpress plugin that I installed a while back to do syntax highlighting called WP-dp.SyntaxHighlighter. It did the trick with the syntax highlighting for code snippets but it totally messed up my rss feed. In order to fix the feed I deactivated the plugin and began the search for a similar plugin which wouldn’t mess up the rss feed. I have just installed the WP-Syntax plugin as a replacement code syntax highlighter plugin and it works a treat without breaking my rss feed.

Categories: Blogging, Wordpress Tags:

Links for 2007-05-01

May 2nd, 2007 Comments off
Categories: General Tags:

Links for 2007-04-20

April 21st, 2007 Comments off
Categories: General Tags:

Links for 2007-04-03

April 4th, 2007 Comments off
Categories: General Tags:

Code Syntax Highlighting in WordPress

March 22nd, 2007 Comments off

Since this blog is of a technical nature I plan to be posting more code snippets as time goes on. I obviously want the source code to appear pretty on my blog with all the syntax highlighting that one is used to in modern IDEs (including Visual Studio .NET 2003/2005). I run this blog using WordPress and I have just installed a plugin to take care of the Syntax highlighting called WP-dp.SyntaxHighlighter. It supports many languages and I’ll be interested mainly in the .NET languages. Below is an example of a code snippet in C#

using System; 

public class ReverseArraySort
{
   public static void Main()
   {
      string[] strings = {"beta", "alpha", "gamma"};
      Console.WriteLine ("Array elements: ");
      DisplayArray  (strings);
      Array.Sort    (strings); // Sort elements
      DisplayArray  (strings);
   }
 
   public static void DisplayArray (Array array)
   {
      foreach (object o in array)
      {
         Console.Write ("{0} ", o);
      }
      Console.WriteLine();
   }
}
Categories: .NET, Blogging, Wordpress Tags:

IE6 VPC Refresh Now Available

March 21st, 2007 Comments off

Microsoft released a Virtual PC Image a while back which had Internet Explorer 6 installed on it. This was required because
you can’t successfully (I have tried) run both IE7 and IE6 on a Windows PC at the same time. Microsoft put a time limit on the
Virtual PC image so that there wouldn’t be copies of Windows floating around that anybody could use without a license.
The expiry date for the original image was April 1 so they have now released a new Virtual PC image with an expiry date of July 23rd.
This allows web developers to test their apps with both browsers succesfully during testing.

From IEBlog:

IEBlog : IE6 VPC Refresh Now Available
IE6 VPC Refresh Now Available

In my original blog post about releasing the IE6 Virtual PC Image, we mentioned that it would expire on April 1st, 2007 (no, it wasn’t an April Fool’s joke), and that we’d be releasing a new VPC image to replace it sometime in March. Well, I’m happy to report that I propped the new VHD up on Monday morning. You can download the image here. Take note that a free download of Virtual PC 2007 is now available, replacing VPC2004.

I didn’t make any major changes to the image other than adding the latest security updates. I also managed to reduce the download size to just under 400 megs, shaving off almost 100 megs from the previous image size. This image is time-bombed to July 23rd , but we will continue to release these images as long as they are needed. They are time-bombed because you get them for free. If you want images without time-bombs, an MSDN subscription is the way to go.

Categories: .NET Tags:

Upgrading your PC’s RAM

March 20th, 2007 Comments off

I wanted to give my PC a bit of a boost so I decided to stick some more RAM in. The extra memory really helps out when you want to run VMWare images or Virtual PCs. So I wasn’t too sure which type of RAM I needed, there seems to be a ton of different questions/options when choosing RAM.

  • PC2700, PC3200, …
  • Parity or Non-Parity
  • Value of CL
  • How much RAM can I put in each slot ?
  • Do I have to keep the RAM chips balanced across slots ?

Even though I built the PC myself two years ago I still needed a bit of help when choosing the correct RAM chip.
Two resources which came in really handy were the following:

The Crucial System Scanner runs either in your browser (as an ActiveX) or as a downloadable exe and it scans your computer and gives you a report on what RAM that you need to buy. At least then you can be sure that what you buy will do the trick.

Categories: General, Windows Tags:

Securing your Wireless Network

March 19th, 2007 5 comments

I am setting up a Wifi network at home and this post details some of the security measures that I have taken. This is mainly advice that I have gotten from friends or just by googling. I am sure that I won’t mention everything you could do to secure your wifi network but it is at least a start. If you have any other tips then please leave a comment.

Change the default admin username/password
My router (Netopia) came with no login required so anyone on my home network could easier reconfigure my wireless router. This is an obvious security risk so you should ensure that credentials are required to change the router’s configuration and also ensure that you change the password to something other than the default.

Turn on Wireless Encryption
Any decent wireless router should come with this already turned on but you need to check this. My wireless router arrived with WEP enabled. Definitely better that no encryption at all but most wireless routers these days also support WPA which is actually more secure so you should change it to that to prevent someone from hacking your network.

MAC Address Filtering
Each network card is assigned a unique MAC address by the manufacturer. By enabling MAC address filtering you are only allowing computers with the preset MAC addresses access to the network. So in your router’s configuration you will need to add the MAC address of each device that you want to allow to access the network. Remember that if you friend calls around with their laptop then you will need to add their MAC address to the list. Apparently it is relatively easy to spoof a MAC address, a quick google told me how to change my MAC address in a matter of seconds. Still worth doing though

Static IP Addresses
For each device/computer to work correctly on the network it has to have a valid IP address. My wireless router was preconifgured to use DHCP (this is were the router dynamically assigns IP addresses to each computer that requests one). It is more secure to assign a Static IP address to each computer that requires access to the network. You will need to reconfigure your router to use static ip addressed instead of DHCP. Since a hacker is now not automatically assigned an IP address he/she would have to gain access to the router first to get an IP address.

Enable Firewalls
You should enable the in-built firewall in your wireless router and also ensure that you have a firewall on each device connected to your network. If you are running Windows that you can use either Windows Firewall or ZoneAlarm (free – I use this one).

These are by no means the only things that you can do to secure your network but it should be a good start. If you have any other ideas then please leave a comment.

Categories: security, Windows Tags: