This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Add this function to your .bashrc file. | |
| kube-merge() { | |
| local files=(~/.kube/config ~/.kube/*.yml) | |
| KUBECONFIG=$(IFS=:; echo "${files[*]}") kubectl config view --merge --flatten > ~/.kube/config | |
| unset KUBECONFIG | |
| echo "Kubeconfigs merged in ~/.kube/config" | |
| echo "KUBECONFIG var has been unset" | |
| echo "You can list your current contexts with: $ kubectl config get-contexts" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Instalar Autofirma en CachyOS | |
| sudo pacman -S ccid pcsc-tools opensc | |
| sudo systemctl enable --now pcscd.service | |
| paru -S --noconfirm --skipreview autofirma | |
| #Una vez instalado, Para comprobar si te detecta el lector de DNIE, usa este comando (he sustituido los datos hexadecimales por "AA" por privacidad), y también debería detectar en tiempo real cuando introduces o sacas tu DNIE. | |
| # ❯ pcsc_scan | |
| #PC/SC device scanner |