Skip to content

VSCode

开发工具

免密登录

# cmd
ssh-keygen -t rsa

# 将公钥 user/.ssh/id_rsa.pub 复制到 linux 的 ~/.ssh/authorized_keys

vi .ssh/authorized_keys

免密登录无效

vscode 免密 登录alamLinux8/CentOS8 配置正确,但是登录无效,可能是selinux 的原因

解决方法:

bash
#查看 selinux
getenforce

#关闭 selinux
setenforce 0

#开启 selinux
setenforce 1

#永久关闭
vi /etc/selinux/config

SELINUX=disabled
#SELINUX=enforcing

Dracula Theme

better comments next

json
{
	"better-comments.tags": [
        {
            "tag": "!",
            "color": "#FF2D00",
            "strikethrough": false,
            "underline": false,
            "backgroundColor": "transparent",
            "bold": false,
            "italic": false
        },
        {
            "tag": "?",
            "color": "#3498DB",
            "strikethrough": false,
            "underline": false,
            "backgroundColor": "transparent",
            "bold": false,
            "italic": false
        },
        {
            "tag": "//",
            "color": "#474747",
            "strikethrough": true,
            "underline": false,
            "backgroundColor": "transparent",
            "bold": false,
            "italic": false
        },
        {
            "tag": "todo",
            "color": "#FF8C00",
            "strikethrough": false,
            "underline": false,
            "backgroundColor": "transparent",
            "bold": false,
            "italic": false
        },
        {
            "tag": "*",
            "color": "#98C379",
            "strikethrough": false,
            "underline": false,
            "backgroundColor": "transparent",
            "bold": false,
            "italic": false
        },
        {
            "tag": "func",
            "color": "#CC99FF",
            "strikethrough": false,
            "underline": false,
            "backgroundColor": "transparent",
            "bold": false,
            "italic": false
        },
        {
            "tag": "logic",
            "color": "#f97316",
            "strikethrough": false,
            "underline": false,
            "backgroundColor": "transparent",
            "bold": false,
            "italic": false
        },
        {
            "tag": "vari",
            "color": "#FF6600",
            "strikethrough": false,
            "underline": false,
            "backgroundColor": "transparent",
            "bold": false,
            "italic": false
        },
        {
            "tag": "block",
            "color": "#15803d",
            "strikethrough": false,
            "underline": false,
            "backgroundColor": "transparent",
            "bold": false,
            "italic": false
        },
        {
            "tag": "tech",
            "color": "#84cc16",
            "strikethrough": false,
            "underline": false,
            "backgroundColor": "transparent",
            "bold": false,
            "italic": false
        }
    ],
}