Developer / Photographer

Cheyne

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

Using Gravatar With AngularJS

12/06/2013

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#

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

Older Posts