摘要: 案例 简单代码如下: string path = "ProcInstLog"; if (!System.IO.Directory.Exists(path)) { System.IO.Directory.CreateDirectory(path); } string file = System.IO. 阅读全文
posted @ 2024-09-29 14:52 devs 阅读(48) 评论(0) 推荐(0) 编辑
摘要: ``` Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp' -name "PortNumber" -Value 33899 Set-ItemProperty 阅读全文
posted @ 2023-05-22 17:52 devs 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 数据库 SELECT * FROM "pg_database"; 表信息 SELECT "schemaname","tablename","tableowner","hasindexes","hasrules",obj_description(relfilenode,'pg_class') AS " 阅读全文
posted @ 2022-05-13 01:39 devs 阅读(172) 评论(0) 推荐(0) 编辑
摘要: Configuration for windows nginx.conf 在文件尾部添加以下配置 stream { include streams/*.conf; } *.conf 在Nginx安装目录下,创建streams目录,然后在streams中添加需要的conf配置 \conf\stream 阅读全文
posted @ 2022-05-11 01:08 devs 阅读(62) 评论(0) 推荐(0) 编辑
摘要: // https://blog.csdn.net/Marzlam/article/details/118522068 // 初始化的时候读取配置 string a = builder.Configuration.GetConnectionString("odoo"); string b = buil 阅读全文
posted @ 2022-05-11 01:04 devs 阅读(905) 评论(0) 推荐(0) 编辑
摘要: Microsoft Visual Studio 未能正确加载“MonoAndroidDesignerPackage”包。 此问题可能是因配置更改或安装另一个扩展导致的。可通过查看文件“D:\Users\Administrator\AppData\Roaming\Microsoft\VisualStu 阅读全文
posted @ 2022-03-24 16:07 devs 阅读(350) 评论(0) 推荐(0) 编辑
摘要: nginx.conf #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/ng 阅读全文
posted @ 2022-03-11 20:46 devs 阅读(477) 评论(0) 推荐(0) 编辑
摘要: Appliaction Developer PowerShell for VS 2019 Command CD {Product Dir} msbuild -v:m -restore -t:Build -p:Configuration=Release -p:TargetFramework=net45 阅读全文
posted @ 2022-01-07 22:45 devs 阅读(60) 评论(0) 推荐(0) 编辑
摘要: CROSS APPLY & OUTER APPLY CREATE TABLE [dbo].[Account]( [UserId] [int] IDENTITY(1,1) NOT NULL, [Name] [nvarchar](50) NULL, [Age] [int] NULL, [Gender] 阅读全文
posted @ 2021-12-31 18:01 devs 阅读(53) 评论(0) 推荐(0) 编辑
摘要: C# 取消文件隐藏并恢复标准文件 DirectoryInfo di = new DirectoryInfo(@"D:\Software"); foreach (DirectoryInfo sub in di.GetDirectories()) { File.SetAttributes(sub.Ful 阅读全文
posted @ 2021-12-15 14:24 devs 阅读(203) 评论(0) 推荐(0) 编辑