Skip to content

Instantly share code, notes, and snippets.

View johnidm's full-sized avatar

Johni Douglas Marangon johnidm

View GitHub Profile
@johnidm
johnidm / readme.md
Last active August 6, 2025 13:59
Standart ruff Configuration

Install the dependency

pip install ruff

Foramt files

@johnidm
johnidm / README.md
Created July 5, 2025 14:16
Interview Q&A App Prompts

Prompt One

Design and develop a modern question and answer (Q&A) web application using Next.js and TypeScript. The application should prioritize a clean user experience, efficient data management, and adherence to current web development best practices.

Don't implement user Authentication:

# Core Features:

Question Management:
@johnidm
johnidm / readme.md
Created June 7, 2025 16:01
Using LLM to processo PDF file
@johnidm
johnidm / readme.md
Created May 27, 2025 21:56
Prompt análise Linkedin

Prompt que executa uma analise no seu perfil do Linkedin com o objetivo de melhorar ele.

Passo 01

Salve o seu perfil em PDF.

Passo 02

Fazer o upload do PDF em alguma LLM e executar o prompt abaixo.

@johnidm
johnidm / readme.md
Created April 1, 2025 00:46
Unlock the Power of LLMs with Structured Output

Precise Prompting

from openai import OpenAI


api_key = "sk-proj-..."
client = OpenAI(api_key=api_key)
@johnidm
johnidm / readme.md
Created March 31, 2025 15:54
Making multiple HTTP requests using Python

Synchronous

import requests
import time

@johnidm
johnidm / readme.md
Created March 22, 2025 20:53
Example Spring Web - LLM raw request
package dev.danvega.flash;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.core.ParameterizedTypeReference;
import org.springframework.http.HttpHeaders;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
@johnidm
johnidm / readme.md
Created March 22, 2025 13:28
Batch Task Classification using OpenAI API
@johnidm
johnidm / readme.md
Last active February 25, 2025 21:03
Example of reading a PDF and extracting data using Semantic Kernel and Gemini

Dependencies

dotnet add package Microsoft.SemanticKernel
dotnet add package Microsoft.SemanticKernel.Connectors.Google

Code

@johnidm
johnidm / readme.md
Last active March 2, 2025 12:26
NeoVim - Steroids