Skip to content

Instantly share code, notes, and snippets.

View apburnes's full-sized avatar
🌵
In the desert

Andrew Burnes apburnes

🌵
In the desert
View GitHub Profile
@apburnes
apburnes / mcp-llmstxt-config-guide.md
Created July 22, 2025 12:40 — forked from donbr/mcp-llmstxt-config-guide.md
Configuring MCP for llms.txt Files in Claude Desktop and Cursor

Configuring MCP for llms.txt Files in Claude Desktop and Cursor

Understanding llms.txt and MCP

Before configuring your MCP clients, it's important to understand the two components involved:

  1. llms.txt: A website index format that provides background information, guidance, and links to detailed documentation for LLMs. As described in the LangChain documentation, llms.txt is "an index file containing links with brief descriptions of the content"[1]. It acts as a structured gateway to a project's documentation.

  2. MCP (Model Context Protocol): A protocol enabling communication between AI agents and external tools, allowing LLMs to discover and use various capabilities. As stated by Anthropic, MCP is "an open protocol that standardizes how applications provide context to LLMs"[2].

@apburnes
apburnes / style.json
Created June 7, 2017 04:29 — forked from anonymous/style.json
fansee-test-lakers
{
"version": 8,
"name": "fansee-test-lakers",
"metadata": {
"mapbox:autocomposite": true,
"mapbox:type": "template"
},
"sources": {
"tilezen": {
"type": "vector",
@apburnes
apburnes / README.md
Created June 10, 2016 16:45 — forked from aaronpdennis/README.md
Processing Planet.osm and serving HDM vector tiles.

Building and Updating a Global HDM Vector Tile Source from OSM Data

The Mapbox Studio style hdm-style.tm2 is a humanitarian map design that relies on three vector tile sources, two of which are hosted and served by Mapbox:

  1. Mapbox Streets
  2. Mapbox Terrain
  3. Humanitarian Data Model vector tiles

The third source is the focus of this writeup. Currently, hdm-style.tm2 uses a hand-processed, non-updating snapshot of HDM vector tiles for small subregions of the world. This gist explains in rough psuedocode and theory how you could set up a HDM vector tiles source that would update hourly (or minutely or daily) from the OSM database and cover the entire planet.

@apburnes
apburnes / geometry.js
Created April 6, 2016 19:51 — forked from 1wheel/geometry.js
line-intersection
//creates new point
function P(x, y, color){
var rv
if (x.map){
rv = {x: x[0], y: x[1], color: 'black'}
} else{
rv = {x: x, y: y, color: color || 'black'}
}
rv.toString = function(){ return rv.x + ',' + rv.y }
rv.type = 'point'
@apburnes
apburnes / Makefile
Last active August 29, 2015 14:18 — forked from mbostock/.block
GENERATED_FILES = \
numeric-solve.min.js
all: $(GENERATED_FILES)
clean:
rm -rf -- $(GENERATED_FILES) build
numeric-solve.min.js: numeric-solve.js
node_modules/.bin/uglifyjs numeric-solve.js -c -m -o $@
#!/usr/bin/env python
"""
SYNOPSIS
dn_2_rad.py [-h,--help] [-v,--verbose] [-i,--input] [-o,--output]
DESCRIPTION
This program is used to extract the gain parameters and to convert
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Created on Thu Nov 3 11:56:48 2011
The main program. The program takes 3 files as input:
#. The red band (any GDAL-compatible format will do)
#. the near-infrarred band (again as above)
#. An output file name