上一页 1 2 3 4 5 6 ··· 17 下一页
摘要: use [Db1] ALTER DATABASE [Db1] SET RECOVERY SIMPLE WITH NO_WAIT DBCC SHRINKFILE([Db1_Log], 1) ALTER DATABASE [Db1] SET RECOVERY FULL WITH NO_WAIT go 阅读全文
posted @ 2023-05-03 08:47 Ender.Lu 阅读(10) 评论(0) 推荐(0) 编辑
摘要: sp_configure 'max text repl size', -1 go exec sp_configure 'allow updates', 0 go RECONFIGURE go --exec sys.sp_configure 'allow updates' 阅读全文
posted @ 2023-04-27 08:08 Ender.Lu 阅读(19) 评论(0) 推荐(0) 编辑
摘要: Add-Type -AssemblyName System.Windows.Forms.DataVisualization # 定义画反抛物线的函数 function Plot-DoubleParabola { param( [double]$a, [double]$b, [double]$c ) 阅读全文
posted @ 2023-04-25 17:10 Ender.Lu 阅读(53) 评论(0) 推荐(0) 编辑
摘要: pip install -U pip -i https://pypi.tuna.tsinghua.edu.cn/simplepip install gradio -i https://pypi.tuna.tsinghua.edu.cn/simple https://developer.aliyun. 阅读全文
posted @ 2023-04-07 11:53 Ender.Lu 阅读(273) 评论(0) 推荐(0) 编辑
摘要: Asp.net项目因Session阻塞导致页面打开速度变慢 前年有个Asp.net项目上线后,正常情况下大部分页面打开速度都很快,但个别页面处理速度较慢。奇怪的是一旦访问个别速度慢的页面后,在该页面还未响应完毕前再去访问任何其他页面都需要等待很久才有响应。 经过仔细分析和查找,原来发现罪魁祸首是Se 阅读全文
posted @ 2022-12-15 09:04 Ender.Lu 阅读(82) 评论(0) 推荐(0) 编辑
摘要: cd C:\Windows\Microsoft.NET\Framework\v4.0.30319 aspnet_regsql.exe -S developserver-U sa -P 1234 -ssadd -d aspnet_state -sstype c <system.web><session 阅读全文
posted @ 2022-12-08 11:52 Ender.Lu 阅读(29) 评论(0) 推荐(0) 编辑
摘要: [void][Reflection.assembly]::LoadFrom("C:\ww\EPPlus.dll") [void][Reflection.assembly]::LoadFrom("C:\ww\Microsoft.IO.RecyclableMemoryStream.dll") $ex = 阅读全文
posted @ 2022-05-10 14:49 Ender.Lu 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 由于Windows系统默认策略不允许随意运行脚本文件,所以要更改一下: Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope LocalMachine 或者 Set-ExecutionPolicy -ExecutionPolicy Remo 阅读全文
posted @ 2022-05-10 09:19 Ender.Lu 阅读(991) 评论(0) 推荐(0) 编辑
摘要: start-job { $p="c:\temp\" # $p = Get-Location 可以获取当前用户的目录,如果这样使用后面的$p改为$p.path $H=New-Object Net.HttpListener $H.Prefixes.Add("http://+:89/") $H.Start 阅读全文
posted @ 2022-05-09 16:43 Ender.Lu 阅读(157) 评论(0) 推荐(1) 编辑
摘要: $server = "192.168.255.1" $uid = "sa" $db="xx" $pwd="a@123456" $SqlConnection = New-Object System.Data.SqlClient.SqlConnection $CnnString ="Server = $ 阅读全文
posted @ 2022-05-06 08:20 Ender.Lu 阅读(63) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 17 下一页