Win10笔记

Win10环境

Win10 自定义样式

Windows类Mac应用

  • MacType:更改Windows字体
  • Listary:类似于mac下的 Spotlight 进行搜索增强
  • Cmder:命令行增强
  • QTTabBar:文件浏览器增强

gpedit编辑组策略

计算机配置 -> 管理模块 -> Windows组件 -> Windows更新/Windows Defender防病毒程序

UAC设置

msconfig -> 工具 -> 更改UAC设置

更改git存储的密码

控制面板 -> 用户账户 -> 凭证管理器 -> Windows凭证 -> 修改git相关的

创建符号链接

mklink /d linkpath targetpath

去掉输入法图标

任务栏
状态栏

Win10软件

Git Bash替代CMD

设置GIT保存用户名密码,设置commit时候的编辑器

1
2
$ git config --global credential.helper winstore或者store
$ git config --global core.editor notepad2或者vim

打造完美GIT命令行环境
alias:在C:\Program Files\Git\etc\bash.bashrc中配置,使用的是linux风格的命令
vim: 在C:\Program Files\Git\etc\vimrc中配置
Cmder with GitBash

Listary

ALT+L 启动Listary

uTools

WiseHotKey

ALT+

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
`: Typora/CLion
1:
2:
3:
4:
5:
Q: Zeal/Velocity/DevDocs
W: GoLand/Android Studio
E: Intellij IDEA/Eclipse
R: PyCharm
T: Console Emulator(cmder\vendor\conemu-maximus5\ConEmu64.exe)
A: DingDing/Tim
S: Sublime Text
D: DataGrip
F: Rider/Explorer/ConEmu64
G: Xshell/Xftp
Z: Pencil/VMware Workstation Pro
X: WPS
C: Chrome
V: Visual Studio Code
B: SumatraPDF/Acrobat Reader DC
Y:
U:
I: Internet Download Manager
O:
P:
H:
J:
K:
N:
M:

Win+

1
2
3
4
5
1: Explorer
2:
3:
4: Remote Desktop Connection Manager(RDCman)
5:

JetBrains

Crack Method

安装MongoDB

安装Sublime Text 3

修改ST3侧边栏和Tab字体大小
Terminal Setting

1
2
3
{
"terminal": "C:\\cygwin64\\bin\\mintty.exe"
}

Nginx Windows 配置

nginx默认80端口,可在conf/nginx.conf中配置,如果80端口被占用(比如IIS),则会启动失败

Global NodeJS Modules Path

C:\Users\admin\AppData\Roaming\npm\node_modules

IDM

default UA

1
Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko

Hexo搭建博客

安装nvm
部署问题
nodejs版本使用v12.14.0
gitee博客
blog地址
文本仓库: https://gitee.com/icmyfuture/blog
博客仓库:
https://gitee.com/icmyfuture/icmyfuture/pages
https://github.com/icmyfuture/icmyfuture.github.io
github token: ghp_0ST55WR#3#jecPFk5aa8#MHL6TQ88q11gnTq 其中 00#00#

1
2
$ git remote add github https://TOKEN@github.com/icmyfuture/icmyfuture.github.io.git
$ git push -f github

允许其他机器ping

PHP in Win10

Windows CLion+Cygwin

当遇到git commit 出现 input is not from a terminal错误时,需要从cygwin安装程序中为cygwin环境安装git,而不是使用windows环境的git
apt-cyg安装其他包
使用地址 https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg
Cygwin here

1
chere -i -t mintty

OpenVPN多连接

将配置文件目录拷贝至 C:\Program Files\OpenVPN\config\,注意多个目录中得ovpn文件不能同名

VS 2015 KEY

Visual Studio Professional 2015简体中文版(专业版)
KEY:HMGNV-WCYXV-X7G9W-YCX63-B98R2
Visual Studio Enterprise 2015简体中文版(企业版)
KEY:HM6NR-QXX7C-DFW2Y-8B82K-WTYJV

VS 2019 KEY

Enterprise: BF8Y8-GN2QH-T84XB-QVY3B-RC4DF

VS Key Required 问题

由 Visual Assist 插件引起,在VS快捷方式后加上 /safemode,启动VS后卸载或禁用VA插件

VS2019 ASP.NET MVC 4 App Error

CS0012: 类型“System.Object”在未被引用的程序集中定义。必须添加对程序集“netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51”的引用
Copied “C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\netstandard.dll” to your application bin directory

VSCode Settings Sync

安装vscode插件: Settings Sync
vscode-setting-sync: 460b55de988723f98b9e188b7285e0c4929d1866

VSCode Java/C Bulid&Debug Setting

tasks.json

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"version": "2.0.0",
"tasks":
[
{
"label": "Build Java",
"type": "shell",
"command": "javac",
"args": [
"-g",
"$pwd/jivan/src/*.java"
]
},
{
"label": "Build C",
"type": "shell",
"command": "gcc",
"args": [
"-g",
"$pwd/civan/*.c",
"-o",
"$pwd/civan/main.sh"
]
}
]
}}

launch.json

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830388
"version": "0.2.0",
"configurations": [
{
"name": "java (Launch)",
"type": "java",
"request": "launch",
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"stopOnEntry": false,
"mainClass": "Main",
"classPaths": [
"C:\\src\\git\\jivan\\src"
],
"sourcePaths": ["${workspaceFolder}/jivan/src"],
"args": "",
"preLaunchTask": "Build Java"
},
{
"name": "c (Launch)",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/CIvan/main.sh",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"miDebuggerPath": "C:/cygwin64/bin/gdb.exe",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "Build C"
}
]
}

MarkDown编辑器Yu Writer

etcd

Quarkus

环境

windows 10

jdk

openjdk11
graalvm
jdk8_jk811_switch
GitBash 设置jdk快速切换

1
2
3
4
5
6
7
8
9
10
11
12
13
$ vim ~/.bashrc
alias j8='export PATH="/c/Program Files/Java/jdk1.8.0_212/bin:$PATH"'
alias j11='export PATH="/c/Program Files/AdoptOpenJDK/jdk-11.0.11.9-hotspot/bin:$PATH"'
alias j11g=
:wq

$ source ~/.bashrc

$ j8
$ java -version

$ j11
$ java -version

maven

Maven
HowToInstall

IDE

vscode

install quarkus extension in View > Extensions

IDEA

install quarkus tools plugin in Files > Settings > Plugins

scaffold

https://code.quarkus.io/?g=cn.icmyfuture

debug

IDEA debug by following this or this

Docker for Windows

参考
参考
k8s for docker desktop