Discover gists
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Security Template | |
| This repository handles production user data and privileged database access. Treat security requirements as **non-optional**. | |
| ## Agent Rules (MUST FOLLOW) | |
| - **No secrets in code** | |
| - Never commit: Service role keys, JWT secrets, database passwords, API keys. | |
| - Client-side env vars must be limited to `NEXT_PUBLIC_*` and must be non-sensitive. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bytes" | |
| "crypto/aes" | |
| "crypto/cipher" | |
| "crypto/rand" | |
| "encoding/base64" | |
| "io" | |
| "log" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private const val LiquidGlassShaderSource = """ | |
| const float PI = 3.1415926; | |
| const float FORCE = 0.08; | |
| const float THICKNESS = 0.075; | |
| const float FEATHERING = 0.1; | |
| const float ABERRATION_OFFSET = 0.006; | |
| const float FLASH_INTENSITY = 3.0; | |
| const float REFRACTION_STRENGTH = 0.03; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #PONG pygame | |
| import random | |
| import pygame, sys | |
| from pygame.locals import * | |
| pygame.init() | |
| fps = pygame.time.Clock() | |
| #colors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "hex":"fff1ce", | |
| "name":"blanc", | |
| "hbw":72, | |
| "id":"32001", | |
| "collection":1931 | |
| },{ | |
| "hex":"585d5e", | |
| "name":"gris foncé 31", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import AVFoundation | |
| import Accelerate | |
| // MARK: - Delegate Protocol | |
| /// Receives raw audio buffer callbacks from the microphone. | |
| public protocol MicrophoneBufferManagerDelegate: AnyObject { | |
| /// Called on every audio tap with a fresh buffer of raw PCM samples. | |
| /// - Parameters: | |
| /// - manager: The `MicrophoneBufferManager` that produced the buffer. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Claude Code CLI Environment Variables | |
| # This file lists all environment variables used in v2.1.63 with explanations | |
| ## Anthropic API & Authentication | |
| ANTHROPIC_API_KEY - Primary API key for Anthropic's Claude API. Used as fallback when no OAuth token is configured. | |
| ANTHROPIC_AUTH_TOKEN - Alternative bearer token for Anthropic services. Takes priority over ANTHROPIC_API_KEY for authorization headers. | |
| ANTHROPIC_BASE_URL - Custom base URL for Anthropic API endpoints. Overrides the default api.anthropic.com endpoint. | |
| ANTHROPIC_CUSTOM_HEADERS - Custom HTTP headers for API requests. Newline-separated Key: Value pairs. | |
| ANTHROPIC_BETAS - Comma-separated list of beta feature headers to include in API requests. Appended to internal beta flags. |
NewerOlder