From 6ce63772978e28dabb6c9490baa3e4529d090d96 Mon Sep 17 00:00:00 2001 From: wenyongda Date: Fri, 30 Dec 2022 15:25:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/_posts/C#反射.md | 15 ++++++++ source/_posts/Docker.md | 8 +++++ source/_posts/Visual Studio.md | 63 ++++++++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+) create mode 100644 source/_posts/C#反射.md create mode 100644 source/_posts/Visual Studio.md diff --git a/source/_posts/C#反射.md b/source/_posts/C#反射.md new file mode 100644 index 0000000..6ecd90a --- /dev/null +++ b/source/_posts/C#反射.md @@ -0,0 +1,15 @@ +--- + +--- + + + +# C# 反射 + +## Property + +### Property.Name == 'PropName' + +### Property.GetValue(from, null).Equals("NAME") + +# C# DataTable \ No newline at end of file diff --git a/source/_posts/Docker.md b/source/_posts/Docker.md index c032459..071eef1 100644 --- a/source/_posts/Docker.md +++ b/source/_posts/Docker.md @@ -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和名字就会自动变成 ``。 + +## docker安装PostgreSQL + +```shell +docker pull postgres:latest +docker run -d --name=pgsql -p 5432:5432 -e POSTGRES_PASSWORD=Wyd210213 postgres:latest +``` + diff --git a/source/_posts/Visual Studio.md b/source/_posts/Visual Studio.md new file mode 100644 index 0000000..c77a264 --- /dev/null +++ b/source/_posts/Visual Studio.md @@ -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 \ No newline at end of file