提交
This commit is contained in:
parent
e18a8120c9
commit
6ce6377297
15
source/_posts/C#反射.md
Normal file
15
source/_posts/C#反射.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# C# 反射
|
||||||
|
|
||||||
|
## Property
|
||||||
|
|
||||||
|
### Property.Name == 'PropName'
|
||||||
|
|
||||||
|
### Property.GetValue(from, null).Equals("NAME")
|
||||||
|
|
||||||
|
# C# DataTable
|
||||||
@ -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反复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
|
||||||
|
```
|
||||||
|
|
||||||
|
|||||||
63
source/_posts/Visual Studio.md
Normal file
63
source/_posts/Visual Studio.md
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user