Skip to content

Instantly share code, notes, and snippets.

View melroy89's full-sized avatar
πŸ³οΈβ€πŸŒˆ

Melroy van den Berg melroy89

πŸ³οΈβ€πŸŒˆ
View GitHub Profile
@h4x3rotab
h4x3rotab / SKILL.md
Created June 9, 2026 09:06
technical-docs-writing skill (Codex)
name technical-docs-writing
description Write, rewrite, audit, or review technical documentation using a Mintlify-guides-inspired standard. Use for READMEs, guides, tutorials, how-tos, references, verification docs, API docs, troubleshooting docs, and docs quality reviews when the user asks for world-class docs, clearer docs, better docs structure, technical writing, documentation rewrite, documentation rubric, or docs intended for both humans and AI agents.

Technical Docs Writing

Core Standard

Use this skill to make documentation help a specific reader complete a real task or understand a real system. Base the standard on the Mintlify Guides principles: know the audience, choose the right content type, organize for navigation and retrieval, write clearly, use examples intentionally, maintain accuracy, and measure whether readers succeed.

@karpathy
karpathy / microgpt.py
Last active November 7, 2026 08:43
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
@bullishpip
bullishpip / claude-code-vscode-sidebar-setup.md
Last active September 30, 2026 10:31
Adding Claude-Code Visual Studio Code extension to Chat Panel

How to Configure Claude Code Extension in Visual Studio Code Side Panel

Last Updated: October 7, 2025
Extension Version Tested: Claude Code for VS Code v2.0.10

This guide will help you set up the Claude Code extension in Visual Studio Code's side panel for easy access. You can also use this process for other chat extentions like Codex.

Prerequisites

@karpathy
karpathy / add_to_zshrc.sh
Created August 25, 2024 20:43
Git Commit Message AI
# -----------------------------------------------------------------------------
# AI-powered Git Commit Function
# Copy paste this gist into your ~/.bashrc or ~/.zshrc to gain the `gcm` command. It:
# 1) gets the current staged changed diff
# 2) sends them to an LLM to write the git commit message
# 3) allows you to easily accept, edit, regenerate, cancel
# But - just read and edit the code however you like
# the `llm` CLI util is awesome, can get it here: https://llm.datasette.io/en/stable/
gcm() {

Anyone Can install RKE2 and Rancher on a Node

  • RKE2 - Security focused Kubernetes
  • Rancher - Multi-Cluster Kubernetes Management
  • Longhorn - Unified storage layer

We will need a few tools for this guide. We will walk through how to install helm and kubectl.

A longer version of this install : Can a 12 y/o install the Rancher Stack?

#!/usr/bin/env python
import datetime
from dateutil import parser
import subprocess
import json
from influxdb import InfluxDBClient
# influx configuration - edit these
ifuser = "telegraf"
@WerySkok
WerySkok / MediaWiki.conf
Created October 8, 2023 20:26
NGINX config for MediaWiki
server {
listen 80;
server_name example.wiki;
# this config assumes that MediaWiki is installed into /opt/mediawiki/w,
# so LocalSettings.php would be located at /opt/mediawiki/w/LocalSettings.php
root /opt/mediawiki;
index index.php;
# allow larger file uploads and longer script runtimes
@eliasdabbas
eliasdabbas / get_bot_ip_addresses.py
Last active February 26, 2026 16:20
Get the most up-to-date list of IP addresses for crawler bots, belonging to Google and Bing.
import ipaddress
import requests
import pandas as pd
def bot_ip_addresses():
bots_urls = {
'google': 'https://developers.google.com/search/apis/ipranges/googlebot.json',
'bing': 'https://www.bing.com/toolbox/bingbot.json'
}
@agyild
agyild / FSR.glsl
Last active September 7, 2026 00:09
AMD FidelityFX Super Resolution v1.0.2 for mpv
// Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
This file has been truncated, but you can view the full file.