To generate projects in OpenShift with unique names without manually intervention:
Via REST API:
TOKEN=$(oc whoami -t)
ENDPOINT=$(oc config current-context | cut -d/ -f2 | tr - .)
curl -k \
-X POST \To generate projects in OpenShift with unique names without manually intervention:
Via REST API:
TOKEN=$(oc whoami -t)
ENDPOINT=$(oc config current-context | cut -d/ -f2 | tr - .)
curl -k \
-X POST \| # Part of a blog post about lambda calculus on my website: | |
| # https://www.matthiaspreu.com/posts/lambda-calculus-recursion/ | |
| # Y combinator based on the expression: | |
| # | |
| # Y = λf.(λx.f(xx))(λx.f(xx)) | |
| Y <- function(f) { | |
| fxx <- function(x) { f((x)(x)) } | |
| (fxx)(fxx) |
| #!/bin/env bash | |
| set -eo pipefail | |
| # | |
| # Part of a Fedora CoreOS blog post on my website: | |
| # https://www.matthiaspreu.com/posts/fedora-coreos-embed-ignition-config/ | |
| # | |
| # Script modifies a FCOS virtual machine image and injects | |
| # an Ignition configuration in it. | |
| # |
| #!/bin/env bash | |
| set -eo pipefail | |
| # | |
| # Part of an introductory Fedora CoreOS blog post on my website: | |
| # https://www.matthiaspreu.com/posts/fedora-coreos-first-steps/ | |
| # | |
| # Script sets up a FCOS virtual machine using QEMU. | |
| # | |
| # Initial user "matthias" with password "test" can be used. |