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
import React from "react"; | |
import ReactDOM from "react-dom/client"; | |
import { Outlet, TinyViteRouter } from "/tiny-vite-router.tsx"; | |
ReactDOM.createRoot(document.getElementById("root")!).render( | |
<React.StrictMode> | |
<TinyViteRouter> | |
<Outlet /> | |
</TinyViteRouter> |
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
import { schema } from "prosemirror-schema-basic"; | |
import { EditorState } from "prosemirror-state"; | |
import { EditorView } from "prosemirror-view"; | |
import { Step } from "prosemirror-transform"; | |
import { collab, sendableSteps, getVersion, receiveTransaction } from "prosemirror-collab"; | |
import { undo, redo, history } from "prosemirror-history"; | |
import { keymap } from "prosemirror-keymap"; | |
import { baseKeymap } from "prosemirror-commands"; |
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
var _ = require('underscore'); | |
/* | |
* Auth token middleware for Connect. | |
* | |
* Looks at the `X-Auth-Token` header and compares it against `authToken`. | |
* | |
* `authToken` can be a string or a function that takes an input authentication | |
* token and returns a boolean that indicates whether authentication succeeds. | |
*/ |
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
# | |
# Domain Squeeze PoC | |
# by Justin Vaillancourt - @jvaill | |
# | |
# usage: ruby domain_squeeze.rb "search query" | |
# | |
# dependencies: | |
# => whois | |
# => text-hyphen | |
# => text |