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
| version: 2 | |
| updates: | |
| # | |
| # NuGet dependencies | |
| # | |
| - package-ecosystem: "nuget" | |
| directory: "/" |
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
| version: 2 | |
| updates: | |
| # | |
| # NuGet dependencies | |
| # | |
| - package-ecosystem: "nuget" | |
| directory: "/" | |
| schedule: |
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
| version: 2 | |
| updates: | |
| - package-ecosystem: "npm" | |
| directory: "/" | |
| schedule: | |
| interval: weekly | |
| open-pull-requests-limit: 50 | |
| assignees: |
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
| #r "nuget: NuGet.Protocol, 6.9.1" | |
| #r "nuget: NuGet.Versioning, 6.9.1" | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using System.IO.Compression; | |
| using System.Net.Http; | |
| using System.Text.Json; |
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
| param ( | |
| [switch]$DryRun, | |
| [switch]$Verbose | |
| ) | |
| # 🕓 Track start time | |
| $StartTime = Get-Date | |
| $LogEntries = @() | |
| # 🛡️ Admin check |
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
| <# | |
| .SYNOPSIS | |
| Extracts developer contribution data from local Git repositories (excluding GitHub) using the CodersRank repo_info_extractor tool. | |
| .DESCRIPTION | |
| This script automates the discovery and processing of Git repositories that are **not hosted on GitHub**. | |
| It uses the repo_info_extractor to generate JSON contribution files, which can be uploaded to CodersRank to compute your developer profile score. | |
| .REQUIREMENTS | |
| - The executable `repo_info_extractor_windows.exe` should be in the same directory or in your PATH. |
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
| @echo off | |
| setlocal enabledelayedexpansion | |
| :: Define the list of directories to clean | |
| set DIR_LIST=bin obj node_modules target\debug target\tmp .angular .terraform visuals\traces visuals\videos visuals\screenshots visuals\information | |
| set ADDITIONAL_DIR_LIST=%temp% C:\Windows\Temp C:\Users\%username%\AppData\Local\Temp C:\ProgramData\Microsoft\Windows\WER\ReportQueue C:\Windows\SoftwareDistribution\Download | |
| set VS_CODE_DIR=%APPDATA%\Code\Cache %APPDATA%\Code\Cookies %APPDATA%\Code\LocalStorage %APPDATA%\Code\User\workspaceStorage | |
| set VS_DIR=C:\Users\%username%\AppData\Local\Microsoft\VisualStudio | |
| set PYTHON_CACHE_DIR=%APPDATA%\Local\pip\cache | |
| set GO_CACHE_DIR=%GOPATH%\pkg\mod |
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
| services: | |
| cosmosdb: | |
| image: mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest | |
| container_name: cosmosdb | |
| deploy: | |
| resources: | |
| reservations: | |
| cpus: "0.1" | |
| memory: 1.5G |
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
| name: SonarCloud Analysis | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: |
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
| const ghToken = pm.globals.get("GH_PAT"); | |
| const authorizationHeader = `Authorization: Bearer ${ghToken}`; | |
| const fileName = "appveyor.yml"; | |
| const pattern = "ps: $COVERLET_FORMATS = @('cobertura', 'lcov', 'opencover')"; | |
| const issueTitle = "Run all coverage formats at once per project"; | |
| const issueBody = "**Is your feature request related to a problem? Please describe.**\r\nRun all coverage formats at once per project\r\n\r\n**Describe the solution you'd like**\r\nReplace the actual code:\r\n```ps\r\n- ps: $TEST_PROJECTS = (Get-ChildItem -Path .\Tests\**\ -Recurse -Include *.csproj).Fullname\r\n- ps: $COVERLET_FORMATS = @('cobertura', 'lcov', 'opencover')\r\n- ps: |\r\n foreach($testProject in $TEST_PROJECTS)\r\n {\r\n foreach($coverletFormat in $COVERLET_FORMATS)\r\n {\r\n dotnet test $testProject /p:CollectCoverage=true /p:CoverletOutputFormat=\"$coverletFormat\"\r\n }\r\n }\r\n```\r\n\r\nWith the following code:\r\n```ps\r\n- ps: $TEST_PROJECTS = (Get-ChildItem -Path .\ |
NewerOlder