摘要:
var script=document.createElement("script"); script.type="text/javascript"; script.src="https://code.jquery.com/jquery-1.12.4.min.js"; document.getElementsByTagName('head')[0].appendChild(script); 阅读全文
摘要:
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... 阅读全文
摘要:
function fixedEncodeURIComponent (str) { return str.replace(/./g, function(c) { return '%' + c.charCodeAt(0).toString(16).toUpperCase(); }); } 阅读全文
摘要:
ALTER TABLE `customer_user` MODIFY COLUMN `UserName` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci 阅读全文