Getting access to hidden windows 7 settings

There are a couple of things I recently stumbled across that gives Windows 7 users access to a ton of useful settings.

1) Make a folder on your desktop and name it: Everything.{ED7BA470-8E54-465E-825C-99712043E01C}

2) Click run and type in: gpedit.msc

If I come across any others, I’ll post it here.

How to get a perfectly sized client area

I’ve been fighting for a while trying to figure out how to make the size of a window’s client area, exactly a specified size. There is some information out there on the internet, but it’s not that great. Even the MSDN documentation is a little confusing. So i set out on a quest.

Lets say you want your window client size to be exactly 800 x 600. This means 800 x 600 of viewable space and does not include scroll bars or menu bars. Here is how I accomplished it. I know it is correct because I measured it with a paint program.

For this little snippet, I have made the first two elements the top left corner of the window positioned on the screen. Not the client area position, but the window overall. The second two are the width and height in pixels of the client area. Now lets adjust our window and create it.

Read the rest of this entry »


nVidia GPU Computing Online Seminars
GPGPU Tutorial

Port Scanner Proggie

I created a little port scanning program in C# today. I found a tutorial on how to do it. It’s really easy. But it wasn’t multithreaded, so I made it multithreaded to keep the UI responsive. You can find it here.

Port Scanner

A multithreaded port scanning program written in C#. I wrote this because I saw a nifty little tutorial on how to do it, but it wasn’t multithreaded. I thought it would be a neat little exercise for me.

Download: PortScanner.7z

Misc Useful Links

These are miscellaneous useful links that don’t really fit into any of the other categories I have.

Essential Mathematics Book Website
Gallery of Processor Cache Effects
Easy Git
IEEE-754 Floating Point References

Programmer Fonts
Design Patterns

Graphics Pipeline

This article is simply a reference for the standard graphics pipeline. Sometimes I forget what happens in what space.
I know it’s pretty crappy, maybe I’ll redo it one day to make it nice and neat.