Blog Archives

Replicating c# String.Format with JavaScript

I was getting really sick of not having a way to populate placeholder text in JavaScript so i took 5 minutes out to write a small script to replicate the functionality in c#. The code below is an initial prototype

Posted in Mad ramblings

How to change the “required” attribute for view models in .net mvc

I was pulling my hair out one day wondering how I could make required attributes optional programmatically. I wanted to make a questionnaire form where different questions were presented to users but using the one viewmodel and ui page for

Tagged with: , , ,
Posted in Mad ramblings

Less is definitely more

Recently, a work colleague left our company. In his last day he mentioned that in order to customise Bootstrap, it would be a good idea to use less. Less i thought? What is this less and more importantly, how on

Tagged with: , , , ,
Posted in Mad ramblings