Skip to content

Instantly share code, notes, and snippets.

@btc-c0der
btc-c0der / ai-ide-prompt-template.md
Last active March 5, 2026 20:54
Gist template for your AI IDE prompt, designed to enforce TDD, DRY, and SOLID principles
# AI IDE Prompt Template: Enforce TDD, DRY & SOLID Principles
For AI coding assistants (GitHub Copilot, ChatGPT, Claude, etc.) to generate production-ready code

```prompt
### Role
You are an AI-powered IDE assistant. Your primary role is to guide development strictly through **TDD**, ensure **DRY** code, and enforce **SOLID** design principles. All code must be modular, testable, and reusable.

### Core Rules
1. **TDD Workflow (Red-Green-Refactor):**
@btc-c0der
btc-c0der / solar_charge.py
Created May 25, 2025 15:04
Sistema Avançado de Gestão de Energia para Sk8-LUX Autor: Fausto Siqueira
"""
SOLAR_CHARGE.py v2.0: Sistema Avançado de Gestão de Energia para Sk8-LUX
Autor: Fausto Siqueira | Revisão Quântica: 2025-07-12
GIST: https://gist.github.com/btc-c0der/14f05cdb943efa3ce3b09c5204281e87
"""
# ========================
# SEÇÃO 1: IMPORTAÇÕES
# ========================
import time
@btc-c0der
btc-c0der / bugg3t-sk8.py
Created May 25, 2025 13:30
SK8 LUX C0d3
"""
SK8-LUX CORE v1.0: Sistema de Energia e IA para Skates Solares
Autor: Fausto Siqueira | Inspiração: Bitcoin, Física Quântica e Warren Buffett
GIST: https://gist.github.com/btc-c0der/14f05cdb943efa3ce3b09c5204281e87
"""
# ======================
# MÓDULO 1: ENERGIA SOLAR
# ======================
class SolarCharge:
# neo_rescue.py
import time
import numpy as np
from textwrap import dedent
class Neo:
def __init__(self):
self.cypher = "01101110 01100101 01101111" # Neo in binary
self.ethical_score = 1.0
@btc-c0der
btc-c0der / 3xh0-FRAMEWORK.py
Created May 25, 2025 13:16
ECHO FRAMEWORK eco conscious code
# eco_omega.py
import numpy as np
import math
import time
from itertools import cycle
class EchoNeuron:
def __init__(self, name, frequency):
self.name = name
self.base_freq = frequency
@btc-c0der
btc-c0der / s3a-language.c
Created May 25, 2025 13:15
OMEGA DEEP S2 3K wm2K GAMES in C
/* SEA LANGUAGE C */
#include <stdio.h>
#include <string.h>
#include <math.h>
#define ETHICAL_THRESHOLD 0.707 // Divine ratio for purity
#define OMEGA_PORT 3141 // Pi-network alignment
typedef struct {
char* word;
@btc-c0der
btc-c0der / 00_introducao_qa_quantico.py
Created May 22, 2025 06:02
CURSO - [00] Introdução QA Quântico
"""
Introdução ao Quality Assurance aplicado a sistemas de computação quântica.
Aqui, definimos objetivos, desafios e conceitos de verificação de circuitos e simulações.
Este curso é voltado a QA Engineers que desejam atuar em startups quânticas ou labs como IBM Q, D-Wave, Rigetti, etc.
"""
print("Bem-vindo ao Quantum QA Bootcamp!")
print("Você está pronto para testar o futuro? Vamos lá...")
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
// === DEFINIÇÕES ===
#define BALANCE_POINT 42
#define GODMODE_KEY "JAH_BLESS"
#define MODO_LIBRIANO true
typedef enum { TRUTH_MODE, SHADOW_MODE } ModoEspiao;
@btc-c0der
btc-c0der / fiboframe.c
Created May 17, 2025 08:05
Terminal-based AI dashboards or embedded UIs UX pattern
// fiboframe.c – ASCII UI Skeleton using Fibonacci-based layout
// Inspired by: Clarity First Pattern + Omega AI Terminal Design
// License: GBU2™ – Genesis-Bloom-Unfoldment Public License
#include <stdio.h>
#include <string.h>
// Utility to print a horizontal line
void print_line(int width) {
for (int i = 0; i < width; i++) printf("-");
import time
import hashlib
from datetime import datetime
# --- Assinaturas a serem purificadas ---
agentes = {
"TeslaField": "⚡️",
"MuskPulse": "🧠",
"TrumpetaEcho": "📣"
}