How to use:
./wordle.sh
Or try the unlimit mode:
| import Head from 'next/head' | |
| export const SeoHeaders = ({ | |
| title, | |
| description, | |
| author, | |
| twitterAuthor, | |
| twitterSite, | |
| url, | |
| imageUrl, |
| // TODO: make `pages` optional and measure the div when unspecified, this will | |
| // allow more normal document flow and make it easier to do both mobile and | |
| // desktop. | |
| import { | |
| createContext, | |
| useCallback, | |
| useContext, | |
| useEffect, | |
| useMemo, | |
| useRef, |
| # a quick way to install a CHT instance. Uses bare metal couchdb | |
| # see docker based install here: https://gist.github.com/mrjones-plip/7bbe7b0a44ce7876a551b9730c6fc43d | |
| # | |
| sudo apt update | |
| sudo apt dist-upgrade | |
| curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash | |
| export NVM_DIR="$HOME/.nvm" | |
| [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
| [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion |
| function useIsPendingPathname(to) { | |
| let { location } = useTransition(); | |
| let { pathname } = useResolvedPath(to); | |
| return location?.pathname === pathname; | |
| } | |
| function useIsSlowTransition(ms = 300) { | |
| let transition = useTransition(); | |
| let [isSlow, setIsSlow] = useState(false); |
| import { createHash } from "crypto"; | |
| import fs from "fs"; | |
| import fsp from "fs/promises"; | |
| import path from "path"; | |
| import https from "https"; | |
| import { PassThrough } from "stream"; | |
| import type { Readable } from "stream"; | |
| import type { LoaderFunction } from "remix"; | |
| import sharp from "sharp"; | |
| import type { Request as NodeRequest } from "@remix-run/node"; |
In order to keep filters up to date, please use this repo.
| const path = require("path"); | |
| const express = require("express"); | |
| const compression = require("compression"); | |
| const morgan = require("morgan"); | |
| const { createRequestHandler } = require("@remix-run/express"); | |
| //////////////////////////////////////////////////////////////////////////////// | |
| let app = express(); | |
| app.use(compression()); |
| /** | |
| * This Gist is part of a medium article - read here: | |
| * https://jamiecurnow.medium.com/using-firestore-with-typescript-65bd2a602945 | |
| */ | |
| // import firstore (obviously) | |
| import { firestore } from "firebase-admin" | |
| // Import or define your types | |
| // import { YourType } from '~/@types' |
| #!/bin/bash | |
| ### | |
| ### my-script — does one thing well | |
| ### | |
| ### Usage: | |
| ### my-script <input> <output> | |
| ### | |
| ### Options: | |
| ### <input> Input file to read. | |
| ### <output> Output file to write. Use '-' for stdout. |