Skip to content

Instantly share code, notes, and snippets.

@YuetAu
YuetAu / keybase.md
Created October 18, 2023 17:07
Keybase Declaration

Keybase proof

I hereby claim:

  • I am yuetau on github.
  • I am yuetau (https://keybase.io/yuetau) on keybase.
  • I have a public key ASAEvafRuU4FnGL2lInw49U2sp-k3BqV20R1UHqe5KNhCgo

To claim this, I am signing this object:

@YuetAu
YuetAu / App.js
Last active November 29, 2022 02:43
import pgPkg from 'pg';
const { Pool } = pgPkg;
const pool = new Pool()
const res = await pool.query('SELECT $1::text as message', ['DB Connection Valid!'])
console.log(res.rows[0].message)
import whatsappWebPkg from 'whatsapp-web.js';
const { Client, LocalAuth } = whatsappWebPkg;
import qrcode from 'qrcode-terminal';