Skip to content

Instantly share code, notes, and snippets.

@mthri
mthri / smart_dns.py
Last active August 26, 2026 09:02
A smart DNS proxy script in Python using SOCKS5
"""
SOCKS5 DNS Proxy
================
**GUI VERSION IS HERE: https://github.com/mthri/smart-dns**
Description:
This script runs a local DNS server that acts as a proxy, selectively
routing DNS queries through any SOCKS5 proxy. It's a powerful tool for
enhancing DNS privacy and bypassing internet censorship or sanctions.
@nicholasgriffintn
nicholasgriffintn / gist:717bb0778efe1f7db4124fdf7233b0ca
Last active August 26, 2026 09:00
continuous improvement goal
/goal Review the application end to end. Find, prioritize, implement, and document improvements across correctness, UX, accessibility, performance, security, reliability, architecture, maintainability, and missing features. Use specialized agents in parallel.
# Workflow
1. Inspect the repo, docs, dependencies, config, etc. Understand intended behavior first.
2. Run the app and record baseline build, lint, type-check, performance, and critical-flow results.
3. Evaluate major journeys plus loading, empty, error, permission, responsive, and edge-case states.
4. Rank findings by impact, severity, confidence, effort, and regression risk.
5. Give agents independent tasks with non-overlapping ownership.
6. For each substantial change:
@billyshub
billyshub / README.md
Last active August 26, 2026 08:59
DIY Ambilight - Hyperion + Android Grabber (+ WLED Option)

Hyperion + Android Grabber Ambilight Setup Guide

Intro

@aravindnc
aravindnc / Activate_Windows_8_8.1_10_and_11_Pro_for_Free.md
Created February 19, 2024 17:15
Activate Windows 8, 8.1, 10 and 11 Pro for Free

Activate Windows 8, 8.1, 10 and 11 Pro for Free

A guide how to get and activate Windows 8, 8.1, 10 and 11 Pro for free!

NOTE

If you see the Windows keyboard button in this guide; and you can't find it on your keyboard, you likely have/had Windows 10 which has the button . If you can't find that one, you likely have a PC that has been upgraded to Windows 8/8.1/10/11 from Windows 8.1/8/7/Vista/XP and other ones. If you have one of those, refer the Windows key button to as yours. A list of them is below:

Windows key buttons

- Windows 11

- Windows 10

@omerfsen
omerfsen / nvidia-smi-cheat-sheet.md
Created November 6, 2025 11:58
nvidia-smi cheat sheet

NVIDIA-SMI Comprehensive Cheat Sheet

Overview

nvidia-smi (NVIDIA System Management Interface) is a command-line tool that provides monitoring, management, and diagnostic information for NVIDIA GPU devices.

It communicates directly with the NVIDIA driver and GPU, and can:

  • Monitor GPU performance, temperature, and utilization
  • Manage power, clock speeds, and ECC
  • Control persistence mode and compute modes

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.

#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <stdbool.h>
typedef int8_t i8;
typedef int16_t i16;
typedef int32_t i32;
typedef int64_t i64;
typedef uint8_t u8;
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active August 26, 2026 08:51
Complete Recent Discord Quest

Caution

As of April 7th 2026, Discord has expressed their intent to crack down on 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 most likely WILL get flagged by doing so.

Complete Recent Discord Quest

@davidbarsky
davidbarsky / SKILL-1.md
Last active August 26, 2026 08:45
my Claude skills for authoring Rust. See the first comment for installation instructions!
name rustdoc
description Rust documentation conventions (RFC 1574). Apply when writing doc comments on public Rust items. Covers summary sentences, section headings, type references, and examples.

Rust Documentation Conventions (RFC 1574)

Apply these rules when writing doc comments (///) on public Rust items.

Summary Sentence