Skip to content

Instantly share code, notes, and snippets.

Always Be Coding

Mark Stouffer InTEGr8or

Always Be Coding
View GitHub Profile
InTEGr8or / cloudSettings
Last active Jun 25, 2020
Visual Studio Code Sync Settings Gist
View cloudSettings
View gist:a03276e162ff213e7d60
//Strip newline characters from ReasonPhrase.
ex.Response.ReasonPhrase = msg.Replace("\\r", string.Empty).Replace("\\n", string.Empty).Replace(Environment.NewLine, string.Empty);
View gist:d023162facf1d290b1fc
//Accepts a date string and returns a date string formatted for Kendo DatePickers
function dateForKendo(date) {
return kendo.toString(kendo.parseDate(date), 'MM/dd/yyyy');