This file contains hidden or 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
| using System; | |
| using System.Text; | |
| using System.Security.Cryptography; | |
| class MailgunUtil | |
| { | |
| /// <summary> | |
| /// Authenticates incoming requests to a Mailgun webhook (https://documentation.mailgun.com/user_manual.html#webhooks). | |
| /// </summary> | |
| /// <example> |
This file contains hidden or 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
| using System; | |
| using System.Data.Entity.Core.Common.CommandTrees; | |
| using System.Data.Entity.Core.Metadata.Edm; | |
| using System.Data.Entity.Infrastructure.Interception; | |
| using System.Linq; | |
| public class CreatedAndModifiedDateInterceptor : IDbCommandTreeInterceptor | |
| { | |
| public const string CreatedColumnName = "Created"; | |
| public const string ModifiedColumnName = "Modified"; |
This file contains hidden or 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
| # Fail2Ban filter for unsuccesfull MSSQL authentication attempts | |
| [INCLUDES] | |
| # Read common prefixes. If any customizations available -- read them from | |
| # common.local | |
| before = common.conf | |
| [Definition] |