Skip to content

Instantly share code, notes, and snippets.

@oldlastman
oldlastman / Prompt2.md
Created December 3, 2025 10:01
Ugly christmass sweters

Professional product photography composite layout showing three distinct views of a handmade Ugly Christmas Sweater.

  1. Main Image (Left): A full flat-lay view of the sweater on a clean background. The sweater is [COLOR_PRINCIPAL], featuring a rich, intricate, and somewhat chaotic [PATRON_REPETIDO_COMPLETO] design that covers the majority of the sweater, reminiscent of a traditional "Fair Isle" or jacquard knit, interspersed with the main text "[TEXTO_PRINCIPAL_SWEATER]". The pattern elements are scattered and repeated across the fabric, not strictly confined to horizontal bands. The fabric looks chunky, hand-knitted, with visible loose threads and intentional charming imperfections.

  2. Detail Insert (Top Right): A zoomed-in macro shot focusing on a section of the [PATRON_REPETIDO_COMPLETO] design, without any additional text. Highlighting the messy stitching, irregular embroidery, and bold graphical elements.

  3. Texture Insert (Bottom Right): Extreme close-up of the wool fabric. Showcasing the fuzz, co

@oldlastman
oldlastman / prompt-variables.md
Created December 2, 2025 18:24
ciudad pixel art por capas

An isometric illustration depicting the layered evolution of [CITY_NAME], from [ORIGIN_TYPE] to [FUTURE_STATUS], stacked vertically from bottom to top.

The bottom layer, labeled "[ERA_1_LABEL]" and "[ERA_1_LABEL_NATIVE]", shows [ERA_1_VISUALS: e.g., a serene ancient settlement, specific geography, traditional housing materials, period clothing, daily activities].

Above this, the second layer, labeled "[ERA_2_LABEL]" and "[ERA_2_LABEL_NATIVE]", portrays [ERA_2_VISUALS: e.g., colonial or pre-modern era, transition architecture, introduction of early technology like steam or electricity, specific cultural fusion elements].

The third layer, labeled "[ERA_3_LABEL]" and "[ERA_3_LABEL_NATIVE]", represents [ERA_3_VISUALS: e.g., industrial boom, heavy infrastructure, factories, mid-century iconic buildings, dense traffic, specific bridges or landmarks].

The topmost layer, labeled "[ERA_4_LABEL]" and "[ERA_4_LABEL_NATIVE]", showcases [ERA_4_VISUALS: e.g., a futuristic metropolis, iconic modern skyscrapers, advanced

@oldlastman
oldlastman / Video llamada
Created November 29, 2025 13:02
Prompt de vídeo llamada
# Plantilla de Prompt: POV Videollamada Fotorealista (Formato Vertical)
**Descripción General:** Una fotografía vertical (retrato) en primera persona (POV), ultra-detallada y fotorealista en calidad 8K, de una persona sosteniendo un smartphone moderno en posición vertical durante una videollamada activa.
**Primer Plano (La Mano y el Teléfono):**
Una sola mano sostiene firmemente el smartphone vertical con pantalla de vidrio brillante. La iluminación natural resalta la textura de la piel, las uñas y los detalles del entorno inmediato. (La otra mano de esta persona está fuera de plano).
* **[VARIABLE 1: Descripción de la PERSONA QUE HACE LA LLAMADA (POV)]**: *(Describe aquí la mano visible y la persona, e.g., mano de un hombre adulto con piel morena y puño de camisa de lino azul; mujer joven con uñas pintadas de rojo y manga de suéter de lana. Esta descripción debe coincidir con la persona en la miniatura)*.
**La Pantalla del Teléfono (Interfaz FaceTime Vertical):**
La pantalla muestra una videollamada en cu
{
"prompt_configuration": {
"style_name": "High-Contrast Neo-Grunge Risograph",
"aesthetic_core": [
"Punk zine culture",
"Streetwear graphic design",
"Lo-fi photocopy art",
"Japanese brutalist typography",
"Surrealist collage"
]
Adapta para xxxx y crea la imagen
{
"prompt_configuration": {
"style_identifier": "GLOBAL_STYLE_FELT_FUZZ_TOY_V2",
"target_output": "High-fidelity 3D render, macro photography style, emphasizing tactile fabric textures.",
"rendering_aesthetic": "Octane Render / Cinema 4D stylized plush toy."
},
"fixed_visual_elements": {
"COMMENT": "These elements define the style and MUST NOT be changed between characters to maintain consistency.",
"medium_and_texture": {
Use the uploaded photo.
Do NOT alter the person’s real appearance — keep the person’s face, body, clothing, colors, and texture completely photorealistic.
Do NOT change the background perspective.
Do NOT turn the person into a drawing or illustration.
Add a dense, overloaded layer of pop-style illustrated “sweets monsters” and graphic decorations ONLY around the person (and on top of their clothing if needed), but never on their skin or face.

ESTRUCTURA DEL EDIFICIO

Es esencial utilizar la estructura del edificio y la sección transversal de la imagen de ejemplo para crear la imagen solicitada.

IDIOMA DE SALIDA DE LOS TEXTOS EN LAS VIÑETAS

Español

PROMPT DE DISEÑO: "13, RUE DE LA IA" - HOMENAJE A IBÁÑEZ

1. ESTILO VISUAL Y ATMÓSFERA

  • Perspectiva: Corte transversal arquitectónico total (sin fachada). Visión frontal plana de todas las habitaciones a la vez.
@oldlastman
oldlastman / gist:d4b731de20b66bd2782cba6994b719b9
Last active November 20, 2025 08:35
Prompt D&D profile generator
Actúa como un Dungeon Master experto en Advanced Dungeons & Dragons (1ª Edición, años 80) y, simultáneamente, como un investigador OSINT (Open Source Intelligence) de élite.
OBJETIVO PRINCIPAL:
Crear una ficha de personaje basada EXCLUSIVAMENTE en datos reales y verificables del siguiente objetivo: "[INSERTA AQUÍ EL NOMBRE O NICK]".
⚠️ REGLA DE ORO: NO ALUCINES NI INVENTES DATOS BIOGRÁFICOS.
Debes utilizar obligatoriamente tus herramientas de búsqueda web. Si tras una búsqueda exhaustiva no encuentras información suficiente, detente y solicita al usuario un enlace (LinkedIn, Twitter, Web personal) o más contexto. No procedas a la creación del personaje con datos inventados.
@oldlastman
oldlastman / webp2svg64x64.py
Created June 21, 2024 12:10
Convertir webp en svg estilo pixelart
from PIL import Image
import svgwrite
# Load the new image
print("Loading the new image (img.webp)...")
input_path_sol = "./img.webp"
# Open the image with PIL
image_sol = Image.open(input_path_sol).convert("RGBA")
@oldlastman
oldlastman / import-user-courses-function.php
Last active April 29, 2022 17:45
WordPress learndash import user courses
<?php
/*
* La función se ha creado y probado para el importador WP all import versión pro
* requiere el addon de usuarios
* requiere que en csv exista una columna llamada "cursos"
* esta columna debe contener los ids de los cursos que se le van a asignar al usuario separados por comas (ejemplo: 3747,2671 )
* para utilizarla en la pantalla de selección "drag and drop" se añade el código al bloque "function editor"
* y nada mas... no he testeado si es necesario eliminar la importación ya que al hacer uso del hook pxi_saved_post podría seguir afectando
* al comportamiento normal.