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
module Enscoped | |
def self.included(base) | |
base.extend(ClassMethods) | |
end | |
module ClassMethods | |
# Create one named scope from many named scopes. | |
# |
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
;; adopted from http://www.datomic.com/company/resources/getting-started | |
;; Clojure 1.4.0 | |
;; user=> | |
(use '[datomic.api :only [q db] :as d]) | |
;;=> nil | |
;; user=> | |
(doc d/q) | |
;; ------------------------- |
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
AWSTemplateFormatVersion: '2010-09-09' | |
Description: Cognito Stack | |
Parameters: | |
AuthName: | |
Type: String | |
Description: Unique Auth Name for Cognito Resources | |
Resources: | |
# Creates a role that allows Cognito to send SNS messages | |
SNSRole: |