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
type ResourceType = Metal | Gas | |
type MinerId = MinerId of string | |
type MinerResource = | |
{ Type: ResourceType | |
Capacity: int | |
CurrentAmount: int | |
GatherRate: int } |
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
trigger: | |
branches: | |
include: | |
- develop | |
- master | |
paths: | |
include: | |
- ./ | |
resources: |
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 LOg regeX - quickly get the logs of container in a pod | |
# Examples - given a pod named `my-super-cool-long-named-pod-668d74bfcc-r46bw` | |
# - klox r46bw | |
# - klox r46bw daprd (if the pod has two containers and one named 'daprd' | |
klox() { | |
Pod=$(kubectl get pods -o name | grep -i $1) | |
kubectl logs $Pod $2 | |
} | |
# Kubectl Describe regeX - quickly describe a pod |
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
# To update just this file: curl -o ~/.bash_aliases https://gist.githubusercontent.com/LukePammant/bb867e2370aeff4579cbac827f9fd0f8/raw/.bash_aliases && source ~/.bash_aliases | |
alias ..='cd ../' | |
alias ....='cd ../../' | |
alias amend='git add . && git commit --amend --no-edit && git push -f' | |
alias reloadbashprofile='. ~/.bash_profile' | |
alias dnr='dotnet run' | |
alias dnrnp='dotnet run --no-launch-profile' |