(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| import java.io.FileDescriptor; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.io.OutputStream; | |
| import java.io.PrintStream; | |
| public class HelloWorld{ | |
| private static HelloWorld instance; | |
| public static void main(String[] args){ | |
| instantiateHelloWorldMainClassAndRun(); |
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.
| # Add these contents to ~/.config/fish/config.fish | |
| # If using Brew, config.fish is located in /usr/local/Cellar/fish/[version]/etc/fish/ | |
| # Generally recommend using the installer from https://fishshell.com instead of brew | |
| # to avoid version updates overwriting the config file | |
| # Start or re-use a gpg-agent. | |
| gpgconf --launch gpg-agent | |
| # Ensure that GPG Agent is used as the SSH agent | |
| set -e SSH_AUTH_SOCK |