Developer / Photographer


Simple Element Toggling With AngularJS


Toggling UI elements is a chore that nobody enjoys. Back when your web apps were primarily jQuery or raw JavaScript you would need to wire up an event handler, catch the click event, determine the current visibility state and switch it. A fairly small job, but still an annoying one when you have a page Read More

Using Gravatar With AngularJS


Want to use Gravatar in your AngularJS app? Use this simple directive to insert Gravatar images in your app. Before you get started, you will need to make sure you have an MD5 hashed version of your users email address. Gravatar uses this hashed version of the email address in order to determine which avatar Read More

Get Active Ports and Associated Process Names In C#


Recently I found myself needing to find a way to determine what open and listening ports along with their associated running processes are currently active on a Windows machine using C#. Some extensive Googling returned pretty dismal results. Retrieving a list of open ports is simple. Retrieving a list of running processes is simple. A Read More

Older Posts