Post

开发笔记

一些开发中积累的代码片段分享

开发笔记

vscode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
    "files.autoSave": "onFocusChange",
    "workbench.colorTheme": "Dark Plus Darcula (IntelliJ imitation)",
    "editor.fontFamily": "'FiraCode Nerd Font Mono', 'Fira Code','JetBrains Mono', '黑体'",
    "terminal.integrated.fontLigatures.enabled": true,
    "workbench.iconTheme": "vscode-icons",
    "workbench.startupEditor": "none",
    "extensions.ignoreRecommendations": true,
    "remote.autoForwardPortsSource": "hybrid",
    "terminal.integrated.defaultProfile.windows": "Git Bash",
    "github.copilot.enable": {
        "*": true,
        "plaintext": false,
        "markdown": false,
        "scminput": false,
        "java": false
    }
}

Scoop

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
scoop list
Installed apps:

Name             Version            Source     Updated             Info
----             -------            ------     -------             ----
7zip             25.01              main       2025-09-13 17:07:45
cursor           2.0.77             extras     2025-11-16 17:43:44
dbeaver          25.2.2             extras     2025-10-17 21:38:59
FiraCode         6.2                nerd-fonts 2025-09-14 11:55:59
FiraCode-NF-Mono 3.4.0              nerd-fonts 2025-09-29 21:01:33
git              2.51.0.2           main       2025-10-01 16:08:55
maven            3.9.11             main       2025-09-14 15:12:54
mingw            15.2.0-rt_v13-rev0 main       2025-09-17 23:07:25
openjdk17        17.0.2-8           java       2025-10-01 15:35:56
starship         1.23.0             main       2025-10-01 15:42:14
uv               0.8.22             main       2025-10-03 21:53:38
vscode           1.106.2            extras     2025-11-22 16:44:58

Trojan

1
2
3
su - root
curl https://raw.githubusercontent.com/Liaofushen/tro/refs/heads/main/trojan-go.sh --outfile trojan-go.sh
chmod +x ./trojan-go.sh
This post is licensed under CC BY 4.0 by the author.