Skip to content

Instantly share code, notes, and snippets.

View vishalsachdev's full-sized avatar

Vishal Sachdev vishalsachdev

View GitHub Profile
@vishalsachdev
vishalsachdev / index.html
Created December 29, 2025 22:56
Session transcript: kg-learning graduation and automation (2025-12-29)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Claude Code transcript - Index</title>
<style>
:root { --bg-color: #f5f5f5; --card-bg: #ffffff; --user-bg: #e3f2fd; --user-border: #1976d2; --assistant-bg: #f5f5f5; --assistant-border: #9e9e9e; --thinking-bg: #fff8e1; --thinking-border: #ffc107; --thinking-text: #666; --tool-bg: #f3e5f5; --tool-border: #9c27b0; --tool-result-bg: #e8f5e9; --tool-error-bg: #ffebee; --text-color: #212121; --text-muted: #757575; --code-bg: #263238; --code-text: #aed581; }
* { box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg-color); color: var(--text-color); margin: 0; padding: 16px; line-height: 1.6; }
# This code helps you get a CSV roster of student names( Lastname, first name) along with their group names
# using the CANVAS api. Every user's API gives them access based on information they can see inside canvas
# The code below assumes CANVAS at Illinois, and requires two inputs: The API and the course_id
import requests
import json
import csv
# get a Canvas access token - https://canvas.illinois.edu/profile/settings --> Approved Integrations --> New Access token
# Enter with your access token from Canvas in the API-Key field below
@vishalsachdev
vishalsachdev / contemplative-llms.txt
Created March 11, 2025 03:50 — forked from Maharshi-Pandya/contemplative-llms.txt
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference