Skip to content

Instantly share code, notes, and snippets.

Fede Diaz nordri

Block or report user

Report or block nordri

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
nordri /
Last active Sep 30, 2019
Convert tab separate file (TSV) to JSON with jq

Input file

echo -e "i-0b9adca882e5e6326\t
i-0e70eac180537d4aa\t" > input.tsv


nordri /
Last active Jul 17, 2019
Install Azure Cli unattended
#!/bin/bash -x
apt-get update
apt-get install -y curl apt-transport-https lsb-release gnupg
curl -sL | gpg --dearmor > /etc/apt/trusted.gpg.d/microsoft.asc.gpg
AZ_REPO=$(lsb_release -cs)
echo "deb [arch=amd64] $AZ_REPO main" > /etc/apt/sources.list.d/azure-cli.list
apt-get update
You can’t perform that action at this time.