Skip to content

Instantly share code, notes, and snippets.

View rafael-neri's full-sized avatar
💻
Working from home

Rafael Neri rafael-neri

💻
Working from home
View GitHub Profile
@rafael-neri
rafael-neri / commands.sh
Last active December 29, 2022 18:21
Atomate run docker-composer in specific folder
# if using bash
echo 'export WORKRDIR="$HOME/my/workdir"' >> ~/.bashrc
# if using zsh
echo 'export WORKRDIR="$HOME/my/workdir"' >> ~/.zshrc
# download script
sudo curl https://bit.ly/3G9oEZk --output /bin/script
# permission
@rafael-neri
rafael-neri / noinspection.php
Created July 2, 2024 14:06 — forked from gskema/noinspection.php
PhpStorm @noinspection list of all tags
<?php
/** @noinspection ? */
// PhpUndefinedGotoLabelInspection Undefined goto label
// PhpUndefinedVariableInspection Undefined variable
// PhpUndefinedMethodInspection Undefined method
// PhpUndefinedNamespaceInspection Undefined namespace
// PhpUndefinedClassInspection Undefined class
// PhpUndefinedFunctionInspection Undefined function
@rafael-neri
rafael-neri / webview.md
Created December 22, 2025 13:08
Webview using golang

Using Golang

Golang alternative using webview (modern, simple and lightweigth).

Install

go get github.com/webview/webview

Sprint 2: Integração com API e Fluxo Assíncrono

O Novo Problema Gerador

O sistema da sprint01 já permite cadastrar, listar e remover clientes com persistência local. Porém, os usuários precisam digitar o endereço manualmente — o que é lento e propenso a erros. Além disso, quando o sistema está "processando", não há nenhum feedback visual, deixando o usuário confuso.

O objetivo deste sprint é evoluir o sistema para consumir dados de uma API externa, implementar feedback visual de carregamento e orquestrar o fluxo de cadastro com operações assíncronas usando Promises e async/await.