Home
RichardN
Cancel

Find the nth occurrence of a string (JavaScript)

I was playing around in JavScript needing to find 7’th position of a ‘(’ within a long string. Messing about with the indexOf() and substring() methods were a bit too cumbersome so I came up with t...

Hosting Web API and Static Content with OWIN

Setting up the project To begin you will need to create a new console application in Visual Studio. Once your application has been created open the Package Manager console and install the follow...

Remote Access Home

Understanding DNS Most ISP’s make use of dynamic IP Addresses to prevent you from hosting websites off your home computer, and rotate these addresses fairly often (sometimes on a daily basis). It w...