Skip to content

Instantly share code, notes, and snippets.

View splatterxl's full-sized avatar

splatterxl

View GitHub Profile
To Whom It May Concern:
I am hereby requesting immediate erasure of personal data concerning me according to Article 17 GDPR.
Please erase all personal data concerning me as defined by Article 4(1) GDPR.
Please delete the following personal data concerning me:
- All data contained on my user page, including without limitation my user profile information, guilds associated with my account, connections.
- All messages, voice events and other data collected from me without my prior consent or permission whether explicit or implied.
@splatterxl
splatterxl / walk.ts
Created August 9, 2023 15:46
recursively walk and import directory in nodejs
import * as fs from "node:fs/promises";
export async function* walk<T>(
dir: string
): AsyncGenerator<[{ name: string; path: string }, T]> {
for (const file of await fs.readdir(dir)) {
const path = `${dir}/${file}`;
const stat = await fs.stat(path);
if (stat.isDirectory()) {
@splatterxl
splatterxl / pubkey.txt
Last active July 4, 2023 14:12
My OpenPGP public key.
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBGDl9AMBDACj45QtJK+IAx0ZvwmqWLoQ3YfisWL6my0LWenFUBwU7k2yfMEe
5R6PxTOmNrqOBIdQRwfciQ7T+BlPXARf6KfbzbqP0yf9iqn0y6zC17Suc1bGT/z2
kzOqb86gQNhEMiFLqQzoAU9RAqMX2YM1SCSXiob2ZhIgRf0kmXxAeZCGjzpNWjHP
XhAAL1hAladHNUaQZDffUybkOpgKqXwMk5aF+ZfW1aYnp4ZdyeDBLRvX9jKyhEu8
oZFmUMKdZ/3sk2z8/samVTXkoWJo168vcaSX9Ac04ok9luXBI8vsyHAGthkmI4ln
rsjnGdDPD4rRR3LO7jUjfyR8aphnhDnhBgAH/owe0OLG+ioWMkSi5XLpq4Rnup6C
bWrcIs2oISwrDPQ7rk3/lmqqc+1Mn/GtHQto+OuMOZqo/aP4zWJ49yQjkmvWODvX
hS5ah6TcXyBnq7anTI0Qkv7AvbIuFB5SbPs8hSQ8u8PkG2MGSpZLvv3xBRy5Lb3A

Keybase proof

I hereby claim:

  • I am splatterxl on github.
  • I am splatterxl (https://keybase.io/splatterxl) on keybase.
  • I have a public key ASBbbCjkblag9nh3BhxjrCD3nXI9WObKdh5Q2k9QS_Ld4Ao

To claim this, I am signing this object:

/**
* Print the amount of LoC (lines of code) you have in a directory (defaults to ., can be configured
* with the second command-line argument.
*
* - Counts comments.
* - Has a basic blocklist for generated directories/files.
*
* Copyright (C) 2021, 2022 Splatterxl.
*/
@splatterxl
splatterxl / bottom.md
Last active July 30, 2023 14:19
💖✨✨✨,,,,👉👈💖💖,,,,👉👈💖💖,👉👈✨✨✨,,👉👈💖✨✨✨✨🥺,,,👉👈💖💖✨,👉👈💖💖✨🥺,👉👈💖💖✨🥺,👉👈💖💖✨,👉👈💖💖🥺,,,,👉👈✨✨✨,,👉👈💖💖,👉👈💖💖✨👉👈💖✨✨✨✨🥺,,,,👉👈💖💖✨,👉👈💖💖👉👈💖💖🥺👉👈💖💖✨👉👈💖💖,,,👉👈✨✨✨,,👉👈💖💖✨🥺👉👈💖💖✨,,👉👈💖💖,👉👈💖✨✨✨✨🥺,,,,👉👈💖💖🥺👉👈💖💖,,👉👈💖💖🥺👉👈💖✨✨✨✨🥺,,,,👉👈💖✨✨✨✨🥺,,👉👈💖💖✨🥺,👉👈💖💖🥺👉👈💖💖✨,👉👈💖💖✨👉👈

✨✨✨🥺👉👈✨✨✨,,👉👈💖✨✨🥺,,,,👉👈💖💖,,👉👈💖💖,,👉👈💖💖🥺👉👈💖✨✨✨✨🥺,,,,👉👈💖💖🥺👉👈💖✨✨✨✨🥺,,👉👈💖💖🥺,,,👉👈✨✨✨,,👉👈💖✨🥺,👉👈💖💖✨,👉👈💖💖✨🥺,👉👈💖💖✨🥺,👉👈💖💖✨,👉👈💖💖🥺,,,,👉👈✨✨✨,,👉👈💖💖✨🥺👉👈💖💖✨,,👉👈💖💖,👉👈💖✨✨✨✨🥺,,,,👉👈💖💖🥺👉👈💖💖,,👉👈💖💖🥺👉👈💖✨✨✨✨🥺,,,,👉👈💖✨✨✨✨🥺,,👉👈💖💖✨🥺,👉👈💖💖🥺👉👈💖💖✨,👉👈💖💖✨👉👈✨👉👈✨✨✨🥺👉👈✨✨✨🥺👉👈✨✨✨🥺👉👈✨✨✨🥺👉👈✨✨✨🥺👉👈✨✨✨,,👉👈💖💖✨🥺,,,👉👈✨✨✨✨🥺,,,👉👈✨✨✨✨🥺,👉👈💖👉👈✨✨✨✨🥺,👉👈✨✨✨✨🥺,,,👉👈✨👉👈✨👉👈💖✨🥺,👉👈💖💖✨,👉👈💖💖✨🥺,👉👈💖💖✨🥺,👉👈💖💖✨,👉👈💖💖🥺,,,,👉👈✨✨✨,,👉👈💖💖🥺👉👈💖💖✨🥺👉👈✨✨✨,,👉👈💖✨✨✨✨🥺,,👉👈✨✨✨,,👉👈💖💖🥺,,,👉👈💖💖🥺👉👈💖💖,,,👉👈💖💖,,,,👉👈💖💖✨🥺,👉👈💖💖✨🥺,,,,👉👈💖💖,👉👈💖💖🥺👉👈💖💖,,,👉👈💖💖,,,,👉👈💖💖✨🥺,👉👈✨✨✨,,👉👈💖💖,👉👈💖💖✨👉👈💖✨✨✨✨🥺,,,,👉👈💖💖✨,👉👈💖💖👉👈💖💖🥺👉👈💖💖✨👉👈💖💖,,,👉👈✨✨✨,,👉👈💖💖,,👉👈💖💖✨,👉👈💖💖✨,,,,👉👈💖💖🥺,,,,👉👈💖✨✨✨✨🥺,,👉👈💖💖✨🥺,👉👈✨✨✨,,👉👈💖💖✨🥺,,👉👈💖💖✨🥺👉👈💖💖,👉👈💖💖👉👈✨✨✨,,👉👈💖✨✨✨✨🥺,,,👉👈💖💖✨✨,👉👈✨✨✨,,👉👈💖✨🥺,,,👉👈💖💖🥺👉👈💖💖✨🥺👉👈💖✨✨✨✨🥺,,,,👉👈💖💖✨,👉👈💖💖✨,,,,👉👈💖💖👉👈✨✨✨,,👉👈💖✨✨✨✨🥺,,👉👈💖💖✨👉👈💖💖👉👈✨✨✨,,👉👈💖✨✨✨,,,,👉👈💖💖✨🥺,,👉👈💖💖🥺,,,,👉👈💖✨✨✨✨🥺,,,👉👈💖💖🥺,,,👉👈💖💖✨,,,,👉👈✨✨✨,,👉👈💖💖✨🥺,,👉👈💖💖✨🥺👉👈💖💖,👉👈💖💖✨,,,,👉👈💖💖✨🥺👉👈✨✨✨,,👉👈💖💖,,👉👈💖💖✨,,,,👉👈💖💖✨,👉👈💖💖🥺,,,,👉👈✨✨✨,,👉👈💖✨✨✨✨🥺,,👉👈💖💖🥺,,,👉👈💖💖🥺,,,👉👈✨✨✨,,👉👈💖✨✨✨✨🥺,,👉👈💖💖✨,,,,👉👈💖💖✨,👉👈💖💖✨🥺,,👉👈💖💖✨👉👈💖💖👉👈✨✨✨,,👉👈💖💖✨🥺,👉👈💖💖,,,,👉👈💖💖,👉👈✨✨✨,,👉👈💖💖✨🥺,,,,👉👈💖💖✨,👉👈💖💖✨,,,,👉👈💖💖🥺,,,👉👈💖💖👉👈✨✨✨✨🥺,👉👈