Skip to content

Instantly share code, notes, and snippets.

@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
@Maharshi-Pandya
Maharshi-Pandya / contemplative-llms.txt
Last active August 4, 2025 17:22
"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
@yoavg
yoavg / multi-llm-agents.md
Last active July 29, 2025 08:02
What makes multi-agent LLM systems multi-agent?

Are multi-LLM-agent systems a thing? Yes they are. But.

Yoav Goldberg, Nov 24, 2024

This piece started with a pair of twitter and bluesky posts:

let's talk about "agents" (in the LLM sense). there's a lot of buzz around "multi-agent" systems where agents collaborate but... i don't really get how it differs from a thinking of a single agent with multiple modes of operation. what are the benefits of modeling as multi-agent?

— (((ل()(ل() 'yoav))))👾 (@yoavgo) November 23, 2024
@jmorrell
jmorrell / logger.js
Last active December 2, 2024 03:18
Logging
class Log {
constructor(name, attributes = new Map()) {
this.startTime = new Date().getTime();
this.startTimestampMs = performance.now();
this.name = name;
this.attributes = attributes;
}
setAttributes(keyValues) {
for (let [key, value] of Object.entries(keyValues)) {
@ferntheplant
ferntheplant / ARENA.md
Last active July 2, 2024 20:18
Notes from ARENA 3.0

ARENA notes

General vocab

  • CNN: convolutional neural net: replace linear layers with convolutions
  • GAN: generator and discriminator training in tandem
  • SGD: stochastic gradient descent
  • Supervised: training data is labeled (MNIST 0-9 digit labels)
  • Unsupervised: training data is unlabeled (DCGAN bedrooms are just bedrooms)
  • Parameters: learned weights and biases within NN layers
@janert
janert / hugo-survival-guide.md
Last active July 24, 2025 23:30
A Hugo Survival Guide

A Hugo Survival Guide

Hugo is a static site generator: it takes some plain-text content, marries it to a bunch of HTML templates, and produces a set of complete, static HTML pages that can be served by any generic, stand-alone web server. Simple.

Or maybe not. Hugo does a lot of things automatically, relying on conventions and implicit rules, rather than on explicit configuration. For example, it tries to match each piece of content with the most

@amrrs
amrrs / avoid_colab_close.js
Created August 17, 2021 20:02
How to avoid Google Colab Session Closing automatically?
//credit - https://huggingface.co/blog/fine-tune-wav2vec2-english (Patrick von Platen)
// run this on your Chrome / Browser Console (where Colab is present)
function ConnectButton(){
console.log("Connect pushed");
document.querySelector("#top-toolbar > colab-connect-button").shadowRoot.querySelector("#connect").click()
}
var colab = setInterval(ConnectButton,60000);
@garethnunns
garethnunns / Useful-Mac-Commands.sh
Created January 12, 2021 00:08
Useful Mac Commands
# disable sleep when lid closed
sudo pmset -b sleep 0; sudo pmset -b disablesleep 1
# re-enable sleep when lid closed
sudo pmset -b sleep 5; sudo pmset -b disablesleep 0
# prevent Photos opening when SD inserted
defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool YES
# speed up Time Machine backups
@leminhtr
leminhtr / python-tensorflow-pytorch-GPU-nvidia-cuda-linux-clean-install-instructions.md
Last active November 17, 2024 23:39
Clean Python Deep Learning GPU setup with TensorFlow 2.X.X & PyTorch 1.X and GPU installation instructions for Ubuntu 20.04 - CUDA 11.X

Instructions

I. Clean Python setup from scratch. (~1h) Skip if you already have a python environment setup or want to use your own python virtualenv setup

0. Pre-install (skip if already done)

sudo apt-get install python3-pip python-dev
@mubix
mubix / infosec_newbie.md
Last active July 10, 2025 04:30
How to start in Infosec