08 2019 档案
摘要:set @startDate='2019-01-01'; set @endDate='2019-04-01'; SELECT ADDDATE(@startDate, INTERVAL @i:=@i+1 DAY) AS DAY FROM ( SELECT a.a FROM (SELECT 0 AS a UNION ALL SELECT 1 UNION ALL SELECT 2 UNION ALL...
阅读全文
摘要:@echo off @echo 请以管理员身份运行 set /p portRemark=请输入端口备注: set /p port=请输入端口号: powershell -command "New-NetFirewallRule -DisplayName '%portRemark%' -Direction Inbound -Action Allow -RemoteAddress Any -Proto
阅读全文
摘要:批处理,管理员权限执形 taskkill /im wmsvc.exe /f net stop WMSVC net start WMSVC pause
阅读全文
摘要:var bag = new ConcurrentBag(); var tasks = myCollection.Select(async item => { // some pre stuff var response = await GetData(item); bag.Add(response); // some post stuff }); await Task.WhenA...
阅读全文