This commit is contained in:
wenyongda 2022-12-30 15:25:53 +08:00
parent e18a8120c9
commit 6ce6377297
3 changed files with 86 additions and 0 deletions

15
source/_posts/C#反射.md Normal file
View File

@ -0,0 +1,15 @@
---
---
# C# 反射
## Property
### Property.Name == 'PropName'
### Property.GetValue(from, null).Equals("NAME")
# C# DataTable

View File

@ -356,3 +356,11 @@ docker rmi -f $(docker images | grep "none" | awk '{print $3}')
```
来历在docker反复build一个Dockerfile并且使用相同tag或者不用tag)会存留很多none镜像。第一次build生成一个image id, 再次build后会重新生成一个image id, 命名和上一个一样所以上一个镜像的tag和名字就会自动变成 `<none>`
## docker安装PostgreSQL
```shell
docker pull postgres:latest
docker run -d --name=pgsql -p 5432:5432 -e POSTGRES_PASSWORD=Wyd210213 postgres:latest
```

View File

@ -0,0 +1,63 @@
---
---
# Visual Studio
## 快捷键
### 注释Ctrl+K+C
### 取消注释Ctrl+K+U
### 设置断点调试F9
### 撤销Ctrl+Z
### 反撤销Ctrl+Y
### 定位到当前行的行首Home
### 定位到当前行的行尾End
### 选中从光标起到航首间的代码Shift+Home
### 选中从光标起到行尾间的代码Shift+End
### 定位到当前文本编辑器的首行Ctrl+Home
### 定位到当前文本编辑器的末行Ctrl+End
### 逐过程调试F10
### 逐语句调试F11
### 跳出调试Shift+F11
### 调用智能提示Alt+→
### 快速隐藏或显示当前代码段Ctrl+M*2
### 跳转到指定某一行Ctrl+G
### 转小写Ctrl+U
### 转大写Ctrl+Shift+U
### 快速切换窗口Ctrl+Tab
### 回到上一个光标的位置Ctrl+—
### 前进到下一个光标的位置Ctrl+Shift+—
### 删除整行代码Ctrl+L
## 滚动条缩略预览
工具—>选项—>文本编辑器—>所有语言—>滚动条—>行为—>使用垂直滚动条的缩略图模式—>源代码概述—>宽
## 扩展
### Viasfora
### File Icons