create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| e(name) | |
| &__{name} | |
| {block} | |
| m(name) | |
| &--{name} | |
| {block} | |
| .header | |
| color: red | |
| +e(element) |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
If you work across many computers (and even otherwise!), it's a good idea to keep a copy of your setup on the cloud, preferably in a git repository, and clone it on another machine when you need.
Thus, you should keep the .vim directory along with your .vimrc version-controlled.
But when you have plugins installed inside .vim/bundle (if you use pathogen), or inside .vim/pack (if you use Vim 8's packages), keeping a copy where you want to be able to update the plugins (individual git repositories), as well as your vim-configuration as a whole, requires you to use git submodules.
Initialize a git repository inside your .vim directory, add everything (including the vimrc), commit and push to a GitHub/BitBucket/GitLab repository:
cd ~/.vim
How to enable function keys
echo 0 | sudo tee /sys/module/hid_apple/parameters/fnmode
https://blog.colinwaddell.com/keychron-function-keys-configuration/
| var spawn = require('child_process').spawn, | |
| un = spawn('git', ['config', 'user.name', 'Batman']), | |
| ue = spawn('git', ['config', 'user.email', 'batman@gotham.com']), | |
| g = spawn('git', ['commit', '-am', "Jooooooker"]); | |
| un.stdout.on('data', function (data) { | |
| console.log('un stdout: ' + data); | |
| }); | |
| ue.stdout.on('data', function (data) { |
https://alexcabal.com/creating-the-perfect-gpg-keypair/
Create a regular GPG keypair. By default GPG creates one signing subkey (your identity) and one encryption subkey (how you receive messages intended for you).
Use GPG to add an additional signing subkey to your keypair. This new subkey is linked to the first signing key. Now we have three subkeys.
This keypair is your master keypair. Store it in a protected place like your house or a safe-deposit box. Your master keypair is the one whose loss would be truly catastrophic.