Skip to content

Instantly share code, notes, and snippets.

View sagarspatil's full-sized avatar

Sagar Patil sagarspatil

View GitHub Profile
@sagarspatil
sagarspatil / gist:e0b5443132501a3596c3a9a28571e97a
Created March 26, 2025 05:16
Gemini 2.5 pro rewrites the first page of the fountainhead.
Howard Roark laughed.
He stood by a high window on the top floor of the Staunton Institute of Technology’s gleaming, new Center for Advanced Computation, a structure of steel and glass that pretended to a logic it did not possess. Below him, the campus sprawled, a discordant aggregation of architectural styles and technological eras, a physical manifestation of committees, compromises, and expediency. He saw the inefficient pathways, the redundant server farms humming wastefully in basements, the wireless network held together by layers of incompatible protocols – a monument to the second-hand.
An hour ago, the Dean of Engineering, a man whose mind resembled the legacy COBOL code still running the university’s payroll system – functional, ancient, and utterly resistant to elegance – had informed him of his expulsion. The Dean had spoken of “a troubling lack of collaborative spirit,” of “a refusal to adhere to established software development methodologies,” of “an impractical obsession with theoretical puri
Prompt:
oyfjdnisdr rtqwainr acxz mynzbhhx -> Think step by step
Use the example above to decode:
oyekaijzdf aaptcg suaokybhai ouow aqht mynznvaatzacdfoulxxz
--
@sagarspatil
sagarspatil / gist:e677e325eb427ff93a288ba0ee12ff75
Created December 22, 2024 15:51
Automate spinning up a full node on holesky
#!/usr/bin/env bash
set -euo pipefail
handle_error() {
log_error "An error occurred on line $1"
exit 1
}
trap 'handle_error $LINENO' ERR
@sagarspatil
sagarspatil / gist:1ff37ad29e88739406b7fdf804ffd8c1
Last active June 29, 2024 05:34
Bulk delete Claude.ai conversations in browser using javascript
### Introduction
This script automates the process of deleting conversation histories from the Claude AI platform. It performs two main tasks:
1. **Extract Chat IDs:**
- The script looks through your recent conversations on the Claude AI platform and gathers the unique IDs of these conversations.
2. **Delete Conversations:**
- After collecting the chat IDs, the script sends requests to the Claude AI server to delete each conversation one by one. It includes a short delay between each deletion to avoid overwhelming the server.