Skip to content

Instantly share code, notes, and snippets.

View nvnivs's full-sized avatar

Nuno Pereira nvnivs

View GitHub Profile

Setup

Install Qemu

brew install qemu-system-x86_64

Download Arch

@nvnivs
nvnivs / mirrorlist
Last active May 26, 2018 11:12
Fix for `error: GPGME error: No data` in Arch. Replace contents of `/etc/pacman.d/mirrorlist`
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################
# With: reflector -l 50 -f 10 --save /etc/pacman.d/mirrorlist
# When: 2015-09-13 07:40:54 UTC
# From: https://www.archlinux.org/mirrors/status/json/
# Retrieved: 2015-09-13 07:40:35 UTC
# Last Check: 2015-09-13 07:28:48 UTC
@nvnivs
nvnivs / paths.hcl
Created April 19, 2025 06:12
Echos path related Terragrunt built-in functions
locals {
path_functions_command = <<EOF
echo 'path_relative_to_include: ${path_relative_to_include()}';
echo 'path_relative_from_include: ${path_relative_from_include()}';
echo 'get_repo_root: ${get_repo_root()}';
echo 'get_terragrunt_dir: ${get_terragrunt_dir()}';
echo 'get_working_dir: ${get_working_dir()}';
echo 'get_parent_terragrunt_dir: ${get_parent_terragrunt_dir()}';
echo 'get_original_terragrunt_dir: ${get_original_terragrunt_dir()}';
EOF