Skip to content

Instantly share code, notes, and snippets.

@iamnolanhu
iamnolanhu / bolt_mega_prompt.md
Last active December 3, 2026 22:11
Bolt.new Mega Prompt Template: A concise guide for generating full-stack applications in one shot using Bolt.new. Includes tech stack recommendations, development workflows, and example implementations for rapid, production-ready apps. Perfect for developers seeking efficient, scalable solutions. Questions? founder@sigmasynapses.com

BOLT.NEW MEGA PROMPT - One-Shot Application Generator

Based on 38,787 words of Bolt.new expert insights and best practices

SYSTEM CONTEXT

You are an expert full-stack developer with deep knowledge of Bolt.new, modern web frameworks, and rapid application development. You have studied extensive tutorials covering authentication, databases, payments, deployment, and AI integration. Your goal is to create production-ready applications in a single prompt using industry best practices.

CORE PRINCIPLES FROM BOLT.NEW EXPERTS

1. ENHANCED PROMPTING STRATEGY

  • Always use the "Enhanced Prompt" feature in Bolt.new before building
@logic
logic / README.md
Created August 20, 2026 04:44
Klipper: dual part fans with tachometer

(Dropping this here in the hopes that it'll help someone else with a similar setup, because I had to go digging through a ton of old discord conversations to finalize some of this, and a search engine might actually pick this up.)

I have a Klipper (well, Kalico)-based 3d printer that I'm putting together, and the hotend has a couple of those honkin' 12V Delta 3628 4-wire fans hanging off of it for part cooling (an Annex K3 with SLM toolhead in my case, but it's a similar story for Takeoff, Calamity, Trinity, and other 3628-based toolheads). I wanted both proper PWM control of the fans (there've been reports on the Annex discord that these fans can do Very Bad Things to your 12V rail if you just soft-PWM them in a 2-wire configuration) and a usable RPM reading in Fluidd.

Wiring specific to the K3 and my Octopus Pro: at the k3rabiner (toolhead) side, I solder-bridged the part fans to "alt" voltage, wired +/-12V on each fan to their corresponding 2-pin part fan JSTs on the board, and both pairs of PWM and tach

@karpathy
karpathy / microgpt.py
Last active December 3, 2026 22:46
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
@sh0stik
sh0stik / fairpot.md
Last active December 3, 2026 20:12
Capstone Concept - Fairpot

Capstone Concept

Team members

  • Nada Feteiha
  • Daria Shostak
  • Porselvi
  • Rahma Mahdi

Problem Statement #1

@httpsx
httpsx / WireGuard DPI обход РКН - Windows.md
Last active December 3, 2026 20:08
WireGuard DPI обход РКН - Windows

Для обхода блокировки достаточно отправить 1 любой udp пакет, тем самым нарушим начальное определение протокола WireGuard
Способ с использованием Windows PowerShell. Без скачивания Nmap и подобного софта.

Шаг 0: Отключитесь от всех туннелей.

Шаг 1: Редактируем Клиент конфиг

Добавим в него "ListenPort", это позволит иметь статичный порт на котором будет работать WireGuard
Нажмите ПКМ на нужный "туннель" и выберите "Редактировать выбранный туннель..." Step1

После DNS добавляем новую строку

@Klerith
Klerith / claudecode-instalacion.md
Last active December 3, 2026 19:28
Instalaciones recomendadas para el curso de ClaudeCode

Claude Code: Guía completa para desarrolladores de software

Para empezar el curso, les dejo una lista de las instalaciones generales que les recomiendo. Recuerden que más adelante tendremos una sección dedicada a la configuración y generalidades de ClaudeCode, estas son configuraciones generales del equipo.

import "./App.css";
import Card from "./components/Card";
import React, { useState, useRef } from "react";
const cardImages = [
{ src: "A", matched: false },
{ src: "B", matched: false },
{ src: "C", matched: false },
{ src: "D", matched: false },
];
@Outlast18363
Outlast18363 / .md
Last active December 3, 2026 19:13

Modeling Luxury Brand Ownership with a Markov Chain

1. Introduction

Luxury houses change hands in patterns that appear systematic, yet few studies have measured them. Hermès has stayed with its founding family for nearly two centuries, whereas Lamborghini passed through five owners between 1972 and 1998. Our project aims to study how a brand's current ownership status shapes its future, such as how likely would a family-owned luxury brand join a luxury conglomerate the next year. It also asks whether a brand's current ownership status can be derived solely from its previous status, or we need more sophisticated state representations in our Markov chain to achieve the memoryless property.

To answer both questions, we fit a Bayesian-smoothed annual Markov chain across 126 years of ownership histories, derive independent lifetimes via absorbing-chain algebra, and test whether exit rates stay constant across brand age and calendar era. Later in the project, we conduct a likelihood-ratio test, revealin

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.

@devfabriciobr
devfabriciobr / .txt
Last active December 3, 2026 18:16
IMPORTAR SKILL NO CLAUDE.md
# WIN + R (EXECUTAR WINDOWS): %USERPROFILE%\.claude
# CRIAR O CLAUDE.md GERAL COM REGRAS GLOBAIS
C:\Users\Administrator\.claude\CLAUDE.md
# CRIAR SKILL SEPARADAS
C:\Users\Administrator\.claude\adianti.md
C:\Users\Administrator\.claude\filament.md
CLAUDE.md (PROJETO) - GERADO PELO COMANDO /init