- Surface 180s (Jet ski)
- Push with back foot to release fins
- upper body shouldn't really move
- Surface 360s both TS/HS (jet ski)
- lean against the line
- sqaut to get good advance
- pull with two hands
- traveling
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
| // root.tsx | |
| import { getUserSession, requireUser, logout } from "~/session"; | |
| export function loader({ request }) { | |
| // use case: know if the user is logged in, no redirect to /login | |
| let userSession = await getUserSession(request); | |
| let isAuthenticated = userSession.has("userId"); | |
| return { isAuthenticated }; | |
| } |
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
| type Await<T extends (...args: any) => any> = T extends ( | |
| ...args: any | |
| ) => Promise<infer U> | |
| ? U | |
| : T extends (...args: any) => infer U | |
| ? U | |
| : any; | |
| async function load() { |
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
| import crypto from "crypto"; | |
| import { renderToStaticMarkup } from "react-dom/server"; | |
| import createMailgun from "mailgun-js"; | |
| import type { ActionFunction, LoaderFunction, Session } from "remix"; | |
| import { createCookieSessionStorage, json, redirect } from "remix"; | |
| /******************************************************************************* | |
| * Before we can do anything, we need to make sure the environment has | |
| * everything we need. If anything is missing, we just prevent the app from | |
| * starting up. |
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
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
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
| import { createCookieSessionStorage } from "remix"; | |
| let { getSession, commitSession, destroySession } = createCookieSessionStorage({ | |
| cookie: { | |
| name: "__session", | |
| secrets: ["r3m1xr0ck5"] | |
| } | |
| }); | |
| export { getSession, commitSession, destroySession }; |
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
| const pageMachine = Machine({ | |
| id: 'pageTransition', | |
| initial: 'idle', | |
| context: { | |
| location: '/', | |
| nextLocation: null, | |
| data: {}, | |
| forms: new Map(), | |
| error: null |
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
| asdfasdf |
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
| blah blah |
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
| hey hey |