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 { Server } from '@hocuspocus/server' | |
| import Fastify from 'fastify' | |
| import WebSocketPlugin from 'fastify-websocket' | |
| const port = Number(process.env.PORT || 8800) | |
| const host = '0.0.0.0' | |
| // Initialize Fastify | |
| const fastify = Fastify() |
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 { ROOT_NODE, UserComponent } from '@craftjs/core' | |
| import { getRandomId } from '@craftjs/utils' | |
| // We can infer the NodeConfig type from the UserComponent's props | |
| type NodeConfig<T extends UserComponent> = { | |
| node: T | |
| props: React.ComponentProps<T> | |
| } |
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
| # BEGIN_KITTY_THEME | |
| # Tokyo Night | |
| include current-theme.conf | |
| # END_KITTY_THEME | |
| # Set the shell to zsh | |
| shell /usr/bin/zsh | |
| # Enable splits layout | |
| enabled_layouts splits |
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
| # vim:ft=kitty | |
| ## name: Tokyo Night | |
| ## license: MIT | |
| ## author: Folke Lemaitre | |
| ## upstream: https://github.com/folke/tokyonight.nvim/raw/main/extras/kitty/tokyonight_night.conf | |
| background #1a1b26 | |
| foreground #c0caf5 |
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
| { | |
| "$schema": "https://biomejs.dev/schemas/2.0.6/schema.json", | |
| "vcs": { | |
| "enabled": true, | |
| "clientKind": "git", | |
| "useIgnoreFile": true | |
| }, | |
| "files": { | |
| "ignoreUnknown": false | |
| }, |
OlderNewer