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
(ns org.stinkless.rekonstruction.api.entry | |
(:require | |
[cheshire.core :as cheshire] | |
[com.biffweb :as biff] | |
[org.stinkless.rekonstruction.raw.anomalies :as an] | |
[org.stinkless.rekonstruction.util :as util] | |
[taoensso.truss :as truss]) | |
(:import | |
(com.stripe.model.checkout Session) | |
(com.stripe.param.checkout SessionCreateParams SessionCreateParams$LineItem SessionCreateParams$LineItem$PriceData SessionCreateParams$LineItem$PriceData$ProductData SessionCreateParams$Mode))) |
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
{:deps {cider/cider-nrepl {:mvn/version "0.28.3"} | |
refactor-nrepl/refactor-nrepl {:mvn/version "3.6.0"}}} |
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
const m = Machine({ | |
"id": "highlight", | |
"type": "parallel", | |
"states": { | |
"HLAttachment": { | |
"id": "HLAttachment", | |
"initial": "unattached", | |
"states": { | |
"unattached": { | |
"id": "unattached", |
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
const m = Machine({"id":"slides","initial":"showSlideOneHideSlideTwo","states":{"showSlideOneHideSlideTwo":{"on":{"CLICK_LINKONE":{"target":"showingSlideTwo","actions":["setCurrentSlide","ariaHideSlideOne","ariaShowSlideTwo","lowerSlideOne","raiseSlideTwo"]}}},"showingSlideTwo":{"after":{"300":"quickHideSlideOne"},"entry":["settingSlideTwoOpacity","settingSlideTwoVisibility"]},"quickHideSlideOne":{"initial":"turningOffTransitions","states":{"turningOffTransitions":{"after":{"10":"hidingSlideOne"}},"hidingSlideOne":{"entry":["zeroSlideOneOpacity","hideSlideOneVisibility"],"after":{"10":{"target":"turningOnTransitions"}}},"turningOnTransitions":{"after":{"10":"#slides.hideSlideOneShowSlideTwo"}}}},"hideSlideOneShowSlideTwo":{}}}) |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn |
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
const contentMachine = Machine({ | |
id: 'content', | |
initial: 'empty', | |
context: { | |
}, | |
states: { | |
empty: { | |
on: { | |
configure: 'configured' |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
Generic Request | |
Logged In | |
logout -> Not Logged In | |
any request -> Logged In | |
Not Logged In | |
any request -> Choose Identity Provider | |
Choose Identity Provider | |
click oauth provider -> Await Return | |
Await Return | |
auth response -> Validate Auth |
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
Creator | |
Dialogging | |
create new dialog -> Creating Invitation | |
Creating Invitation | |
start typing -> Typing | |
Typing | |
submit -> Awaiting Response | |
Awaiting Response | |
response-link-clicked -> Responder | |
Responder |
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 makeRecvPacket() | |
buf, len = nextPacketBuf() | |
if buf == nil then | |
return false | |
end | |
log("received") | |
if len ~= maxpacketlen then | |
log("packet len "..tostring(len)) | |
end | |
packet = {} |
NewerOlder