Skip to content

Instantly share code, notes, and snippets.

View kevinhu's full-sized avatar
🌴
On vacation

Kevin Hu kevinhu

🌴
On vacation
View GitHub Profile
@kevinhu
kevinhu / yjs-pg-server.js
Created May 16, 2023 21:27 — forked from bumi/yjs-pg-server.js
implementation of a websocket server storing yjs documents in a postgresql database
const WebSocket = require('ws');
const http = require('http');
const Y = require('yjs');
const wsUtils = require('./utils');
const cookie = require('cookie');
const QuillDelta = require('quill-delta');
//const QuillConverter = require('node-quill-converter');
//const MdastFromQuillDelta = require('mdast-util-from-quill-delta');

Keybase proof

I hereby claim:

  • I am kevinhu on github.
  • I am kevinhu (https://keybase.io/kevinhu) on keybase.
  • I have a public key ASBEvPi-rBHOyXlf45dups4FgPO8_FsJVwPpaE5uDrnClAo

To claim this, I am signing this object:

@kevinhu
kevinhu / keybase.md
Created June 10, 2019 18:30
keybase.md

Keybase proof

I hereby claim:

  • I am kevin-who on github.
  • I am kevinhu (https://keybase.io/kevinhu) on keybase.
  • I have a public key ASBEvPi-rBHOyXlf45dups4FgPO8_FsJVwPpaE5uDrnClAo

To claim this, I am signing this object:

@kevinhu
kevinhu / MA_4237_FINAL.ipynb
Last active December 17, 2017 02:26
MA_4237_FINAL.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.