- Make a key pair
(press enter instead of typing a passphrase. note that -C is just a comment)ssh-keygen -t ed25519 -C "[email protected]" -f ~/.ssh/github
- Configure your ssh tool to use the keypair by modifying
~/.ssh/config
echo ' HOST *github* AddKeysToAgent yes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# the * and ** operator in assignment, reference, and function signatures | |
# * Reference: unroll the list. Something has to catch it: | |
a = ['aaa', 'aa'] | |
[*a] | |
{*a} | |
def two_i(a, b): | |
print(a) | |
print(b) | |
two_i[*a] |