Skip to content

Instantly share code, notes, and snippets.

View accdias's full-sized avatar

Antonio Dias accdias

View GitHub Profile
@accdias
accdias / vw.md
Last active May 30, 2024 15:12
Create a VaultWarden container on OL9

Installation

  1. Install podman
sudo dnf install -y podman
  1. Create the service directory to store data and configurations
sudo mkdir -p /srv/vw01/data
@accdias
accdias / gpg-ssh-setup.md
Created February 8, 2023 14:41 — forked from mcattarinussi/gpg-ssh-setup.md
A setup guide to use a personal gpg key for ssh authentication

GPG - SSH setup

Generating the master key

Here we create the master key. We want only Certify capability: we use the master key only to create the subkeys, Sign - Encrypt - Authenticate capabilities will be assigned to the subkeys.

Run the following command to start the master key generation process. Select the set your own capabilities creation process (type 8)

  ▶ gpg --full-generate-key --expert

gpg (GnuPG) 2.2.9; Copyright (C) 2018 Free Software Foundation, Inc.

@accdias
accdias / vim-cheatsheet.md
Created April 18, 2019 12:25 — forked from azadkuh/vim-cheatsheet.md
vim / vimdiff cheatsheet - essential commands

Vim cheat sheet

Starting Vim

vim [file1] [file2] ...