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.
#| #!/usr/bin/env node | |
| import packagelock from "./package-lock.json" with {type: "json"} | |
| import axios from 'axios' | |
| import jquery from 'jquery' | |
| import { JSDOM } from 'jsdom' | |
| axios.get('https://www.aikido.dev/blog/s1ngularity-nx-attackers-strike-again') | |
| .then(response => { | |
| const dom = new JSDOM(response.data) |
| #!/usr/bin/env node | |
| import packagelock from "./package-lock.json" with {type: "json"} | |
| import axios from 'axios' | |
| import jquery from 'jquery' | |
| import { JSDOM } from 'jsdom' | |
| axios.get('https://www.aikido.dev/blog/s1ngularity-nx-attackers-strike-again') | |
| .then(response => { | |
| const dom = new JSDOM(response.data) |
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