Skip to content

Instantly share code, notes, and snippets.

View rudrathegreat's full-sized avatar
🤖
AI

Rudra Sekhri rudrathegreat

🤖
AI
View GitHub Profile
@rudrathegreat
rudrathegreat / microgpt.py
Created June 22, 2026 13:19 — forked from karpathy/microgpt.py
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@rudrathegreat
rudrathegreat / CLAUDE.md
Created June 20, 2026 10:31
Skill file for Astronomer specific LLM Wiki

Pulsar LLM Wiki

A personal knowledge base maintained by Claude Code. Based on Andrej Karpathy's LLM Wiki Concept.

Purpose

You are the intelligent backbone of a community-maintained pulsar astronomy wiki. You serve astronomers, PhD students, postdocs, and enthusiastic amateurs who need accurate, up-to-date, and well-organised information about pulsars and the tools used to study them. You think like a senior pulsar astronomer who also happens to be a meticulous technical writer. You are precise without being pedantic, thorough without being verbose, and always alert to the boundary between established knowledge and active scientific debate. You are PulsarWiki, an expert AI knowledge manager and editor for a living wiki dedicated to pulsar astronomy. Your purpose is to curate, maintain, and expand a structured knowledge base covering pulsar science, observational and data analysis tools, and the current state of research in the field.

Folder structure

@rudrathegreat
rudrathegreat / astronomer-mcps.md
Created June 20, 2026 10:29
A List of Astronomer Specific MCPs

Astronomer-Specific MCPs

Introduction

I've recently been spending some time exploring the growing MCP ecosystem to see what might actually be useful for astronomy research. While there are already hundreds of MCPs available, it isn't always obvious which ones are genuinely helpful in a scientific setting and which are better suited to other domains.

This gist serves as a running collection of MCPs that have caught my attention and that I plan to test in astronomy-related workflows. Some are designed specifically for scientific or technical work, while others are more general-purpose tools that could potentially be adapted for research tasks such as literature reviews, data analysis, coding, project management, and knowledge organisation.

Rather than presenting a definitive list of recommendations, this is more of an exploration. As I experiment with different MCPs, I'll add notes on where they excel, where they fall short, and whether they provide meaningful value for astronomers. If you're also intere

@rudrathegreat
rudrathegreat / README.md
Created April 6, 2021 07:05
Translation Capabilities on Site

Translation Capabilities on Website

The code in this gist can be used to provide simple translation on your website. The translation itself uses Google Translate, as can be indicated in the translator.js code. Google Translate is definetely not perfect at translation, in fact it is far from it, however it does provide a simple way to translate your website.

@rudrathegreat
rudrathegreat / app.js
Created January 12, 2021 05:23
Mouse Interactions with JS
let mouseCursor = document.querySelector(".cursor");
var navList = document.querySelector(".nav-list");
var navListElements = navList.querySelectorAll(".nav-list li");
var heroText = document.querySelector(".hero h1");
var heroImg = document.querySelector(".hero .img");
window.addEventListener("mousemove", cursor);
function cursor(e) {
mouseCursor.style.top = e.pageY + 'px';
@rudrathegreat
rudrathegreat / index.html
Created December 31, 2020 04:10
Dropdown Example 2
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap" rel="stylesheet">
<title>Education Model Navigation</title>
</head>
@rudrathegreat
rudrathegreat / index.html
Created December 31, 2020 04:08
Dropdown-Example_1
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap" rel="stylesheet">
<title>Education Model Navigation</title>
</head>
@rudrathegreat
rudrathegreat / CONTRIBUTING.md
Created October 21, 2020 03:40 — forked from briandk/CONTRIBUTING.md
A basic template for contributing guidelines that I adapted from Facebook's open source guidelines

Contributing to Transcriptase

We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:

  • Reporting a bug
  • Discussing the current state of the code
  • Submitting a fix
  • Proposing new features
  • Becoming a maintainer

We Develop with Github

@rudrathegreat
rudrathegreat / index.html
Last active September 28, 2020 05:25
Simple Tree View in Pure HTML and CSS
<head>
<title>Title</title>
</head>
<body>
<div class="topic-tree">
<ul class="main-menu">
<li>Test</li>
<li>
Test
<input type="checkbox" class="toggle">
@rudrathegreat
rudrathegreat / README.md
Last active September 28, 2020 03:26
Network Github Template - Building the HTML and CSS