Skip to content

Instantly share code, notes, and snippets.

View mgaitan's full-sized avatar
πŸ› οΈ
devex

MartΓ­n GaitΓ‘n mgaitan

πŸ› οΈ
devex
View GitHub Profile
$ llm \
  --schema '{
    "type": "object",
    "properties": {
      "customer": {
        "type": "string",
        "description": "Nombre del cliente"
      },
      "items": {
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mgaitan
mgaitan / traductor_jeringozo.py
Created November 5, 2025 15:30
Este es un traductor jerigonzo en Python que hicimos con mi hija Ema, basado en su solucion del desafio de Pilas Bloques que ella implementΓ³
"""
Este es un traductor jerigonzo en Python que hicimos con mi hija Ema,
basado en su solucion del desafio de Pilas Bloques que ella implementΓ³
https://pilasbloques.program.ar/online/#/desafio/254
Ejemplo:
$ python traductor_jerigonzo.py papi te quiero mucho
papapipi tepe qupuipieperopo mupuchopo
@mgaitan
mgaitan / example.txt
Created October 31, 2025 20:42
zw example
# Nothing to see here β€‹β€Œβ€‹β€Œβ€‹β€Œβ€‹β€‹β€‹β€Œβ€Œβ€‹β€Œβ€‹β€‹β€‹β€‹β€Œβ€Œβ€‹β€‹β€Œβ€‹β€Œβ€‹β€Œβ€Œβ€Œβ€Œβ€‹β€‹β€Œβ€‹β€‹β€Œβ€‹β€‹β€‹β€‹β€‹β€‹β€Œβ€Œβ€‹β€‹β€‹β€‹β€Œβ€‹β€Œβ€Œβ€Œβ€‹β€‹β€Œβ€‹β€‹β€Œβ€Œβ€‹β€‹β€Œβ€‹β€Œβ€‹β€‹β€Œβ€‹β€‹β€‹β€‹β€‹β€‹β€Œβ€Œβ€‹β€‹β€Œβ€‹β€Œβ€‹β€Œβ€Œβ€‹β€‹β€‹β€‹β€Œβ€‹β€Œβ€Œβ€Œβ€‹β€Œβ€‹β€‹β€‹β€Œβ€Œβ€‹β€Œβ€‹β€‹β€Œβ€‹β€Œβ€Œβ€‹β€Œβ€Œβ€Œβ€‹β€‹β€Œβ€Œβ€‹β€‹β€Œβ€Œβ€Œβ€‹β€‹β€Œβ€‹β€‹β€‹β€‹β€‹β€‹β€Œβ€Œβ€Œβ€‹β€Œβ€‹β€‹β€‹β€Œβ€Œβ€‹β€Œβ€‹β€‹β€‹β€‹β€Œβ€Œβ€‹β€‹β€Œβ€‹β€Œβ€‹β€‹β€Œβ€‹β€‹β€‹β€‹β€‹β€‹β€Œβ€Œβ€‹β€‹β€Œβ€‹β€‹β€‹β€Œβ€Œβ€‹β€Œβ€Œβ€Œβ€Œβ€‹β€Œβ€Œβ€‹β€‹β€Œβ€Œβ€Œβ€‹β€Œβ€Œβ€Œβ€‹β€‹β€Œβ€Œ
But, damn, it sure is a catchy rhythm.
β€‹β€Œβ€‹β€Œβ€‹β€Œβ€‹β€‹β€‹β€Œβ€Œβ€‹β€Œβ€‹β€‹β€‹β€‹β€Œβ€Œβ€‹β€‹β€Œβ€‹β€Œβ€‹β€Œβ€Œβ€Œβ€Œβ€‹β€‹β€Œβ€‹β€‹β€Œβ€‹β€‹β€‹β€‹β€‹β€‹β€Œβ€Œβ€‹β€‹β€‹β€‹β€Œβ€‹β€Œβ€Œβ€Œβ€‹β€‹β€Œβ€‹β€‹β€Œβ€Œβ€‹β€‹β€Œβ€‹β€Œβ€‹β€‹β€Œβ€‹β€‹β€‹β€‹β€‹β€‹β€Œβ€Œβ€‹β€‹β€Œβ€‹β€Œβ€‹β€Œβ€Œβ€‹β€‹β€‹β€‹β€Œβ€‹β€Œβ€Œβ€Œβ€‹β€Œβ€‹β€‹β€‹β€Œβ€Œβ€‹β€Œβ€‹β€‹β€Œβ€‹β€Œβ€Œβ€‹β€Œβ€Œβ€Œβ€‹β€‹β€Œβ€Œβ€‹β€‹β€Œβ€Œβ€Œβ€‹β€‹β€Œβ€‹β€‹β€‹β€‹β€‹β€‹β€Œβ€Œβ€Œβ€‹β€Œβ€‹β€‹β€‹β€Œβ€Œβ€‹β€Œβ€‹β€‹β€‹β€‹β€Œβ€Œβ€‹β€‹β€Œβ€‹β€Œβ€‹β€‹β€Œβ€‹β€‹β€‹β€‹β€‹β€‹β€Œβ€Œβ€‹β€‹β€‹β€Œβ€Œβ€‹β€Œβ€Œβ€‹β€‹β€‹β€‹β€Œβ€‹β€Œβ€Œβ€Œβ€‹β€Œβ€‹β€‹β€‹β€Œβ€Œβ€Œβ€‹β€‹β€Œβ€Œ
@mgaitan
mgaitan / README.md
Last active October 3, 2025 17:04
Bot demo con python-telegram-bot

Bot de audio de Telegram

Este bot de demostraciΓ³n usa python-telegram-bot para ofrecer una interacciΓ³n sencilla con mensajes de audio.

CaracterΓ­sticas

  • Comando /start: responde con un saludo para confirmar que el bot estΓ‘ disponible.
  • Comando /audio: envΓ­a el archivo audio.mp3 ubicado junto a bot.py como un adjunto reproducible.
  • RecepciΓ³n de audio o notas de voz: cada vez que llega un mensaje de voz o un archivo de audio, el bot lo guarda en /tmp con un nombre que incluye el ID del chat, el ID del mensaje y el identificador ΓΊnico del archivo, y responde confirmando la operaciΓ³n.

Requisitos

# Nothing to see here β€‹β€Œβ€‹β€‹β€‹β€‹β€‹β€Œβ€‹β€Œβ€Œβ€‹β€Œβ€Œβ€‹β€‹β€‹β€Œβ€Œβ€Œβ€‹β€Œβ€‹β€‹β€‹β€Œβ€Œβ€‹β€‹β€‹β€‹β€Œβ€‹β€‹β€Œβ€‹β€‹β€‹β€‹β€‹β€‹β€Œβ€Œβ€‹β€‹β€‹β€Œβ€Œβ€‹β€Œβ€Œβ€‹β€Œβ€Œβ€Œβ€Œβ€‹β€Œβ€Œβ€‹β€Œβ€‹β€‹β€Œβ€‹β€Œβ€Œβ€‹β€Œβ€Œβ€‹β€Œβ€‹β€Œβ€Œβ€‹β€‹β€Œβ€‹β€Œβ€‹β€Œβ€Œβ€Œβ€‹β€‹β€Œβ€‹β€‹β€Œβ€Œβ€‹β€‹β€‹β€‹β€Œβ€‹β€‹β€Œβ€‹β€‹β€‹β€‹β€‹β€Œβ€Œβ€Œβ€Œβ€‹β€‹β€‹β€‹β€Œβ€‹β€‹β€Œβ€Œβ€Œβ€Œβ€Œβ€Œβ€‹β€‹β€‹β€Œβ€Œβ€Œβ€‹β€Œβ€‹β€Œβ€Œβ€‹β€Œβ€‹β€Œβ€‹β€‹β€Œβ€‹β€Œβ€Œβ€Œβ€‹β€‹β€‹β€Œβ€‹β€Œβ€Œβ€Œβ€‹β€‹β€‹β€Œβ€‹β€Œβ€Œβ€Œβ€‹
But, damn, it sure is a catchy rhythm.
β€‹β€Œβ€‹β€‹β€Œβ€‹β€Œβ€Œβ€‹β€Œβ€Œβ€‹β€‹β€‹β€‹β€Œβ€‹β€Œβ€Œβ€Œβ€‹β€‹β€Œβ€‹β€‹β€Œβ€Œβ€‹β€Œβ€‹β€‹β€Œβ€‹β€Œβ€Œβ€‹β€Œβ€Œβ€Œβ€‹β€‹β€Œβ€Œβ€‹β€‹β€‹β€‹β€Œβ€‹β€‹β€Œβ€‹β€‹β€‹β€‹β€‹β€‹β€Œβ€Œβ€‹β€‹β€Œβ€‹β€Œβ€‹β€Œβ€Œβ€Œβ€‹β€‹β€Œβ€Œβ€‹β€‹β€Œβ€‹β€‹β€‹β€‹β€‹β€‹β€Œβ€Œβ€‹β€‹β€‹β€‹β€Œβ€‹β€Œβ€Œβ€‹β€Œβ€Œβ€‹β€‹β€‹β€Œβ€Œβ€Œβ€‹β€Œβ€‹β€‹β€‹β€Œβ€Œβ€‹β€‹β€‹β€‹β€Œβ€‹β€‹β€Œβ€‹β€‹β€‹β€‹β€‹β€‹β€Œβ€Œβ€‹β€‹β€‹β€Œβ€Œβ€‹β€Œβ€Œβ€‹β€Œβ€Œβ€Œβ€Œβ€‹β€Œβ€Œβ€‹β€Œβ€‹β€‹β€Œβ€‹β€Œβ€Œβ€‹β€Œβ€Œβ€‹β€Œβ€‹β€Œβ€Œβ€‹β€‹β€Œβ€‹β€Œβ€‹β€Œβ€Œβ€Œβ€‹β€‹β€Œβ€‹β€‹β€Œβ€Œβ€‹β€‹β€‹β€‹β€Œ
@mgaitan
mgaitan / estafa_amazon.txt
Last active July 31, 2025 19:28
ESTAFA DE AMAZON . no me mandaron el producto y ahora sale mas caro
Chat de servicio al cliente
more
No hay mensajes anteriores
image alt text
Hola, estΓ‘s en el lugar adecuado para el servicio de atenciΓ³n al cliente.
Your Image
DEWALT 20V MAX Pruning Shears Garden Tool, Cordless, Bare Tool Only (DCPR320B)
ΒΏEs esto con lo que necesitas ayuda?
M
No, tengo un problema diferente
@mgaitan
mgaitan / autopep723_rocks.py
Created July 25, 2025 12:15
A demo script for autopep723 blog post. Look mom, just plain imports!
import httpx
from pyfiglet import Figlet
from rich.console import Console
from rich.text import Text
def gradient(text, start=(255, 0, 0), end=(0, 255, 255)):
lines = text.splitlines()
width = max(len(line) for line in lines)
grad = [(
import httpx
from pyfiglet import Figlet
from rich.console import Console
from rich.text import Text
def gradient(text, start=(255, 0, 0), end=(0, 255, 255)):
lines = text.splitlines()
width = max(len(line) for line in lines)
grad = [(