(Get-AzAppServicePlan -ResourceGroupName "<resource group name>" -Name "<app service plan name>").Sku.Capacity
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
<!doctype html public> | |
<meta charset="utf-8"/> | |
<title>HTML with venderPackages.dll.js</title> | |
<body> | |
<div id="root"></div> | |
<!-- node_modules/PROJECT-NAME-TEMP-FOLDERNAME-dll/vendorPackages.dll.js generated by postinstall.js running webpack with webpack.dll.config.js --> | |
<script src="/vendorPackages.dll.js"></script> | |
<script src="/__build__/bundle.js"></script> | |
</body> | |
</html> |
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
// https://www.meziantou.net/getting-the-date-of-build-of-a-dotnet-assembly-at-runtime.htm | |
using System; | |
using System.Globalization; | |
namespace Core | |
{ | |
[AttributeUsage(AttributeTargets.Assembly)] | |
public class BuildDateAttribute : Attribute | |
{ |
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
using System; | |
using System.Linq; | |
using System.Security.Claims; | |
using System.Threading.Tasks; | |
using Microsoft.AspNetCore.Authentication; | |
using Microsoft.AspNetCore.Authorization; | |
using Microsoft.AspNetCore.Builder; | |
using Microsoft.AspNetCore.Diagnostics; | |
using Microsoft.AspNetCore.Hosting; | |
using Microsoft.AspNetCore.Http; |
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
# using powershell core and ffmpeg | |
ls *.ogg | where { -Not (Test-Path $_.FullName.Replace(".ogg", ".mp3")) } | foreach { | |
$fullName = $_.FullName; | |
$output = $_.FullName.Replace('.ogg', '.mp3'); | |
ffmpeg -i "$fullName" "$output" | |
} |
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 -g JetBrains.ReSharper.GlobalTools | |
jb inspectcode (Get-Item *.sln).FullName -o="jetbrains-inspectcode-results.xml" --absolute-paths --DotNetCore="C:\Program Files\dotnet\dotnet.exe" | |
Get-Content jetbrains-inspectcode-results.xml |
Sources:
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709588
- https://askubuntu.com/questions/216230/remote-desktop-to-ubuntu-has-wrong-keyboard-mapping
km-0414.ini
[noshift]
Key8=65406:0
Key9=65307:27
Key10=49:49
cmd -> set LC_ALL=C.UTF-8
pwsh -> $env:LC_ALL = "C.UTF-8"
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
# Create a 2048-bit RSA Keypair in XML format | |
# | |
# @author Michael Johnson <michael.johnson@snap.md> | |
# @copyright 2016 SnapMD, Inc. | |
# @license https://opensource.org/licenses/BSD-2-Clause Simplified BSD License | |
<# | |
Copyright (c) 2016, SnapMD, Inc. | |
All rights reserved. |
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
############################################################ | |
# Resubmit failed logic app runs | |
############################################################ | |
# Sources: | |
# https://github.com/Azure/logicapps/tree/master/scripts/resubmit-all-failed-runs | |
# https://github.com/Azure/azure-powershell/issues/7752 | |
import-module Az |