This file contains 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
Just go to http://closure-compiler.appspot.com/ | |
// ==ClosureCompiler== | |
// @compilation_level ADVANCED_OPTIMIZATIONS | |
// @output_file_name default.js | |
// @use_closure_library true | |
// ==/ClosureCompiler== | |
goog.require('goog.json'); | |
if (!window['JSON']) window['JSON']={}; |
This file contains 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
awk '{total = total + $1}END{print total}' |
This file contains 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
find . -regex '.+svn$' -print0 | xargs -0 -n 1 du -shk | cut -f 1 | awk '{total = total + $1}END{print total}' |
This file contains 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
alias ccc Test.CodeCoverage.ShowCodeCoverageColoring | |
alias ccr Test.CodeCoverageResults |
This file contains 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
<script type="text/javascript"> | |
//Stop Form Submission of Enter Key Press | |
function stopRKey(evt) { | |
var evt = (evt) ? evt : ((event) ? event : null); | |
var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null); | |
// if the keyCode was Enter, and node that caused event was not a textarea, submit or button, cancel the event | |
if (evt.keyCode == 13 && node.type != "textarea" && node.type != 'submit' && node.type != 'button') { return false; } | |
} | |
document.onkeypress = stopRKey; | |
</script> |
This file contains 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
$csvPath = 'C:\Temp\Whatever.csv' | |
$csvData = Get-Content -Path $csvPath | Select-Object -Skip 2 | ConvertFrom-Csv |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<TestSettings name="Parallel" id="75d1bdb9-bbc6-4a1f-81d3-001163492e2e" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"> | |
<Deployment enabled="false" /> | |
<Description>Parallel test run</Description> | |
<Execution parallelTestCount="0"> | |
<TestTypeSpecific> | |
<UnitTestRunConfig testTypeId="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b"> | |
<AssemblyResolution> | |
<TestDirectory useLoadContext="true" /> | |
</AssemblyResolution> |
This file contains 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
<script type="text/javascript"> | |
$(function() { | |
$('.collapse').on('show.bs.collapse', function (e) { | |
$(e.target).siblings("button[data-toggle=collapse]").children("span").removeClass("glyphicon-chevron-down").addClass("glyphicon-chevron-up"); | |
}); | |
$('.collapse').on('hide.bs.collapse', function (e) { | |
$(e.target).siblings("button[data-toggle=collapse]").children("span").removeClass("glyphicon-chevron-up").addClass("glyphicon-chevron-down"); | |
}); | |
}); | |
</script> |
This file contains 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
WITH | |
cte1 AS | |
( | |
SELECT | |
HeaderID | |
,An_ID | |
,Year | |
,YearSequence | |
,Value | |
,ValueType |
OlderNewer