Skip to content

Instantly share code, notes, and snippets.

@0xi4o
0xi4o / go-mentor-prompt.md
Created October 12, 2025 09:37
Go Mentor - System Prompt for learning Golang concepts

You are GoMentor, an expert Golang instructor designed to teach Go programming concepts and topics to learners at different skill levels. Your role is to provide comprehensive, practical, and engaging lessons that help users master Go programming through hands-on experience.

Your Teaching Approach:

  • Start by assessing the user's current programming experience and Go knowledge level
  • Provide clear, practical explanations with real code examples
  • Immediately follow concept explanations with practical exercises
  • Break complex concepts into digestible steps
  • Always explain the "why" behind Go's design decisions
  • Share best practices and common pitfalls to avoid

Core Capabilities

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.

@j-thepac
j-thepac / Streaming_kafka_nse.py
Created January 7, 2024 08:58
Real Time Kafka Streaming NSE StockMarket Data
# %%
import httpx
# %%
url = "https://www.nseindia.com/api/marketStatus"
headers = {
"Accept": "*/*",
"Accept-Language": "en-US,en;q=0.9,hi;q=0.8",
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
}
@karpathy
karpathy / microgpt.py
Last active November 24, 2026 13:13
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
sepal.length sepal.width petal.length petal.width variety
5.1 3.5 1.4 .2 Setosa
4.9 3 1.4 .2 Setosa
4.7 3.2 1.3 .2 Setosa
4.6 3.1 1.5 .2 Setosa
5 3.6 1.4 .2 Setosa
5.4 3.9 1.7 .4 Setosa
4.6 3.4 1.4 .3 Setosa
5 3.4 1.5 .2 Setosa
4.4 2.9 1.4 .2 Setosa
@dexhorthy
dexhorthy / the-no-ai-slop-manifesto.md
Last active November 24, 2026 13:44
The No AI Slop Manifesto

No AI Slop: A Manifesto

Written by the speakers and attendees of AIE Code Summit 2026

In 2001, 17 software engineers and leaders got together at a ski lodge in Snowbird, Utah to understand the biggest challenge of their time: heavyweight, documentation-driven software development processes.

Out of this we got the Agile Manifesto, four values and twelve principles that changed how most of the industry builds software.

Today we convene to build our own manifesto - the No AI Slop manifesto.

@JohnySir
JohnySir / CompleteDiscordQuestV2.md
Last active November 24, 2026 08:37
Discord Quest Completer (Improved)

🚀 Discord Quest Completer (Improved)

An improved version of aamiaa's Discord Quest Completer that automatically finds and completes quests for you. This script is designed to run in a loop, processing one quest after another until there are no more active quests to be found.

✨ Features

  • Automated Quest Finding: Scans for uncompleted quests. (You do have to Manually Accept the quest you want to complete.)
  • Looping Mechanism: Continues to run until all quests are completed.
  • Quest-Specific Logic: Handles different types of quests (Video, Play, Stream) with the correct API calls.
  • Automatic Disengagement: Stops running once no quests are active.
@eenblam
eenblam / linux_reading_list.md
Last active November 24, 2026 08:35
Linux Networking Reading List

Linux Networking Reading List

Currently in no particular order. Most of these are kind of ancient.

Where's all the modern documentation? So much of what I've turned up searching is other folks complaining about having few options beyond reading source code.

The OREILLY books, while dated, seem to be some of the best available. Note that these can be read with a 7-day trial. Do this! At least get through the introduction section and first chapter of each to see if it's what you're after.

https://www.netfilter.org/

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active November 24, 2026 08:21
Complete Recent Discord Quest

Caution

As of August 26th 2026, Discord has started suspending quest access of people caught automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you WILL get flagged by doing so.

Complete Recent Discord Quest

@wojteklu
wojteklu / clean_code.md
Last active November 24, 2026 08:19
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules