Skip to content

Instantly share code, notes, and snippets.

View dncgst's full-sized avatar
:octocat:
Working from Rome

Domenico Giusti dncgst

:octocat:
Working from Rome
View GitHub Profile
@dncgst
dncgst / revolut-gma.bash
Created June 20, 2022 19:59 — forked from lcpz/revolut-gma.bash
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:
@dncgst
dncgst / rgdal_install.md
Last active February 8, 2024 13:45
How to install the rgdal R package

How to install the rgdal R package

> install.packages("rgdal")

  • installing source package ‘rgdal’ ... configure: error: gdal-config not found or not executable.

The packages libgdal-dev and libproj-dev are required:

sudo apt-get install gdal-bin proj-bin libgdal-dev libproj-dev

@dncgst
dncgst / heR.Misc_install.md
Last active December 14, 2020 17:48
How to install the heR.Misc R package

How to install the heR.Misc R package

Download heR.Misc from the heR Software Project

install.packages("~/R/heR.Misc.tar.gz", repos = NULL, type = "source")

  • installing source package ‘heR.Misc’ ... ERROR: a 'NAMESPACE' file is required

The solution is to add a NAMESPACE file