This page describes how to setup Cert-manager and generate TLS/SSL certificates automatically using Cert-manager on Kubernetes.
- Kubernetes
- Helm Package Manager Tool
| --- | |
| - name: Ejecutar Proceso con VAULT_TOKEN | |
| hosts: localhost # Puedes ajustar los hosts según tu entorno | |
| gather_facts: false # Desactivar recopilación de hechos | |
| vars: | |
| vault_address: "http://direccion-de-tu-vault:8200" # Ajusta la dirección de tu Vault Server | |
| tasks: | |
| - name: Establecer VAULT_TOKEN como variable de entorno |
| // TestMacro.scala | |
| import scala.quoted.* | |
| object TestMacro { | |
| inline def name[E](e: E): String = ${ nameImpl[E]('e) } | |
| def nameImpl[E: Type](e: Expr[E])(using Quotes): Expr[String] = { | |
| import quotes.reflect.* |
➜ ~ sudo fdisk /dev/sda
Welcome to fdisk (util-linux 2.34).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): p
Disk /dev/sda: 24.42 GiB, 26214400000 bytes, 51200000 sectors
| # Send prefix | |
| set-option -g prefix C-a | |
| unbind-key C-a | |
| bind-key C-a send-prefix | |
| # Use Alt-arrow keys to switch panes | |
| bind -n M-Left select-pane -L | |
| bind -n M-Right select-pane -R | |
| bind -n M-Up select-pane -U | |
| bind -n M-Down select-pane -D |
===================
gsettings set org.gnome.desktop.wm.preferences button-layout 'close,maximize,minimize:'gsettings set org.gnome.desktop.wm.preferences button-layout ':close,maximize,minimize'gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'==============================
gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'chown: folder_namescp gitlabhq_stag.backup [email protected]:/gitlab-data/dumpscp file.txt [email protected]:/remote/directoryscp -P 2322 file.txt [email protected]:/remote/directory| object Solution { | |
| def solution(N: Int): Int = { | |
| if (N < 1) sys.error(s"Invalid input: $N") | |
| @scala.annotation.tailrec | |
| def foo(i: Int, total: Int): (Int, Int) = { | |
| if ((i * i) >= N) (total, i) | |
| else if (N % i == 0) foo(i + 1, total + 2) | |
| else foo(i + 1, total) | |
| } |