Skip to content

Instantly share code, notes, and snippets.

@matshofman
matshofman / gist:4145718
Created November 25, 2012 22:41
RA Dec to Alt Az converter
using System;
namespace RaDecToAltAz
{
/// <summary>
/// Explenation of the calculations at http://www.stargazing.net/kepler/altaz.html
/// </summary>
class RaDecToAltAz
{
double RA = 250.425; // 16 h 41.7 m * 15
@andrisgauracs
andrisgauracs / prompt.md
Last active August 18, 2026 14:32
Interactive ESP32-C3 Website Prompt

Prompt: Interactive ESP32-C3 LED Circuit Dashboard

Build a single-page interactive web dashboard that teaches how current flows when an ESP32-C3-DevKitM-1 dev board is wired to a breadboard, a pushbutton switch, and an LED. Accuracy matters more than decoration β€” this needs to be electrically correct, not just pretty.

1. Research first

Before writing any SVG, look up and use as reference:

  • The official Espressif ESP32-C3-DevKitM-1 pinout diagram (silkscreen labels, pin count per side, USB-C port, BOOT/RESET buttons, onboard RGB LED location).
@SoumyaK4
SoumyaK4 / sensei.xmp.user.js
Created July 16, 2026 19:31
Sensei's Library Tampermonkey Script
// ==UserScript==
// @name Sensei's Library - SoumyaK4 Dark + Popup SGF
// @namespace https://senseis.xmp.net/
// @version 0.5.8
// @description Clean dark theme for Sensei's Library with a compact BesoGo SGF popup.
// @author SoumyaK4
// @license MIT
// @match https://senseis.xmp.net/*
// @match http://senseis.xmp.net/*
// @include file://*/senseis-library/*

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@graimon
graimon / my-claude-setup-guide.md
Last active August 18, 2026 14:27
My Claude Code Setup Guide

My Claude Code Setup Guide (macOS)

A step-by-step guide to installing and configuring Claude Code on macOS, the way I use it. This isn't meant to be the definitive reference -- it's just my personal setup that's been working well for me. Things change fast, so if something looks off, check the official docs or let me know.


Table of Contents

  1. Install Claude Code
  2. Install GitHub CLI (gh)
@PrinceSinghhub
PrinceSinghhub / DEV + AI Calendar 2026 πŸ”₯ | Skill Acquisition Timeline.md
Created February 18, 2026 15:51
Development + AI + System Design + DevOps + Cloud Infrastructure The last few years have shown us one hard truth: 2026 will be a decisive year for tech.

DEV + AI Calendar 2026 πŸ”₯ | Skill Acquisition Timeline

DEV + AI Calendar 2026 - Build Like a SaaS Not a Prototype

Development + AI + System Design + DevOps + Cloud Infrastructure The last few years have shown us one hard truth: 2026 will be a decisive year for tech.

Layoffs, fluctuating demand, rising competition, and changing industry expectations mean one thing

@bradtraversy
bradtraversy / terminal-commands.md
Last active August 18, 2026 14:23
Common Terminal Commands

Common Terminal Commands

Key Commands & Navigation

Before we look at some common commands, I just want to note a few keyboard commands that are very helpful:

  • Up Arrow: Will show your last command
  • Down Arrow: Will show your next command
  • Tab: Will auto-complete your command
  • Ctrl + L: Will clear the screen
@bholmesdev
bholmesdev / 5-favorite-skills.md
Last active August 18, 2026 14:19
The 5 agent skills I use everyday
  • /grill-me for research and planning
  • /taste-review to let Codex make more tasteful design decisions by asking Claude (you'll need the claude CLI installed for this)
  • /vercel-react-best-practices for improving the quality of React component these agents generated
  • /simplify to improve code quality, reduce comment wordiness, and improve system architecture
  • /test-desktop-app to test Electron apps end-to-end. If you work on a different kind of app, write your own version!