Skip to content

Instantly share code, notes, and snippets.

View kevinslin's full-sized avatar

Kevin Lin kevinslin

View GitHub Profile
@kevinslin
kevinslin / nimbus.privatelink.aws.yaml
Created April 16, 2024 00:25
Nimbus Private Link
sources:
source/a/dd_agent:
type: datadog_agent
address: 0.0.0.0:8020
multiple_outputs: true
sinks:
sink/l/dd:
site: ${DD_SITE}
type: datadog_logs
inputs:
@kevinslin
kevinslin / pkg.textpress.md
Last active April 20, 2025 22:09
textpress.md
id title desc updated created
s0o4y7x0hii013s5odjdobs
Textpress
1745186728475
1745186544833

Plain Text Publishing

@kevinslin
kevinslin / arch.md
Last active April 28, 2025 01:01
textpress arch

Pseudocode

async function sync(dir) {
  const jwt = await loginWithSupabase();                // opens browser once
  const remote = await fetchManifest(jwt);

  const local  = await buildLocalMap(dir, remote);      // reuse cache
 const diff = diffLocalVsRemote(local, remote); // { upload, delete }