Skip to content

Instantly share code, notes, and snippets.

View BitPhinix's full-sized avatar
👋
Hi there

Eric Meier BitPhinix

👋
Hi there
View GitHub Profile
@BitPhinix
BitPhinix / binding.tsx
Last active April 24, 2024 11:49
yjs react binding
import React, { useMemo, useSyncExternalStore } from "react";
import {
type SharedArray,
type SharedDoc,
type SharedMap,
type SharedType,
type ToJson,
type ToJsonDeep,
} from "./types.ts";
{
"data": {
"rateLimit": {
"limit": 5000,
"cost": 2,
"remaining": 4997
},
"user": {
"avatarUrl": "https://avatars1.githubusercontent.com/u/293?v=4",
"bio": null,
# i3 config file (v4)
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
set $mod Mod4
# set default desktop layout (default is tiling)
# workspace_layout tabbed <stacking|tabbed>
# Configure border style <normal|1pixel|pixel xx|none|pixel>