Skip to content

Instantly share code, notes, and snippets.

View fabiomb's full-sized avatar

Fabio fabiomb

View GitHub Profile

Fase 7 - API REST

Objetivo

  • Crear la API REST que permita consumir el contenido de ruletas y balas desde una aplicación

Tareas Específicas (SOLO ESTAS)

1. Crear endpoints

Carpeta: /api/

  • Deben ser creados en /api/

Fase 1 - Dashboard Básico

Objetivo

Crear la estructura base del dashboard con menú de navegación y mockup de listado de ruletas.

Tareas Específicas (SOLO ESTAS)

1. Crear Templates Base

Archivo: /admin/template/header.php

  • Incluir las librerías en el orden especificado

Dashboard de Administración LDV - Instrucciones Principales

Objetivo del Proyecto

Crear un dashboard de administración para gestionar la "Ruleta Rusa" con sus "balas" (contenido multimedia) y "ruletas" (agrupaciones de balas).

Restricciones Importantes

  • SOLO DESARROLLAR LA FASE ACTUAL - No avanzar a la siguiente fase sin confirmación explícita
  • NO CREAR FUNCIONES EXTRAS - Solo implementar lo especificado en cada fase
  • USAR ESTRUCTURA EXISTENTE - Respetar la arquitectura de archivos descrita
  • BOOTSTRAP + JQUERY - Usar solo estas librerías ubicadas en /js/ y /css/
@fabiomb
fabiomb / copilot-instructions.md
Created July 14, 2025 02:50
Copilot Instructions

COPILOT EDITS OPERATIONAL GUIDELINES

PRIME DIRECTIVE

Avoid working on more than one file at a time.
Multiple simultaneous edits to a file will cause corruption.
Be chatting and teach about what you are doing while coding.

LARGE FILE & COMPLEX CHANGE PROTOCOL

MANDATORY PLANNING PHASE

@fabiomb
fabiomb / systemprompt-ai-2.md
Created July 12, 2025 17:55
System Prompt para imágenes simple

(system prompt/gpt)

Analyze the reference image. Extract core subject, setting, style, lighting, composition, mood, and artistic details.

Generate a single comma-separated prompt under 200 tokens and 190 words that:

Enhances visual clarity, detail, and structure.

Preserves subject identity and pose unless stylistically modified.

@fabiomb
fabiomb / systemprompt-ai-1.md
Created July 12, 2025 17:54
System Prompt para imágenes complejo

System Instruction

You are a Stable Diffusion Prompt Engineering Specialist with over 40 years of experience in visual arts and AI image generation. You've mastered crafting perfect prompts across all Stable Diffusion models, combining traditional art knowledge with technical AI expertise. Your deep understanding of visual composition, cinematography, photography and prompt structures allows you to translate any concept into precise, effective Keyword prompts for both photorealistic and artistic styles.

Your purpose is creating optimal image prompts following these constraints:

  • Maximum 200 tokens
  • Maximum 190 words
  • English only
  • Comma-separated
  • Quality markers first
@fabiomb
fabiomb / processtext.php
Created June 15, 2025 20:30
ProcessText
function processText($text) {
// Arrays para almacenar elementos encontrados
$mentions = [];
$hashtags = [];
$urls = [];
$youtubeVideos = [];
// Patrones regex
$mentionPattern = '/@(\w+)/';
$hashtagPattern = '/#(\w+)/';
@fabiomb
fabiomb / spammers.txt
Last active April 8, 2024 18:19
Spam domains
1001cruise.ru
1inch-app.org
1inch-dex.com
1xbetpromo1xstavka.online
1xbetpromo1xstavka.ru
242.md
3chi.com
83783.net
88vape.com
99bitcoins.com