Linkdump 27/2024

- Series

shell

gitlab-rails console
# on rails console:
Notify.test_email('you@example.com', 'Message Subject', 'Message Body').deliver_now

shell

gitlab-rake "gitlab:password:reset[root]"

shell

gitlab-psql -d gitlabhq_production
# on PSQL-Shell 
DELETE FROM application_settings;

Linux Terminal key combinations

Get all available container images

shell

curl --insecure -s -X GET -u user:pass https://container-registry:5000/v2/_catalog | jq
{
  "repositories": [
    "alpine-base",
    "alpine_base",
    "alpine_base_apache",
    "alpine_base_tomcat",
    "alpine_base_wildfly",
    "alpine_dimag_ingestlist",
    "alpine_dimag_ipm",
    "alpine_dimag_km"
  ]
}

Get al available tag of a container image

shell

 curl -s --insecure -X GET -u user:pass https://container-registry:5000/v2/alpine_base_apache/tags/list | jq
 {
  "name": "alpine_base_apache",
  "tags": [
    "latest",
    "php82"
  ]
}

Comments

With an account on the Fediverse or Mastodon, you can respond to this post. Since Mastodon is decentralized, you can use your existing account hosted by another Mastodon server or compatible platform if you don't have an account on this one. Known non-private replies are displayed below.

Learn how this is implemented here.