Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Always Be Coding

Mark Stouffer InTEGr8or

💭
Always Be Coding
View GitHub Profile
@InTEGr8or
InTEGr8or / cloudSettings
Last active Jun 25, 2020
Visual Studio Code Sync Settings Gist
View cloudSettings
{"lastUpload":"2020-06-25T13:05:18.373Z","extensionVersion":"v3.4.3"}
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');
}