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
import { AdapterDateFns } from "@mui/x-date-pickers/AdapterDateFns"; | |
import { LocalizationProvider } from "@mui/x-date-pickers"; | |
import Button from "@mui/material/Button"; | |
import { Formik, Form } from "formik"; | |
import * as React from "react"; | |
import useFetchWithMsal from "../hooks/useFetchWithMsal"; | |
import { protectedResources } from "../authConfig"; | |
import { Stack } from "@mui/system"; | |
import { DatePicker } from "@mui/x-date-pickers"; | |
import TextField from "@mui/material/TextField"; |
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
dotnet tool install --global dotnet-coverage | |
dotnet sonarscanner begin /k:"PROJECT_KEY" /d:sonar.host.url="http://localhost:9000" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml /d:sonar.login="sqp_XXXXXXXXXXXXXX"; | |
dotnet build --no-incremental | |
dotnet-coverage collect "dotnet test" -f xml -o "coverage.xml"; |
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
import { useState, useCallback } from "react"; | |
import { InteractionType, PopupRequest } from "@azure/msal-browser"; | |
import { useMsal, useMsalAuthentication } from "@azure/msal-react"; | |
import { | |
ExponentialBackoff, | |
retry, | |
handleAll, | |
circuitBreaker, |
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: devvopps-aspmvc | |
spec: | |
selector: | |
matchLabels: | |
app: devvopps-aspmvc | |
template: | |
metadata: |
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
trigger: none | |
pool: | |
#vmImage: 'windows-latest' | |
name: SQLPoc | |
variables: | |
gitBranchName: migration-script/$(build.buildId) | |
SqlScriptsFolder: $(Build.SourcesDirectory)\db_poc\Db-Migration-Scripts\sql | |
migrationScriptNumber: '' |
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
trigger: | |
- main | |
pool: | |
vmImage: 'windows-latest' | |
variables: | |
solution: '**/*.sln' | |
buildPlatform: 'Any CPU' | |
buildConfiguration: 'Release' |
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
import http from 'k6/http'; | |
import { sleep } from 'k6'; | |
export default function () { | |
http.get('https://test.k6.io'); | |
sleep(1); | |
} |
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: nginx | |
spec: | |
selector: | |
matchLabels: | |
app: nginx | |
template: | |
metadata: |
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
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: nginx-svc | |
spec: | |
type: LoadBalancer | |
selector: | |
app: nginx | |
ports: | |
- port: 8080 |
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
function GetUrl() { | |
param( | |
[string]$orgUrl, | |
[hashtable]$header, | |
[string]$AreaId | |
) | |
# Build the URL for calling the org-level Resource Areas REST API for the RM APIs | |
$orgResourceAreasUrl = [string]::Format("{0}/_apis/resourceAreas/{1}?api-preview=5.0-preview.1", $orgUrl, $AreaId) |
NewerOlder