FYI, I'm using
yq
version 4 bymikefarah
Command:
cat <YAML-FILE-NAME> | yq e -j
Format
https://www.google.com/s2/favicons?domain=example.com
Example
https://www.google.com/s2/favicons?domain=github.com
$ free | grep Mem | awk '{print $3/$2 * 100.0}'
Source: https://www.linuxatemyram.com
# List all apps | |
heroku apps | |
# Delete all apps created by yourself | |
for app in $(heroku apps --json | jq -r '.[] | select(.owner.email == "<insert-heroku-email-here>") | .name'); do echo $app | heroku apps:destroy $app; done | |
# Leave all apps created by others where you were a collaborator | |
for app in $(heroku apps --json | jq -r '.[] | select(.owner.email != "<insert-heroku-email-here>") | .name'); do heroku apps:leave -a $app; done | |
# List all apps again |