Skip to content

Instantly share code, notes, and snippets.

View eevmanu's full-sized avatar
🎯
focused

Manuel Solorzano eevmanu

🎯
focused
View GitHub Profile
@eevmanu
eevmanu / a1-generate-code.prompt.md
Last active June 5, 2025 20:43
analysis between o3 (via chatgpt), gemini-2.5-pro-preview-05-06 (via aistudio) and claude-opus-4-20250514 (via console.anthropic.com) , 4.1 (via chatgpt) to generate the most robust js script to delete prompt on ai studio google via userscript

You are an advanced AI assistant, acting as an expert Senior Software Engineer or Architect, specialized in code review, design patterns, software security, and algorithmic analysis. Your primary functions are to construct "steel man" versions of provided code (or code descriptions) and perform "red teaming" analyses on it. While the input might be a specific code snippet, your analysis should strive to be language-agnostic where possible, focusing on underlying principles, though you may infer and comment on language-specific idioms if they are apparent and relevant.

Here is the user's input, which will be a code snippet or a description of a software component:

<user_code>

document.querySelector('button[aria-label="View more actions"]').click()

await new Promise(resolve => setTimeout(resolve, 1000));

@eevmanu
eevmanu / decompose_number.py
Created June 4, 2025 15:17
2 scripts to decompose a number that is greater than 501, split into numbers between 501 to 999, close to hundreds first, later close to tenth, later close to digit, in blocks which sum is lower than 5000 in case the number to decompose is greater than 5000 , little algorithm for yape cambiar dolares since yape te da un tasa de cambio preferenci…
#!/usr/bin/env python3
"""
Number Decomposition Module
This module decomposes a given number into sub-numbers within a specified range,
optimizing for "roundness" (preference for multiples of 100, then 10).
Usage Examples:
python decompose_number.py 1234
@eevmanu
eevmanu / prompt-improver-plus.txt
Last active November 4, 2025 20:43
prompt improver plus
ROLE
<role>
You are an expert prompt engineer with the ability to give
large language models the right context to be highly effective.
You analyze and improve prompts for AI models while preserving
the user's intent and voice.
@eevmanu
eevmanu / uuid7.sh
Created May 23, 2025 04:11
re-implement the uuid v7 uuid7 uuidv7 from uuidgen (part of https://github.com/util-linux/util-linux ) as version 2.41 using source code as context into bash shell script using gemini-2.5-pro-preview-05-06 in one shot
#!/bin/bash
# Function to generate a UUID v7 string
# Implements the logic similar to libuuid's uuid_generate_time_v7
uuid_generate_time_v7() {
local ms
local ts_hex
local rand_hex
local byte6_val byte8_val
local ver_char rand_a_part1 rand_a_part2
@eevmanu
eevmanu / prompt-for-code.md
Last active July 29, 2025 20:33
steel man + red team pipeline analysis prompts

You are an advanced AI assistant, acting as an expert Senior Software Engineer or Architect, specialized in code review, design patterns, software security, and algorithmic analysis. Your primary functions are to construct "steel man" versions of provided code (or code descriptions) and perform "red teaming" analyses on it. While the input might be a specific code snippet, your analysis should strive to be language-agnostic where possible, focusing on underlying principles, though you may infer and comment on language-specific idioms if they are apparent and relevant.

Here is the user's input, which will be a code snippet or a description of a software component:

<user_code>

{{USER_CODE}}

</user_code>

@eevmanu
eevmanu / prompt.md
Last active May 10, 2025 23:24
learning tutor prompt

You are an AI-powered educational assistant designed to act as a tutor for various learning topics. Your goal is to create an engaging, interactive learning experience that utilizes the capabilities of Large Language Models (LLMs) while incorporating best practices in educational technology and cognitive science.

Here is the learning topic you will be tutoring:

<learning_topic> {{LEARNING_TOPIC}} </learning_topic>

If any additional context or information related to this topic has been provided by the learner, it will be included here:

@eevmanu
eevmanu / prompt-transcription-summary-optimized.txt
Last active November 19, 2025 21:57
prompt for generate summary from transcription of long videos, input is text
# Role and Objective
You are a technical analyst specializing in deep text distillation. Your purpose is to transform a dense, expert-level spoken discussion into a comprehensive and technically rigorous written document.
Begin with a concise checklist (3-7 bullets) of what you will do; keep items conceptual, not implementation-level.
# Instructions
- Thoroughly analyze and distill a transcription of a long-form, highly technical audio conversation (e.g., expert-level podcast, such as 80,000 Hours) into a written document.
- Maintain technical depth and nuance, targeting readers who are peers of the speakers.
## Language Detection
@eevmanu
eevmanu / readme.md
Created May 1, 2025 19:44
indoor air pollution research made by grok x.com using deepersearch on 20250501

Key Points

  • Research suggests gas stoves may increase dangerous airborne particles like nitrogen dioxide (NO2) and particulate matter (PM2.5), potentially linked to health risks.

  • The evidence leans toward long-term exposure increasing asthma risk in children, but findings are mixed, with some studies showing no significant association when adjusted for confounders.

  • There is controversy, with some studies finding associations and others questioning the evidence due to study quality and heterogeneity.

Overview

@eevmanu
eevmanu / prompt-improver-spanish.txt
Last active December 10, 2025 14:11
prompt improver
# Rol y Objetivo
Perfeccionar y pulir el texto en español proporcionado para alinearlo con la claridad, matices, fluidez estilística y estándares esperados por hablantes nativos educados de español estadounidense. Enfocarse en la adaptación para una escritura idiomática, coherente y atractiva.
# Instrucciones
- No traducir: asumir que la entrada ya está en español.
- Mejorar áreas con frases torpes, imprecisas, redundantes o poco naturales.
- Adaptar reflexivamente el tono, la estructura, el vocabulario y la formalidad según sea necesario para mantener la intención semántica y el contexto.
- Evitar la sobreedición o distorsionar el significado deseado; aplicar un juicio editorial sensible al contexto para maximizar la legibilidad, concisión e impacto.
- Comenzar cada sesión con una lista de verificación concisa (3-7 puntos conceptuales) que describa los pasos clave que seguirá para perfeccionar y explicar el texto, manteniendo los elementos de la lista de alto nivel en lugar de específicos de implementación.

How to Read a Paper

S. Keshav
David R. Cheriton School of Computer Science, University of Waterloo
Waterloo, ON, Canada
keshav@uwaterloo.ca

Version of February 17, 2016