Skip to content

Instantly share code, notes, and snippets.

View noplanman's full-sized avatar
🐲
Coding for the world

Armando Lüscher noplanman

🐲
Coding for the world
View GitHub Profile
@noplanman
noplanman / upgrade-nghttp2
Last active November 17, 2020 23:50
Upgrade nghttp2 for brew with a fix for older MacOS versions
#!/usr/bin/env bash
# Update brew repo.
printf "%s" "Updating brew repo..."
brew update &> /dev/null
echo "✅"
# Get the currently installed and new version of nghttp2.
printf "%s" "Fetch installed and stable nghttp2 versions..."
VERSION_INSTALLED="$(brew list --versions | grep nghttp2 | awk '{print $2}')"
@noplanman
noplanman / ansible-role-test.sh
Last active September 17, 2018 03:31 — forked from geerlingguy/ansible-role-test.sh
Ansible Role Test Shim Script
#!/bin/bash
#
# Ansible role test shim.
#
# Usage: [OPTIONS] ./tests/test.sh
# - distro: a supported Docker distro version (default = "centos7")
# - playbook: a playbook in the tests directory (default = "test.yml")
# - role_dir: the directory where the role exists (default = $PWD)
# - cleanup: whether to remove the Docker container (default = true)
# - container_id: the --name to set for the container (default = timestamp)
@noplanman
noplanman / openpgp.txt
Created September 5, 2017 20:30
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:3b0e8c6b7249f1a100384a313d71085d14920359]
@noplanman
noplanman / openpgp.txt
Created September 5, 2017 20:30
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:3b0e8c6b7249f1a100384a313d71085d14920359]
@noplanman
noplanman / openpgp.txt
Created September 5, 2017 20:26
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:3b0e8c6b7249f1a100384a313d71085d14920359]
@noplanman
noplanman / openpgp.txt
Created September 5, 2017 20:13
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:3b0e8c6b7249f1a100384a313d71085d14920359]
@noplanman
noplanman / openpgp.txt
Created September 5, 2017 20:13
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:3b0e8c6b7249f1a100384a313d71085d14920359]
@noplanman
noplanman / mullvad_get_vpn_configs.sh
Created November 21, 2016 22:44
Download all VPN config files for Mullvad VPN
#!/usr/bin/env bash
# Set the Mullvad account number.
ACCOUNT_NUMBER="1234"
# For the home network, make sure the external IP is set here
# to prevent local traffic from going through the VPN.
HOME_IP=""
# Load the config download page to get CSRF tokens.
@noplanman
noplanman / dns_cyon.sh
Last active October 27, 2016 09:57
Get Let's Encrypt certificates for cyon.ch domains using acme.sh DNS method.
#
# THIS SCRIPT HAS BEEN MOVED TO A NEW HOME:
#
# https://github.com/noplanman/cyon-api/blob/master/dns_cyon.sh
#

Keybase proof

I hereby claim:

  • I am noplanman on github.
  • I am noplanman (https://keybase.io/noplanman) on keybase.
  • I have a public key whose fingerprint is 3B0E 8C6B 7249 F1A1 0038 4A31 3D71 085D 1492 0359

To claim this, I am signing this object: