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
| <?php | |
| //(js -> php) code. letter by letter | |
| global $n, $i, $id; | |
| $n = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMN0PQRSTUVWXYZO123456789+/="; | |
| $id = 12345; //YOUR USER ID | |
| $i = [ | |
| 'v' => function($e) { | |
| return strrev($e); |
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 Microsoft.AspNetCore.Mvc.Filters; | |
| namespace Example | |
| { | |
| public class ApiExceptionFilter : Attribute, IExceptionFilter | |
| { | |
| public void OnException(ExceptionContext context) | |
| { | |
| if (context.Exception is Exception) { |
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
| I use the first | |
| —– BEGIN LICENSE —– | |
| Michael Barnes | |
| Single User License | |
| EA7E-821385 | |
| 8A353C41 872A0D5C DF9B2950 AFF6F667 | |
| C458EA6D 8EA3C286 98D1D650 131A97AB | |
| AA919AEC EF20E143 B361B1E7 4C8B7F04 |
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.Collections.Generic; | |
| using System.Drawing; | |
| using System.Drawing.Drawing2D; | |
| using System.Drawing.Imaging; | |
| using System.Drawing.Text; | |
| using System.IO; | |
| namespace craigomatic.sample | |
| { |
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.Security.Claims; | |
| using System.Threading.Tasks; | |
| using Microsoft.Owin.Security.Cookies; | |
| namespace Microsoft.AspNet.Identity.Owin | |
| { | |
| /// <summary> | |
| /// Static helper class used to configure a CookieAuthenticationProvider to validate a cookie against a user's security | |
| /// stamp |