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
//~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~-- | |
// | |
// ____ ____ ____ ____ _ ____ | |
// / ___)(_ _)( __)( __)(// ___) | |
// \___ \ )( ) _) ) _) \___ \ | |
// (____/ (__) (____)(__) (____/ | |
// _ | |
// ___ _ _| |_ ___ ___ _ _ ___ ___ | |
//| .'| | | _| . | -_|_'_| -_| _| | |
//|__,|___|_| |___|___|_,_|___|___| |
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
set number | |
filetype on | |
syntax on | |
colorscheme morning | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
autocmd FileType yaml setlocal ai ts=2 sw=2 et | |
"set cursorcolumn | |
"set cursorline |
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
# UPDATE, VIEW: https://code.visualstudio.com/docs/remote/troubleshooting#_configuring-key-based-authentication | |
# SSH copy-id is not existent in win32 openssh (https://github.com/PowerShell/Win32-OpenSSH) | |
# So we need to do it ourselves. | |
# literally all I could find on Google was Windows to Unix: | |
# - https://www.chrisjhart.com/Windows-10-ssh-copy-id/ | |
# - https://stackoverflow.com/a/9971617/10503012 ('cat source | ssh user@host "cat >> /path/to/target"' --> the 'cat >> ' part does not work on Windows, the variable is not properly piped through | |
# I do not have enough experience on (Windows) piping to fix this in a proper way. | |
# Special shoutout to useless Stack answers: | |
# - https://stackoverflow.com/questions/65656813/copying-ssh-key-from-windows-machine-to-windows-server-2019 |