Skip to content

Instantly share code, notes, and snippets.

View gfpaiva's full-sized avatar
🤓

Guilherme Paiva gfpaiva

🤓
View GitHub Profile
@DouglasAmarelo
DouglasAmarelo / prompt-notebooklm-extrair-conteudo-aula.md
Created August 5, 2025 09:44
Prompt - NotebookLM - Extrair conteúdo de aula

Analise o material disponibilizado e me retorne:

1. Título da Aula

  • Título: [Extraia ou infira o nome do módulo / Título geral]

2. Ideia Central (em até 280 caracteres)

Resuma o conceito mais crucial da aula em uma única frase concisa.

3. Descrição Geral

Forneça um parágrafo curto (3-4 frases) descrevendo o propósito da aula e os principais problemas que ela busca resolver.

@cassidoo
cassidoo / simple-react-recorder.jsx
Last active August 26, 2025 07:45
A simple React microphone component, recording audio and showing the blob in the browser, styled with Tailwind.
"use client";
import { useState, useEffect, useRef } from "react";
function SimpleRecordButton() {
const [isRecording, setIsRecording] = useState(false);
const [audioStream, setAudioStream] = useState(null);
const [mediaRecorder, setMediaRecorder] = useState(null);
const [audioBlob, setAudioBlob] = useState(null);
const [recordingTime, setRecordingTime] = useState(0);
const timerRef = useRef(null);
@max10rogerio
max10rogerio / yup.locale.pt-br.js
Last active May 10, 2024 17:02
Translation of the main messages from the Yup library into the Pt-Br language.
/* eslint-disable */
// For more infos, see: https://github.com/jquense/yup/blob/master/src/locale.js
import { setLocale } from 'yup'
const translation = {
mixed: {
default: '${path} é inválido',
required: '${path} é um campo obrigatório',
oneOf: '${path} deve ser um dos seguintes valores: ${values}',
notOneOf: '${path} não pode ser um dos seguintes valores: ${values}',