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
| #!/usr/bin/env node | |
| import { basename } from "node:path"; | |
| import { writeFile } from "node:fs/promises"; | |
| const isStart = /^\p{ID_Start}$/u; | |
| const isPart = /^\p{ID_Continue}$/u; | |
| const lines = ["codepoint\tcharacter\ttype"]; |
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
| #!/usr/bin/env nix | |
| #! nix shell nixpkgs#argc nixpkgs#jq --command bash | |
| # shellcheck shell=bash | |
| # vim: filetype=bash | |
| # @describe Bootstrap a launch agent plist | |
| # @option -c --command! Command to run | |
| # @option -C --cwd <DIR> Working directory | |
| # @option -e --env*, Environment variables | |
| # @option -l --label! Launch agent label | |
| # @option -n --name Program name |
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
| /** | |
| * Adds support for importing ES modules from the web. | |
| */ | |
| export function load(url, _context, nextLoad) { | |
| if (!url.startsWith("https://")) { | |
| return nextLoad(url); | |
| } | |
| return fetch(url) | |
| .then((res) => res.text()) |
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 gh = (path) => new URL(path, 'https://nobsdelivr.private.coffee/gh'); | |
| const getJson = (url) => | |
| fetch(url, { headers: { Accept: "application/json" } }) | |
| .then((response) => response.json()) | |
| .catch((error) => { | |
| console.error(error); | |
| }); | |
| async function fetchInstances() { |