Skip to content

Instantly share code, notes, and snippets.

View lorcalhost's full-sized avatar
🌵

Lorenzo Callegari 乐子睿 lorcalhost

🌵
View GitHub Profile
@lcpz
lcpz / revolut-gma.bash
Last active August 4, 2023 17:04
Giacenza Media Annua for Revolut accounts
#!/bin/bash
# Compute the Giacenza Media Annua (GMA) of a Revolut account, required by the Italian INPS.
# Dependencies: awk, GNU date, getopts, xargs
# Computation method: https://bit.ly/3avDLu3
# Thread on Revolut forum: https://bit.ly/3511e5h
# Assumptions: