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
| public class Flash : DynamicObject | |
| { | |
| private readonly TempDataDictionary _store; | |
| private const string KeyPrefix = "Flash"; | |
| public Flash(TempDataDictionary store) | |
| { | |
| _store = store; | |
| } |
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
| # | |
| # Wide-open CORS config for nginx | |
| # | |
| location / { | |
| if ($request_method = 'OPTIONS') { | |
| add_header 'Access-Control-Allow-Origin' '*'; | |
| # |
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
| /* | |
| * File: bst.js | |
| * | |
| * A pure JavaScript implementation of a binary search tree. | |
| * | |
| */ | |
| /* | |
| * Class: BST | |
| * |
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
| # app/validators/reserved_name_validator.rb | |
| class ReservedNameValidator < ActiveModel::EachValidator | |
| RESERVED_NAMES = %w{ | |
| about account add admin api | |
| app apps archive archives auth | |
| blog | |
| config connect contact create | |
| delete direct_messages downloads | |
| edit email | |
| faq favorites feed feeds follow followers following |
NewerOlder