Skip to content

Instantly share code, notes, and snippets.

@Koka
Koka / hack.ts
Created March 12, 2024 13:29
Enable Datadog APM tracing in Bun in a very hacky way
const ipaddr = require('ipaddr.js')
class BlockList {
v4Ranges: string[]
v6Ranges: string[]
constructor() {
this.v4Ranges = []
this.v6Ranges = []
}

Keybase proof

I hereby claim:

  • I am koka on github.
  • I am koka58 (https://keybase.io/koka58) on keybase.
  • I have a public key ASD-8BP_0d3Ko0ep1YT6VAbe6PGnEKb1cuxzJaY7N-7g1wo

To claim this, I am signing this object:

@Koka
Koka / .env
Created July 26, 2017 07:11
headless chrome in ruby
GOOGLE_CHROME_BIN=/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome