This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM Turn winmgmt service Startup type to Disabled | |
sc config winmgmt start = disabled | |
REM Stop winmgmt service | |
net stop winmgmt /y | |
REM Register / Reregister Service DLLs | |
regsvr32 /s %systemroot%\system32\scecli.dll | |
regsvr32 /s %systemroot%\system32\userenv.dll |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var arr = [1,2,3,[2,[9,9],5],[4,5,5]]; | |
function flatten(input) { | |
var output = []; | |
for (var i = 0; i < input.length; i++) { | |
output = Array.isArray(input[i]) | |
? [...output, ...flatten(input[i])] | |
: [...output, ...input[i]]; | |
} | |
return output; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@{ | |
var includes = "[]"; | |
var bundleName = "~/bundles/agent-profile"; | |
if (!BundleTable.EnableOptimizations) | |
{ | |
var resolver = new BundleResolver(); | |
var url = resolver.GetBundleContents(bundleName).Select(s => string.Format("'{0}'", Url.Content(s))); | |
includes = "[" + string.Join(",", url) + "]"; | |
} | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@section scriptloader { | |
$script(['https://code.jquery.com/ui/1.9.2/jquery-ui.min.js'], 'jquery-ui'); | |
$script.ready('jquery-ui', function() { | |
$script([ | |
'@Url.Content("~/bundles/ko-js")', | |
'@Url.Content("~/bundles/jqueryval")', | |
'@Url.Content("~/bundles/jquery-cropbox")', | |
'@Url.Content("~/bundles/jquery-file-upload")', |