Credit to https://stackoverflow.com/questions/15511943/troubles-with-rvm-and-openssl
# rvm install <rub-version> --with-openssl-dir=$(brew --prefix openssl@<openssl-version>)
# e.g.
#
Credit to https://stackoverflow.com/questions/15511943/troubles-with-rvm-and-openssl
# rvm install <rub-version> --with-openssl-dir=$(brew --prefix openssl@<openssl-version>)
# e.g.
#
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" |
# Need to remove existing postgis and must not have postgresql@14 present | |
[brew remove postgis] | |
[brew remove postgresql@14] | |
# reinstall json-c once above are removed | |
brew uninstall json-c | |
brew install json-c | |
brew link json-c | |
# install postgresql@16 if not already installed - check version specific path |
# ---------------------------------------------- | |
# 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