Skip to content

Instantly share code, notes, and snippets.

View hrodrig's full-sized avatar

Hermes Rodriguez hrodrig

  • Caracas, Venezuela
View GitHub Profile
@hrodrig
hrodrig / UbuntuMicroK8sSetup.sh
Created December 26, 2023 15:38 — forked from JohnKDay/UbuntuMicroK8sSetup.sh
Script and ansible playbook to setup K8s cluster on Ubuntu 20.04 or Debian 11
#!/usr/bin/env bash
set -v
# Auto setup of microk8s in Ubuntu 20.04 or Debian 11
sudo apt-get update && sudo apt-get upgrade -y ansible
curl -sL https://gist.github.com/JohnKDay/4dee71ace86f98d6e46026bf755b0a87/raw/df-demo-setup.yaml | ansible-playbook --extra-vars="$@" --connection=local -i "localhost," /dev/stdin
@hrodrig
hrodrig / HowTo
Created October 31, 2023 22:23 — forked from MalteKiefer/HowTo
UFW Block IPs from abuseipdb Blacklist
# API Key
First of all create a free account here and create an API key to use the blacklist: https://www.abuseipdb.com
# UFW
You should have installed and started UFW, test it with
```bash
ufw status
```
# Cronjob
@hrodrig
hrodrig / vue-instalaciones.md
Created October 18, 2021 01:45 — forked from Klerith/vue-instalaciones.md
Instalaciones recomendadas y obligatorias para seguir el curso
@hrodrig
hrodrig / iterm2.md
Created April 11, 2021 22:47 — forked from squarism/iterm2.md
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)