For use in search boxes n the github UI
is:pr is:closed merged:2022-06-08..2022-06-09 base:main sort:updated-desc
helm upgrade name-of-your-local-app-chart ./<helm-config-dir>/. \ | |
--install \ | |
--dry-run \ | |
--namespace=your-namespace \ | |
--values ./<helm-config-dir>/<your-values-file>.yaml \ | |
--set image.repository="som-ecr-repo-not-needed-for-dry-run" \ | |
--set image.tag="some-commit-sha-not-needed-for-dry-run" |
[brew uninstall postgresql@14] | |
# check version specific path | |
[brew install postgresql@16] | |
sudo ln -sf /opt/homebrew/Cellar/postgresql@16/16.2_1/bin/postgres /usr/local/bin/postgres | |
brew install postgis | |
# utilities if you need them installed | |
brew install wget |
# ---------------------------------------------- | |
# git related aliases | |
# ---------------------------------------------- | |
alias gb='git branch -v' | |
alias glp='git log --first-parent --pretty=format:"%h - %an, %ar : %s"' | |
alias gl='git log --pretty=format:"%h - %an, %ar : %s" $(git symbolic-ref refs/remotes/origin/HEAD | sed "s@^refs/remotes/origin/@@")...' | |
alias gil='git log --pretty=format:"%h - %an, %ar : %s"' | |
alias gls='git log --pickaxe-regex -S' | |
alias gd='git diff' | |
alias gs='git show' |
Add this after github action step you want to interactively debug
- uses: actions/checkout@v3
- name: Setup tmate session
# place in ~/.pryrc | |
if defined?(Pry) | |
Pry.config.color = true | |
Pry.config.prompt_name = 'Pry:' + File.basename(Dir.pwd) | |
Pry.commands.alias_command 'wami', 'whereami' | |
Pry.commands.alias_command 'c', 'continue' | |
Pry.commands.alias_command 's', 'step' | |
Pry.commands.alias_command 'n', 'next' |
In fee calculator app root dir create a virtual env for a specific version of python (I am using 3.8.3, latest at time of writing), and give it a name.
$ cd .../laa-fee-calcultor
read AWS_ACCESS_KEY_ID ARN URL AWS_SECRET_ACCESS_KEY <<<$(kubectl --context <context> -n <namespace> get secret <secret> -o json | jq -r '.data[] | @base64d'); printf "$AWS_ACCESS_KEY_ID\n$ARN\n$URL\n$AWS_SECRET_ACCESS_KEY" |