Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name ChatGPT Data Trimmer — Single Timeline (keep last N)
// @namespace https://github.com/m00nwtchr
// @version 0.3.2
// @description Intercept ChatGPT conversation JSON. Force a single timeline (current_node → client-created-root), then keep only the last N messages. The app never mounts the rest.
// @author m00nwtchr, ChatGPT
// @license MIT
// @match https://chat.openai.com/*
// @match https://chatgpt.com/*
// @run-at document-start

$argon2id$v=19$m=64,t=512,p=2$UzbR6GF7YB3U2C5cNzt7Fw$JxTHhheWWc6FUas8qF6OXA

@m00nwtchr
m00nwtchr / rust.yml
Last active October 14, 2023 17:58
Rust Actions Template
name: Rust
on:
pull_request:
push:
branches: ["master"]
env:
CARGO_TERM_COLOR: always
@m00nwtchr
m00nwtchr / Dockerfile
Last active December 24, 2022 13:52
Compile ALVR client using Docker
# syntax=docker/dockerfile:1.3
FROM archlinux AS build
ARG VERSION="latest"
RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
pacman -Syu --noconfirm
RUN pacman-key --init && pacman-key --recv-key FBA220DFC880C036 --keyserver keyserver.ubuntu.com && pacman-key --lsign-key FBA220DFC880C036
RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
pacman -U --noconfirm 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'
diff --git a/node_modules/readable-stream/lib/_registry.js b/node_modules/readable-stream/lib/_registry.js
new file mode 100644
index 0000000..7c6d6c7
--- /dev/null
+++ b/node_modules/readable-stream/lib/_registry.js
@@ -0,0 +1 @@
+module.exports = {}
\ No newline at end of file
diff --git a/node_modules/readable-stream/lib/_stream_duplex.js b/node_modules/readable-stream/lib/_stream_duplex.js
index 6752519..5649247 100644
@m00nwtchr
m00nwtchr / pull-profile.sh
Created May 20, 2020 19:51
A script to pull my dotfiles
curl -fLo ./yadm https://github.com/TheLocehiliosan/yadm/raw/master/yadm && chmod a+x ./yadm && ./yadm clone https://github.com/lmarianski/dotfiles.git --bootstrap && rm ./yadm

Keybase proof

I hereby claim:

  • I am lmarianski on github.
  • I am m00nlit (https://keybase.io/m00nlit) on keybase.
  • I have a public key whose fingerprint is 1713 1479 1911 BB3F 4692 3D1D 701D 861D 2798 AD1B

To claim this, I am signing this object:

@m00nwtchr
m00nwtchr / pressf.cfg
Created November 12, 2019 22:32
Default config for the Press F mod
# Configuration file
general {
# The command to be executed, use %s in place of username
S:command=/give %s minecraft:diamond 32
# Amount of minutes until another death can trigger
I:deathCooldown=2
# The message the players have to send, non-case-sensitive
@m00nwtchr
m00nwtchr / CustomStructureHelper.java
Created October 31, 2019 16:57
Custom structure helper
package io.github.lukas2005.infinipush;
import com.google.common.collect.Lists;
import java.util.List;
import io.github.lukas2005.infinipush.blocks.CustomPistonBlock;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.Blocks;