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
kubectl config get-contexts | |
kubectl config use-context aks_asadfs_tst | |
----------------------------------------------------------- | |
kubectl get svc | |
kubectl get pods | |
kubectl port-forward svc/asai-template 8888:80 | |
kubectl logs asai-template-d6d74fc89-z8pn9 |
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
/opt/bitnami/kafka/bin$ | |
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 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.Text.Json; | |
using System.Text.Json.Serialization; | |
string json = """ | |
{ | |
"Status": "PENDING" | |
} | |
"""; | |
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 .\src\{projectName}.dll --environment=Development --urls=http://0.0.0.0:5202 |
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
C:\Users\{userName}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup | |
Put `git_script.ahk` script in the above location. |
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
{ | |
"$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 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
Set-PSReadLineOption -PredictionViewStyle ListView -PredictionSource History -HistoryNoDuplicates | |
Import-Module -Name Terminal-Icons | |
Import-Module posh-git | |
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 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
$.body..accountDetails[?(@.productId=="SmallLoan")]..accountNumber | |
$.body[?(@.customerId==1426)].accountDetails[?(@.productId=="SmallLoan")] |
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 update --global --configfile "D:\CSHARK\Nuget\NuGet-OfficialOnly.config" dotnet-ef |
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
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 |
NewerOlder