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
# This script will find all subdirectories in the current directory that are Git repos | |
# and whose official GitHub repo has migrated to main but you still have master or dev branches. | |
Push-Location | |
[string[]] $local:repos = @() | |
if (Test-Path -PathType Container .git) { | |
$repos += "$PWD" | |
} else { | |
$repos = Get-ChildItem -Directory -Recurse | |
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
using System.Globalization; | |
using System.Reflection; | |
using Localized._1._1_preview.Models; | |
using Microsoft.AspNetCore.Builder; | |
using Microsoft.AspNetCore.Hosting; | |
using Microsoft.AspNetCore.Mvc; | |
using Microsoft.AspNetCore.Mvc.Razor; | |
using Microsoft.Extensions.Configuration; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.FileProviders; |