Skip to content

Instantly share code, notes, and snippets.

@daveduthie
Last active June 5, 2023 15:20
Show Gist options
  • Save daveduthie/e94adc4be176a24ba15ed847718bbcc7 to your computer and use it in GitHub Desktop.
Save daveduthie/e94adc4be176a24ba15ed847718bbcc7 to your computer and use it in GitHub Desktop.

Revisions

  1. daveduthie revised this gist Jun 5, 2023. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions is_deleted
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    yep
  2. daveduthie created this gist Nov 17, 2022.
    25 changes: 25 additions & 0 deletions SketchSystems.spec
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    QT auth&
    Auth0
    A0Nil
    HaveLocalCreds -> A0LoggedIn
    HaveUser -> A0LoggedIn
    A0LoggedIn
    Utwig401 -> A0Nil
    # no way to get here?
    A0LoggedOut
    HaveUser -> A0LoggedIn
    Firebase
    FBNil
    Init -> FBPending
    HaveUser -> FBLoggedIn
    FBPending
    NoUser -> FBLoggedOut
    HaveUser -> FBLoggedIn
    FBLoggedIn
    ChangedUser -> FBLoggedIn
    RedundantLogin -> FBLoggedIn
    Logout -> FBNil
    UserMismatch -> FBLoggedOut
    FBLoggedOut
    GotCustomToken -> FBLoggedIn
    HaveUser -> FBLoggedIn
    6 changes: 6 additions & 0 deletions SketchSystems_prototype.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    function render(model){
    let current_state_name = model.active_states[0].name;
    return $("h1",
    {style: {color: "darkBlue"}},
    `The current state is: ${current_state_name}`);
    }