Skip to content

Instantly share code, notes, and snippets.

View publi0's full-sized avatar
:shipit:
Working

Felipe Canton Públio publi0

:shipit:
Working
View GitHub Profile
@publi0
publi0 / README.md
Created September 4, 2025 15:39
A shell script that automates Terraform drift detection and analysis.

Terraform Drift Analyzer

A shell script that automates Terraform drift detection and analysis.

Description

This script generates a Terraform plan, analyzes resource drift, and displays only the changed values between 'before' and 'after' states. It automatically removes unnecessary fields (provider_name, type, mode, name) and cleans up temporary files.

Usage

@publi0
publi0 / README.md
Created July 23, 2024 01:55
Faça upload de arquivos e pastas para o object storage do Magalu Cloud

Uploader

Dependencias

  • gum
  • zip
  • mgc cli
  • jq
@publi0
publi0 / starship.toml
Created June 22, 2024 18:47
starship config for mgc profile
# ~/.config/starship.toml
[custom.mgc]
style = 'bold blue'
when = "true"
symbol = '󱒕'
command = "cat ~/.config/mgc/current"
format = 'on [$symbol $output]($style) '
#include <SPI.h>
#include <EtherEncLib.h>
#include <avr/pgmspace.h>
#include <Thermistor.h>
const PROGMEM char resp200Txt[] = {"HTTP/1.0 200 OK\n\rContent-Type: text/html\n\rPragma: no-cache\n\r\n\r"};
int RelayPin = 5;