rfbatista.github.io pt-br · en

rfbatista

Sou o Renan Donato, engenheiro de software no Brasil. Escrevo sobre sistemas, Go e inferência de LLMs — e mantenho aqui o diário de um projeto pessoal: um assistente de voz totalmente local, em português.

Índice Geral

4 artigos catalogados desde 2023

2023

01
1 dollar side project Pt. 1 - Lightsail configuration

Some context I have been using AWS lightsail services for my personal projects for some months now, and it proved to me to be quite powerful and cheap. There is a lot of options for backend-as-a-service, database-as-a-service, or whatever-as-a-service, but, or it make you really dependent on that provider (make it hard to change afterwards) or it became too expensive. In my side projects the most important thing for me is the complete control of what is going on in my services.

02
Quick tip: Find and replace with Neovim

In this article, I’ll guide you through replacing a word across multiple files using Neovim. We’ll use the Telescope plugin for searching and the quickfix list for applying changes efficiently. Step 1: Search with Telescope First, use :Telescope live_grep to search for the word or pattern you want to replace. Step 2: Send Results to the Quickfix List Once you have your search results, send them to the quickfix list by pressing Ctrl + q.

2024

01
Understanding and Validating JWT Tokens with AWS Cognito

A JWT (JSON Web Token) is composed of three parts: Header Payload Signature To validate a JWT issued by AWS Cognito, you first need to download the JSON Web Key Set (JWKS), which contains the public keys used to verify the token’s signature. You can obtain the JWKS from the following URL: https://cognito-idp.<Region>.amazonaws.com/<userPoolId>/.well-known/jwks.json Verifying the Token To simplify the process of verifying a JWT, you can use the jwx library, which handles the token parsing and validation.

2025

01
Installing tp-link ac 600 driver in arch linux

First install dkms and linux-headers then restart. Then from the AUR install rtl8821au-dkms-git then restart If you’ve recently purchased a TP-Link AC600 wireless adapter and are trying to get it working on Arch Linux, you’ll need to install the appropriate drivers. Here’s a step-by-step guide to setting it up. Prerequisites Before installing the driver, make sure you have dkms and linux-headers installed. These are essential for compiling and managing kernel modules.