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
docker run -d --name sonarqube -p 9000:9000 -p 9092:9092 sonarqube |
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
async function checkJquery(tries, tryLimit) { | |
console.log("Waiting for jQuery to Load"); | |
//1. Base Case - JQuery Loaded | |
if (window.jQuery) { | |
console.log("jQuery Loaded"); | |
return; | |
} | |
//2. Base Case - TryLimit Hit | |
if(parseInt(tries) > parseInt(tryLimit)) { |
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
[diff] | |
tool = p4merge | |
[difftool "p4merge"] | |
path = C:\\Program Files\\Perforce\\p4merge.exe | |
[merge] | |
tool = p4merge | |
[mergetool "p4merge"] | |
path = C:\\Program Files\\Perforce\\p4merge.exe |
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
$github_branch_refs_parts = "%teamcity.build.branch%" -split "/" | |
$is_pr = ($github_branch_refs_parts.Count -eq 2 -and $github_branch_refs_parts[1] -eq "merge") | |
if (-Not $is_pr) { | |
Write-Host "Running SonarQube in master branch mode" | |
SonarQube.Scanner.MSBuild.exe begin /k:"%sonar.project%" /d:"sonar.host.url=%sonar.host.url%" /d:sonar.cs.dotcover.reportsPaths="dotCover.html" /v:"%build.number%" | |
} else { | |
Write-Host "Running SonarQube in PR Mode" | |
$pull_request_number = $github_branch_refs_parts[0] |
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
OpenQA.Selenium.WebDriverException : A exception with a null response was thrown sending an HTTP request | |
to the remote WebDriver server for URL http://localhost:51027/session/71f17e73965ce00cdd20434b035cdce2/element |
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
{ | |
"Name": "MyApiRescource", | |
"ApiSecrets": [ | |
{ | |
"Value": "MyAPIResouceSecret" | |
} | |
], | |
"Scopes": [ | |
{ | |
"Name": "MyScopeName", |
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
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. | |
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) | |
{ | |
loggerFactory.AddConsole(Configuration.GetSection("Logging")); | |
loggerFactory.AddDebug(); | |
app.UseStaticFiles(); | |
app.UseAuthentication(); | |
app.UseMvc(); | |
} |
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
info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[1] | |
Authorization was successful for user: (null). |
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
public class TruthTests : IDisposable | |
{ | |
public TruthTests() | |
{ | |
} | |
public void Dispose() | |
{ | |
//Do cleanup actions here | |
// |
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
# Unix: | |
ASPNETCORE_URLS="https://*:5123" dotnet run | |
# Windows PowerShell: | |
$env:ASPNETCORE_URLS="https://*:5123" ; dotnet run | |
# Windows CMD (note: no quotes): | |
SET ASPNETCORE_URLS=https://*:5123 && dotnet run |