Archive for Tips
Create Singleton in C#
Posted by: | CommentsOne of the most basic and most useful object patterns is the Singleton design pattern. A Singleton is a class of which there will only be one instance created at any time. All users of the Singleton class will all use the same instance. This is great for a wide range of applications such as cached values and lookups or utilities that execute quickly. The Design Patterns book by Gamma et al . describes the structure of a basic Singleton. We’ll describe how to create one in C#.
Windows 7 God Mode
Posted by: | CommentsJust found a little tip / secret for Windows 7 that’s been making the rounds on the Internet. It enables “GodMode” – a term created by the Windows 7 development team. This secret “mode” provides a single place to access all the important Windows settings without having to drill down through a multitude of menus and folders in Control Panel. This tip is one of my favorites.
Here’s how to do it:
- Create a new folder.
- Rename the folder to GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}(note that you can change the “GodMode” text, but the following period and code number are essential).
- The folder icon will change to — double click it to show the GodMode window.


