Skip to content

Instantly share code, notes, and snippets.

View nunodio's full-sized avatar

Nuno Dio nunodio

  • Farfetch
  • Portugal
View GitHub Profile

Keybase proof

I hereby claim:

  • I am nunodio on github.
  • I am nunodio (https://keybase.io/nunodio) on keybase.
  • I have a public key ASDVKFW302AYhrQmgEGKXfj-Jp1Z4cAn9TyZN4Rs68sw4Ao

To claim this, I am signing this object:

@nunodio
nunodio / disable_prtsc_key_lenovo_t480s.sh
Last active November 21, 2020 22:16
Disable PrtSc key in Lenovo T480s - Fedora
#!/usr/bin/env bash
xmodmap -e 'keycode 107 = Menu NoSymbol Menu'
@nunodio
nunodio / pre-commit.example
Created March 19, 2019 09:16 — forked from ralovely/pre-commit.example
Git pre-commit hook for Ansible Vault
#!/bin/sh
#
# Pre-commit hook that verifies if all files containing 'vault' in the name
# are encrypted.
# If not, commit will fail with an error message
#
# File should be .git/hooks/pre-commit and executable
FILES_PATTERN='.*vault.*\.yml$'
REQUIRED='ANSIBLE_VAULT'