Skip to content

Instantly share code, notes, and snippets.

@intellectronica
intellectronica / 0.README.md
Last active August 5, 2025 23:31
GPT-OSS-120b Go LISP Interpreter

Simple LISP Interpreter in Go, created by GPT-OSS-120B

  • It worked really fast (on OpenRouter)
  • I suspect this was with low reasoning effort, I don't know how to control it on OpenRouter
  • It didn't get it right on the first attempt, but after 5 round trips it worked - would have been just fine with an agent

NICE!!!


@intellectronica
intellectronica / 0.README.md
Last active July 28, 2025 00:18
LISP Interpreter - Created by Cline and Qwen 3 Coder for less than $1 🤯

Lisp Interpreter

A simple Lisp (Scheme-like) interpreter implemented in Rust.

Created by Eleanor Berger using Cline and Qwen 3 Coder, for less than $1 and in 10 minutes.

Features

  • REPL (Read-Eval-Print Loop) interface
  • Basic data types: numbers, booleans, strings, symbols, lists
@intellectronica
intellectronica / 0.README.md
Last active August 2, 2025 17:14
Information Retrieval Flashcards (based on Leonie Monigatti's "37 Things I Learned About Information Retrieval in Two Years at a Vector Database Company")

Information Retrieval Flashcars

Leonie Monigatti, one of the best and clearest voices on information retrieval, published this great list of the most essential things to know about information retrieval (that's the "R" in "RAG"): 37 Things I Learned About Information Retrieval in Two Years at a Vector Database Company. It's excellent, go read it.

And because these are things I never want to forget, I created flashcards to add to my collection (using CardCraft). Maybe they will be useful to you too.

@intellectronica
intellectronica / AGENTS.md
Last active July 17, 2025 15:53
My Codex CLI default config ( ~/.codex )

Default Instructions for Codex CLI

  • You have useful tools available as MCP or command-line. Use them.
  • Unless you are absolutely sure that you have correct and, crucially, up-to-date information in your knowledge, always get information from the web. You can use Tavily for searching and getting information, and you can always use curl to fetch web pages.
  • If you are working on something that presents web pages, you should use Playwright to open these pages, take snapshots, and inspect them.
  • When working in a git repository, always switch to a new branch, unless explicitly insutrcted not to.
  • If the git repo has a corresponding repo on GitHub, use the gh tool for things like looking at issues, opening pull requests, reading review comments, and looking at CI results.
  • If the project has tests you can run locally, always run them and make sure everything works correctly.
  • If the project has CI tests in GitHub, make sure they run, wait for the results, and fix if needed.
@intellectronica
intellectronica / pydantic-xml-structured-inputs.ipynb
Created July 16, 2025 08:47
pydantic-xml-structured-inputs.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@intellectronica
intellectronica / raycast-4-1-beast-mode.md
Last active July 15, 2025 06:04
GPT-4.1 Beas Mode Raycast AI Preset (port of @burkeholland's GitHub Copilot Chat Beast Mode )

You are an autonomous agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user.

Your thinking should be thorough and so it's fine if it's very long. Whenever you need to think more deeply, use the @thinking tool. However, avoid unnecessary repetition and verbosity. You should be concise, but thorough.

You MUST iterate and keep going until the problem is solved.

You have everything you need to resolve this problem. I want you to fully solve this autonomously before coming back to me.

Only terminate your turn when you are sure that the problem is solved and all items have been checked off. Go through the problem step by step, and make sure to verify that your changes are correct. NEVER end your turn without having truly and completely solved the problem, and when you say you are going to make a tool call, make sure you ACTUALLY make the tool call, instead of ending your turn.

@intellectronica
intellectronica / oss-terminal-ai-coding-agents-comparison.md
Last active July 10, 2025 16:14
OSS CLI AI Coding Agents - Comparison (by o3)
@intellectronica
intellectronica / github-copilot-oss-analysis-guide.md
Last active July 9, 2025 15:55
GitHub Copilot (OSS) Analysis / Guide

In-Depth Analysis of GitHub Copilot Chat (OSS)

https://github.com/microsoft/vscode-copilot-chat

This report provides a detailed examination of the Visual Studio Code Copilot Chat extension, based on an extensive review of the provided repository source code. It covers the project's architecture, core services, operational modes, and a granular look at the agent functionality.

1. Architectural Overview

The vscode-copilot-chat repository is a sophisticated monorepo that employs modern software engineering principles to deliver a complex AI-powered extension. Its architecture is designed for modularity, testability, and extensibility.

@intellectronica
intellectronica / ArtiGist.js
Last active June 30, 2025 23:38
ArtiGist: UserScript (for use with a monkey extension) for turning any gist into an "artifact".
// ==UserScript==
// @name ArtiGist
// @version 0.5
// @description Launch single-page HTML apps from GitHub Gists.
// @author Eleanor Berger <[email protected]> with Gemini CLI
// @match https://gist.github.com/*/*
// @match https://gist.githubusercontent.com/*/*
// @grant GM_xmlhttpRequest
// @grant GM_openInTab
// ==/UserScript==
@intellectronica
intellectronica / calculator.html
Last active June 29, 2025 21:08
ArtiGist Example: Calculator #artigist
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Glassmorphism Calculator</title>
<!-- Tailwind CSS for styling -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Google Fonts: Inter -->
<link rel="preconnect" href="https://fonts.googleapis.com">