Entries by Brian Reich

Subnet Calculator in 9 Lines of PHP

I’ve been spending a lot of time studying for my Microsoft 70-642 exam, an important part of which is subnetting.As an intellectual exercise I wrote a subnet calculator. Enjoy: 1 2 3 4 5 6 7 8 9 function subnet($hosts) { $bits = decbin($hosts) + 2; // Add 2 for Network ID and Broadcast $hostBits […]

How I Got Banned From Reddit

Important: I’m not posting this to complain about how I got banned from Reddit. In retrospect I can, albeit somewhat begrudgingly, admit that I probably had it coming.  But just as I always do I’m using my blog as a forum to help people solve IT problems. Only this time around, the problem happened to […]

What is HTML?

Most people have heard the term HTML and have a general idea that it has something to do with the web.  But as someone who wants to create the web you need to have a better understanding.  This article will explain what HTML is and why it’s important, and it just might do it without […]