摘要: 1 //Excel列字母转数字 2 public static int ToIndex(string columnName) 3 { 4 if (!Regex.IsMatch(columnName.ToUpper(), @"[A-Z]+")) { throw new Exception("inval 阅读全文
posted @ 2020-09-10 16:38 Uniqueness 阅读(1100) 评论(0) 推荐(0) 编辑
摘要: 1 Select Segment_Name, sum(Bytes)/1024/1024 2 From User_Segments 3 where Segment_Type = 'TABLE' 4 Group By Segment_Name; 阅读全文
posted @ 2020-09-10 15:51 Uniqueness 阅读(752) 评论(0) 推荐(0) 编辑
摘要: 介绍vi/vim 相关命令,主要涉及:编辑、搜索、查找、定位。 分为两个章节,即常用命令 及 键盘图 一、vi/vim常用命令 set nu 显示行号 gg 跳转到文件开头 / 向后搜索 ? 向前搜索 n 查找下一处 N 查找上一处 | 光标所在行行首 L 屏幕所显示的底行 { 段首 } 段尾 - 阅读全文
posted @ 2020-09-10 15:40 Uniqueness 阅读(338) 评论(0) 推荐(0) 编辑
摘要: https://www.runoob.com/sqlite/sqlite-commands.html 一 。linux 下安装数据库和创建一个数据库 1. Linux 下安装sqlite3 需要两个命令 即可 (1) sudo apt-get install sqlite (2) sudo apt- 阅读全文
posted @ 2020-09-10 15:33 Uniqueness 阅读(416) 评论(0) 推荐(0) 编辑
摘要: 我们在做桌面应用的时候经常会遇到消息提示框已弹出,但由于操作其它应用而遮挡了提示框。 解决方案: 以WPF MessageBox.Show() 为例。 1 public static MessageBoxResult Show(string messageBoxText, string captio 阅读全文
posted @ 2020-09-10 15:26 Uniqueness 阅读(2676) 评论(0) 推荐(1) 编辑
摘要: 问题: root@044d63b317b8:/# ping www.baidu.combash: ping: command not found 解决方法: apt-get update apt-get install iputils-ping 一定要先执行第一条命令,否则会报错。Docker中类似 阅读全文
posted @ 2020-09-10 14:44 Uniqueness 阅读(2825) 评论(0) 推荐(0) 编辑
摘要: Tools -> Preferences -> Windows Types - SQL Window -> 勾选 "AutoSelect statement" 阅读全文
posted @ 2020-07-13 11:00 Uniqueness 阅读(680) 评论(0) 推荐(0) 编辑
摘要: NetCore WebApi 返回Json数据的统一格式 阅读全文
posted @ 2020-05-29 16:21 Uniqueness 阅读(3452) 评论(0) 推荐(0) 编辑
摘要: The provider for the source IQueryable doesn't implement IDbAsyncQueryProvider.Only providers that implement IDbAsyncQueryProvider can be used for Entity Framework asynchronous operations 阅读全文
posted @ 2020-05-28 14:52 Uniqueness 阅读(1582) 评论(0) 推荐(0) 编辑
摘要: 启动 直接点击Nginx目录下的nginx.exe cmd(Nginx目录)运行 关闭 stop表示立即停止nginx,不保存相关信息 quit表示正常退出nginx,并保存相关信息 重启(因为改变了配置,需要重启) 重新打开日志文件 检查Nginx配置文件是否正确 Nginx 在Windows和L 阅读全文
posted @ 2020-04-30 13:37 Uniqueness 阅读(632) 评论(0) 推荐(0) 编辑