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
myMocks = { | |
promise: function() { | |
return { | |
_success: [], | |
_failure: [], | |
then: function (_success, _failure) { | |
this._success.push(_success); | |
this._failure.push(_failure); | |
return this; | |
}, |
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
var poller; | |
var pollForBuild = function() { | |
// Approved yet? | |
if ($(".vc-pullrequest-merge-policy-status-item span:contains('approved')").length == 0) { | |
console.log("Poller: waiting for approval"); | |
return; | |
} | |
// build succeeded? | |
if ($(".vc-pullrequest-merge-policy-status-item a:contains('succeeded')").length) { |
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
var empExp = String.Join(",", employeeIds.Select(u => $"'{DoubleQuote(u)}'")); | |
Dim empExp = String.Join(",", employeeIds.Select(Function(u) $"'{DoubleQuote(u)}'")) |
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
@echo off | |
if not exist C:\Temp\hard-source\ GOTO 30 | |
@echo Cleaning hard source | |
rmdir /s /q C:\Temp\hard-source | |
:30 | |
if not exist C:\Development\Vantagepoint\ GOTO 20 | |
@echo Cleaning 30 | |
rmdir /s /q C:\Development\Vantagepoint\code\client\DeltekNavigator\Web\dist | |
rmdir /s /q C:\Development\Vantagepoint\code\client\DeltekNavigator\Web\node_modules | |
:20 |
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 . -name .DS_Store -type f -delete; find . -type d -print0 | xargs -0 dot_clean |