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
import Ajv from 'ajv/dist/2020'; | |
import { | |
ValidationArguments, | |
ValidatorConstraint, | |
ValidatorConstraintInterface, | |
ValidatorOptions, | |
registerDecorator, | |
} from 'class-validator'; |
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
global using FastEndpoints; | |
using System.Reflection; | |
using FastEndpoints.Swagger; | |
using FluentMigrator.Runner; | |
using OpenTelemetry.Instrumentation.AspNetCore; | |
using Microsoft.Extensions.Caching.Distributed; | |
using Microsoft.Extensions.Caching.StackExchangeRedis; | |
using QuickI18N.API.Caching; |
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
function read_solution() { | |
echo "Parsing solution $1" | |
while IFS='' read -r line || [[ -n "$line" ]]; do | |
if [[ $line =~ \"([^\"]*.csproj)\" ]]; then | |
project="${BASH_REMATCH[1]}" | |
read_project "$(echo "$project"|tr '\\' '/')" | |
fi | |
done < "$1" |
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
function read_solution() { | |
echo "Parsing solution $1" | |
while IFS='' read -r line || [[ -n "$line" ]]; do | |
if [[ $line =~ \"([^\"]*.csproj)\" ]]; then | |
project="${BASH_REMATCH[1]}" | |
read_project "$(echo "$project"|tr '\\' '/')" | |
fi | |
done < "$1" |
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
(New-Object System.DirectoryServices.DirectorySearcher("(&(objectCategory=User)(samAccountName=$($env:userna | |
me)))")).FindOne().GetDirectoryEntry().memberOf |
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
root = true; | |
[*] | |
indent_style = space | |
trim_trailing_whitespace = true | |
end_of_line = lf | |
# Code files | |
[*.{cs,csx,vb,vbx}] | |
indent_size = 4 |
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
dotnet tool install xmldocmd -g |
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
# Add coverlet to the test project(s) | |
dotnet add package coverlet.msbuild | |
# or for VSTest | |
# dotnet add package coverlet.collector | |
# Add the coverlet global cli tool | |
dotnet tool install --global coverlet.console | |
# coverage gutters vscode extension | |
ext install ryanluker.vscode-coverage-gutters |
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
dotnet add package Specflow | |
dotnet add package SpecFlow.MsTest | |
dotnet add package SpecFlow.Tools.MsBuild.Generation | |
dotnet add package FluentAssertions |
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
# |
NewerOlder