Skip to content

Instantly share code, notes, and snippets.

@oiotoxt
oiotoxt / config
Created May 11, 2021 03:11 — forked from isutare412/config
SSH config using proxy / jumbox / bastion
Host your-jumpbox
HostName xxx.xxx.xxx.xxx
User user1
IdentityFile ~/.ssh/private_key_for_jumpbox
Host endpoint1
HostName xxx.xxx.xxx.xxx
User user2
ProxyCommand ssh -q -W %h:%p your-jumpbox
@oiotoxt
oiotoxt / gcm_core.sh
Created August 20, 2021 13:12
GitHub Personal Access Token + Git Credential Manager Core
# GitHub Personal Access Token + Git Credential Manager Core (2021-08-20)
# <Git Credential Manager Core>
# install (Ubuntu 18.04)
# https://github.com/microsoft/Git-Credential-Manager-Core
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo apt-add-repository https://packages.microsoft.com/ubuntu/18.04/prod
sudo apt-get update
sudo apt-get install gcmcore
@oiotoxt
oiotoxt / keybindings.json
Last active September 22, 2021 12:36
vscode key bindings
[
{
"key": "ctrl+2",
"command": "editor.action.previousSelectionMatchFindAction",
"when": "editorFocus"
},
{
"key": "ctrl+3",
"command": "editor.action.nextSelectionMatchFindAction",
"when": "editorFocus"