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.Text.Json; | |
using System.Text.Json.Serialization; | |
string json = """ | |
{ | |
"Status": "PENDING" | |
} | |
"""; | |
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 .\src\{projectName}.dll --environment=Development --urls=http://0.0.0.0:5202 |
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
C:\Users\{userName}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup | |
Put `git_script.ahk` script in the above location. |
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
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"console_title_template": "{{.Folder}}{{if .Root}} :: root{{end}}", | |
"blocks": | |
[ | |
{ | |
"segments": | |
[ | |
{ | |
"type": "kubectl", |
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
Set-PSReadLineOption -PredictionViewStyle ListView -PredictionSource History -HistoryNoDuplicates | |
Import-Module -Name Terminal-Icons | |
oh-my-posh init pwsh --config 'C:\Users\Tomasz.Prasolek\AppData\Local\Programs\oh-my-posh\themes\illusi0n.omp.json' | Invoke-Expression | |
$env:POSH_GIT_ENABLED = $true | |
New-Alias sbl "C:\Program Files\Sublime Text\sublime_text.exe" |
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
$.body..accountDetails[?(@.productId=="SmallLoan")]..accountNumber | |
$.body[?(@.customerId==1426)].accountDetails[?(@.productId=="SmallLoan")] |
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 update --global --configfile "D:\CSHARK\Nuget\NuGet-OfficialOnly.config" dotnet-ef |
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
kafka-topics.sh --bootstrap-server localhost:9092 --create --topic dlq-test-performance --partitions 3 --replication-factor 3 --config retention.ms=2419200000 | |
kafka-configs.sh --bootstrap-server localhost:9092 --entity-type topics --entity-name dlq-test-performance --alter --add-config retention.ms=2419200000 |
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
git filter-repo --replace-text expressions.txt | |
File expressions.txt contains only word I want to change |
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
-- xUnit | |
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura | |
reportgenerator -reports:"coverage.cobertura.xml" -targetdir:"coveragereport" -reporttypes:Html | |
-- nUnit | |
dotnet test --collect:"XPlat Code Coverage" | |
reportgenerator -reports:".\TestResults\6531b870-6841-41a7-96fb-534c49347eca\coverage.cobertura.xml" -targetdir:"coveragereport" -reporttypes:Html |
NewerOlder