上一页 1 2 3 4 5 6 ··· 19 下一页
摘要: 有些人安装的linux的系统默认防火墙不是iptables,而是firewall,那就得使用以下方式关闭防火墙了。>>>关闭防火墙systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止fi 阅读全文
posted @ 2019-07-17 10:33 Thinking.N 阅读(11187) 评论(0) 推荐(0) 编辑
摘要: --为字段添加注释 --Eg. execute sp_addextendedproperty 'MS_Description','字段备注信息','user','dbo','table','字段所属的表名','column','添加注释的字段名'; execute sp_addextendedpro 阅读全文
posted @ 2019-07-04 10:10 Thinking.N 阅读(7952) 评论(0) 推荐(0) 编辑
摘要: 1、NSSM.exe https://nssm.cc/ 2、Topshelf 引用地址:https://www.cnblogs.com/guogangj/p/10093102.html#4136330 阅读全文
posted @ 2019-01-09 15:29 Thinking.N 阅读(487) 评论(0) 推荐(0) 编辑
摘要: --每秒死锁数量 SELECT * FROM sys.dm_os_performance_counters WHERE counter_name LIKE 'Number of Deadlocksc%'; --查询当前阻塞 WITH CTE_SID ( BSID, SID, sql_handle ) AS ( SELECT blocking_ses... 阅读全文
posted @ 2019-01-09 14:26 Thinking.N 阅读(1437) 评论(0) 推荐(0) 编辑
摘要: --查询死锁 select request_session_id spid, OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJECT' --杀死死锁进程 kill 3... 阅读全文
posted @ 2018-12-12 09:12 Thinking.N 阅读(34672) 评论(0) 推荐(2) 编辑
摘要: /// /// 用流的方式下载文件 /// /// 文件路径及文件名 public static void FileDownLoad(string filepath_name) { System.IO.Stream iStream = null; //以10K为单... 阅读全文
posted @ 2018-11-07 16:42 Thinking.N 阅读(3109) 评论(0) 推荐(0) 编辑
摘要: public static List GetFile(string path, List FileList, string RelativePath) { DirectoryInfo dir = new DirectoryInfo(path); FileInfo[] fil = dir.GetFiles(); ... 阅读全文
posted @ 2018-09-21 18:00 Thinking.N 阅读(2196) 评论(0) 推荐(0) 编辑
摘要: 参考代码: 引用Dapper 阅读全文
posted @ 2018-09-10 22:09 Thinking.N 阅读(114) 评论(0) 推荐(0) 编辑
摘要: string lameEXE = @"D:\lame3.100\lame.exe"; string lameArgs = "-b 128"; string wavFile = @"d:\d.mp3"; string mp3File = @"d:\ff.mp3"; Process process =... 阅读全文
posted @ 2018-07-31 10:45 Thinking.N 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 引用:https://www.cnblogs.com/dansediao/p/6605141.html 阅读全文
posted @ 2018-06-27 16:39 Thinking.N 阅读(999) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 19 下一页