Skip to content

Instantly share code, notes, and snippets.

View gtlsgamr's full-sized avatar

Hitarth Thummar gtlsgamr

View GitHub Profile
@gtlsgamr
gtlsgamr / init.lua
Last active January 5, 2026 10:23
Nvim Config
-- ============================================================================
-- BASIC SETTINGS
-- ============================================================================
-- Leader key
vim.g.mapleader = ","
-- UI Settings
vim.opt.termguicolors = true
vim.opt.background = "dark"
@gtlsgamr
gtlsgamr / claude-performance-enhancer.user.js
Last active February 20, 2025 12:08
Improve Claude AI's browser performance by keeping only recent messages visible. Control how many messages you see with a simple toggle.
// ==UserScript==
// @name Claude Chat Performance Enhancer
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Keep only last N messages visible in Claude chat
// @author gtlsgamr
// @match https://claude.ai/chat/*
// @grant none
// ==/UserScript==
(function() {
const {DateTime} = require("luxon");
const date = require("date.js");
//the function which I use but is malfunctioning in random edge cases, mostly due to date.js.org only taking utc i think
const time_value = DateTime.fromJSDate(
date(msg.text.split("/")[0]),
{
zone: user_to_find[0].timezone,
keepLocalTime: true,
}
).toLocaleString(
======================
Proton: 1629388507 proton-6.3-6b
SteamGameId: 1404210
Command: ['/home/gtlsgamr/.local/share/Steam/steamapps/common/Red Dead Redemption 2/PlayRDR2.exe']
Options: {'forcelgadd', 'hidenvgpu', 'nativevulkanloader'}
depot: 0.20210723.18
pressure-vessel: 0.20210722.0
scripts: v0.20210722.0-0-gb142f90
soldier: 0.20210719.0 soldier 0.20210719.0
======================
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx
CPU Family: 0x17