Developer / Photographer

Snips

Simple Element Toggling With AngularJS

06/09/2014

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

Get Active Ports and Associated Process Names In C#

07/28/2013

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