Skip to content

Instantly share code, notes, and snippets.

@3vincent
3vincent / Encrypt-files-with-GnuPG-gpg.md
Created February 26, 2023 00:14
Encrypt files with GnuPG/gpg

Encrypt files with GPG / GnuPG

ENCRYPT

$ echo 'mySuperPassword'| gpg --output someEncrypted.data --symmetric --cipher-algo AES256 --pinentry-mode loopback --passphrase-fd 0 myData.txt

DECRYPT

$ echo 'mySuperPassword' | gpg --decrypt --output myData.txt --pinentry-mode loopback --passphrase-fd 0 someEncrypted.data

Nextcloud 25 + Docker + Postgres + Caddy Reverse Proxy

Create Docker network

sudo docker network create --driver=bridge --subnet=10.10.13.0/24 --gateway=10.10.13.1 nextcloud_net

Create directory structure

@3vincent
3vincent / README-seafile-docker-caddy-install-instructions-for-VPS.md
Last active November 22, 2023 14:12
Seafile + Docker + Caddy Reverse Proxy

Seafile + Docker + Caddy Reverse Proxy on a debian/ubuntu VPS

Seafile is a great alternative to Dropbox, Google Drive or Nextcloud for sharing files either with your own devices or 3rd parties.

Prerequisites:

Your VPS should already have the minimal configuration including

  • ssh with PubPriv Keys
@3vincent
3vincent / dockerRootChecker-README.md
Last active July 25, 2021 17:45
dockerRootChecker.js