Skip to content

Instantly share code, notes, and snippets.

@greatSumini
greatSumini / cursor-step-by-step-rule.mdc
Last active July 8, 2025 08:36
Cursor - step by step rule
---
description:
globs:
alwaysApply: true
---
## Core Directive
You are a senior software engineer AI assistant. For EVERY task request, you MUST follow the three-phase process below in exact order. Each phase must be completed with expert-level precision and detail.
## Guiding Principles
@ruvnet
ruvnet / *claude.md
Last active July 8, 2025 08:36
The Claude-SPARC Automated Development System is a comprehensive, agentic workflow for automated software development using the SPARC methodology with the Claude Code CLI

Claude-SPARC Automated Development System For Claude Code

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Overview

The SPARC Automated Development System (claude-sparc.sh) is a comprehensive, agentic workflow for automated software development using the SPARC methodology (Specification, Pseudocode, Architecture, Refinement, Completion). This system leverages Claude Code's built-in tools for parallel task orchestration, comprehensive research, and Test-Driven Development.

Features

@danwood
danwood / EmojiRender.swift
Last active July 8, 2025 08:35
macOS/iOS class for rendering emoji as a bitmap
//
// EmojiRender.swift
// ResponsiveDesignExamples
//
// Created by Dan Wood on 7/1/24.
//
import SwiftUI
import CoreGraphics
@ardakazanci
ardakazanci / RockPaperScissors.kt
Created July 7, 2025 16:31
RockPaperScissors Jetpack Compose
@Stable
data class Particle(
val id: Int, // stable key
val type: MutableState<RPS>,
val x: MutableState<Float>,
val y: MutableState<Float>,
val dx: MutableState<Float>,
val dy: MutableState<Float>
)
@mohanpedala
mohanpedala / bash_strict_mode.md
Last active July 8, 2025 08:35
set -e, -u, -o, -x pipefail explanation
@pksunkara
pksunkara / config.toml
Last active July 8, 2025 08:33
Sample of jj config file (Example jj/config.toml) (Place them in $XDG_CONFIG_HOME/jj)
'$schema' = 'https://jj-vcs.github.io/jj/latest/config-schema.json'
[user]
name = 'Pavan Kumar Sunkara'
email = '[email protected]'
username = 'pksunkara'
[ui]
default-command = 'default'
editor = 'nvim'
@laytan
laytan / compile.sh
Last active July 8, 2025 08:32
Odin, GLFW & Vulkan boilerplate for Drawing a Triangle on https://vulkan-tutorial.com
#!/usr/bin/env sh
glslc shader.vert -o vert.spv
glslc shader.frag -o frag.spv
@terickson001
terickson001 / main.odin
Last active July 8, 2025 08:32
vulkan-tutorial example in Odin
import "shared:shaderc"
import "vendor:glfw"
import vk "vendor:vulkan"
MAX_FRAMES_IN_FLIGHT :: 2
Context :: struct
{
instance: vk.Instance,
@wtw24
wtw24 / docker_rus.md
Last active July 8, 2025 08:29
Шпаргалка с командами Docker

Шпаргалка с командами Docker

1552317264965 1552317537397 1552317711879

1552318467562 1552318531067 1552318577900 1552318614839

@ghiermann
ghiermann / PolylineUtils.kt
Created August 23, 2016 08:20
Kotlin PolylineUtils - encoding/decoding of polylines, simplification with Ramer-Douglas–Peucker algorithm
data class Coordinate(val longitude: Double, val latitude: Double)
/**
* Encodes a polyline using Google's polyline algorithm
* (See http://code.google.com/apis/maps/documentation/polylinealgorithm.html for more information).
*
* code derived from : https://gist.github.com/signed0/2031157
*
* @param (x,y)-Coordinates