Skip to content

Instantly share code, notes, and snippets.

View marcusrbrown's full-sized avatar

Marcus R. Brown marcusrbrown

View GitHub Profile
@marcusrbrown
marcusrbrown / 000-rule-generating-agent.mdc
Last active April 30, 2025 21:11
A Cursor rule with guidelines for rule creation, naming, and content (meta rule). Add to `.cursor/rules` in your project and tell the Agent to create rules or use the `/Generate Cursor Rules` command.
---
description: This rule is essential for maintaining consistency and quality in rule creation across the codebase. It must be followed whenever: (1) A user requests a new rule to be created, (2) An existing rule needs modification, (3) The user asks to remember certain behaviors or patterns, or (4) Future behavior changes are requested. This rule ensures proper organization, clear documentation, and effective rule application by defining standard formats, naming conventions, and content requirements. It's particularly crucial for maintaining the rule hierarchy, ensuring rules are discoverable by the AI, and preserving the effectiveness of the rule-based system. The rule system is fundamental to project consistency, code quality, and automated assistance effectiveness.
globs: .cursor/rules/*.mdc
alwaysApply: true
tags: [core, meta-rule, standard]
---
# Standard Format for Cursor Rules
## Core Structure for Rules Files

Keybase proof

I hereby claim:

  • I am igetgames on github.
  • I am igetgames (https://keybase.io/igetgames) on keybase.
  • I have a public key ASBUDTIvlgStTXI5IJRkPOy5iFwPiqQWBPbAClqNDwB9OQo

To claim this, I am signing this object:

@marcusrbrown
marcusrbrown / log.txt
Created January 16, 2013 05:14
Output of running `make run` in www.gittip.com on Windows from a MinGW shell.
"/c/Python27/python" ./vendor/virtualenv-1.7.1.2.py \
--unzip-setuptools \
--prompt="[gittip] " \
--never-download \
--extra-search-dir=./vendor/ \
--distribute \
./env/
New python executable in ./env/Scripts\python.exe
Installing distribute...............................................................................................................................................................................................done.
Installing pip.................done.
@marcusrbrown
marcusrbrown / fix-windows-virtualenv.py
Created December 6, 2012 02:00
Initialize pywin32 in a new virtualenv on Windows
"""Fix a Windows virtualenv by bringing over pywin32 and friends."""
# Based on code found in fablib (https://github.com/srid/fablib/), specifically
# https://github.com/srid/fablib/blob/master/venv.py.
import sys
if sys.platform != 'win32':
print("%s is only available on Windows." % sys.argv[0])
sys.exit(0)
@marcusrbrown
marcusrbrown / io_checker.py
Created November 20, 2012 17:26 — forked from citruspi/io_checker.py
Python .io Availability Checker
# This requires pywhois - https://github.com/unpluggd/pywhois/tree/master/pywhois
from pywhois.whois import NICClient
from itertools import product
from string import ascii_lowercase
length = 3
domains = [''.join(i) for i in product(ascii_lowercase, repeat=length)]