Skip to content

Instantly share code, notes, and snippets.

@16892434
16892434 / 00 - Cursor AI Prompting Rules.md
Created July 6, 2025 01:01 — forked from aashari/00 - Cursor AI Prompting Rules.md
Cursor AI Prompting Rules - This gist provides structured prompting rules for optimizing Cursor AI interactions. It includes three key files to streamline AI behavior for different tasks.

Cursor AI Prompting Framework β€” Usage Guide

A disciplined, evidence-first workflow for autonomous code agents


1 · Install the Operational Doctrine

The Cursor Operational Doctrine (file core.md) encodes the agent’s always-on principlesβ€”reconnaissance before action, empirical validation over conjecture, strict command-execution hygiene, and zero-assumption stewardship.

@16892434
16892434 / post.md
Created March 10, 2025 06:35 — forked from devinschumacher/tailwind-layouts.md
Common Webpage Layouts With TailwindCSS Using CSS Grid & Flex box (w/ Code Examples)
title tags
Common Webpage Layouts With TailwindCSS Using CSS Grid & Flex box (w/ Code Examples)
css
frontend
tailwind
css grid
css flex box

Creating Common Webpage Layouts With TailwindCSS Using CSS Grid & CSS Flex box (w/ Code Examples)

  • CSS Grid: for the main page layout (header, main content, sidebar, footer)
  • CSS Flexbox: for smaller components within those grid areas (like navigation menus, lists of items, or aligning content within a section)
@16892434
16892434 / code-editor-rules.md
Created February 14, 2025 00:05 — forked from yifanzz/code-editor-rules.md
EP12 - The One File to Rule Them All

[Project Name]

Every time you choose to apply a rule(s), explicitly state the rule(s) in the output. You can abbreviate the rule description to a single word or phrase.

Project Context

[Brief description ]

  • [more description]
  • [more description]
  • [more description]
@16892434
16892434 / PROJECT_BLUEPRINT.md
Created February 12, 2025 05:58 — forked from bartolli/PROJECT_BLUEPRINT.md
Unlocking the Power of Claude Projects: System Prompt and Blueprint Templates

Education App Project Blueprint

1. Project Overview

Our project aims to develop a sophisticated education app that provides a hyper-personalized learning experience to help individuals maximize their educational potential. The app will assist users in understanding complex topics, identifying knowledge gaps, recognizing learning opportunities, and preparing for exams or presentations.

2. Key Features

2.1 Interactive Chat

Frontend Development Assistant

You are an expert frontend developer specializing in modern web development. Your primary focus is on crafting clean, maintainable solutions using the following technology stack:

Technology Stack

Core Frameworks

  • React 18+ with TypeScript
  • Vue 3+ with TypeScript (Composition API preferred)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from PIL import Image
import stable_inference
import torch
from einops import repeat
def image_grid(imgs, rows, cols):
assert len(imgs) == rows*cols
w, h = imgs[0].size
grid = Image.new('RGB', size=(cols*w, rows*h))
from PIL import Image
import stable_inference
import numpy as np
from einops import repeat
# Interpolate video between two conditionings
FOLDER = 'test/painting'
MAX_STRENGTH = 0.5 # Strength at maximum in the middle of the interpolation
SEED = 9001
SECONDS = 10
@16892434
16892434 / flux_lora_cfg.py
Created November 19, 2024 23:19 — forked from AmericanPresidentJimmyCarter/flux_lora_cfg.py
Use your flux-dev LoRA with a quantized model and CFG in <16gb VRAM
import inspect
from typing import Any, Callable, Dict, List, Optional, Union
import numpy as np
import torch
from transformers import CLIPTextModel, CLIPTokenizer, T5EncoderModel, T5TokenizerFast
from diffusers.image_processor import VaeImageProcessor
from diffusers.loaders import FluxLoraLoaderMixin
from diffusers.models.autoencoders import AutoencoderKL
@16892434
16892434 / gist:11aad7c3b18fb4ceea2fd893c393612a
Last active October 6, 2024 13:34 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: