This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//So much boilerplate! | |
public abstract class UserAccountCreationResult | |
{ | |
private UserAccountCreationResult() { } | |
public UserAccountCreationResult AsBaseType() => this; | |
//Emulate pattern matching | |
public abstract T Match<T>( | |
Func<Success, T> success, | |
Func<WeakPassword, T> weakPassword, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
p.ProjectID, | |
p.FourHTitle, | |
rt.RecordTypeID, | |
rt.RecordTypeName, | |
rt.RecordTypeDescription, | |
( SELECT COUNT(1) | |
FROM c_RecordTypeConfiguration | |
WHERE OrganizationID = 25 | |
AND RecordTypeID = rt.RecordTypeID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function extend(destination, source) { | |
for (var k in source) { | |
if (source.hasOwnProperty(k)) { | |
destination[k] = source[k]; | |
} | |
} | |
return destination; | |
} | |
function getFileServicesHost() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let mapleader="," | |
"enable pathogen | |
filetype off | |
call pathogen#runtime_append_all_bundles() | |
call pathogen#helptags() | |
"git status on statusline | |
set statusline=%t | |
set statusline+=%m | |
set statusline+=\ %{fugitive#statusline()} |