kubectl get configmap argocd-cm -n argocd -o yaml > argocd-cm.yml
data:
accounts.<new-username>: apiKey, login
admin.enabled: "false" ##This will disable the admin user, use it only if required
#--- Prereq to install: | |
#--- pip3 install pyttsx3 | |
#--- sudo apt-get install espeak | |
import pyttsx3 | |
# Create TTS engine | |
engine = pyttsx3.init() |
kubectl get configmap argocd-cm -n argocd -o yaml > argocd-cm.yml
data:
accounts.<new-username>: apiKey, login
admin.enabled: "false" ##This will disable the admin user, use it only if required
#!/bin/bash | |
#~~~Creator: Shivesh Abhishek~~~ | |
#Video: https://youtu.be/mDdnsnnNPDI | |
#Make sure to be a root user/user with root privileges. | |
sudo su - | |
#docker installation | |
sudo apt install docker.io |
## Source: https://simpleit.rocks/linux/shell/connect-to-bluetooth-from-cli/ | |
## https://unix.stackexchange.com/questions/258074/error-when-trying-to-connect-to-bluetooth-speaker-org-bluez-error-failed | |
1. Identify your computer bluetooth | |
hcitool dev | |
Devices: | |
hci0 A3:3E:XX:XX:G3:86 |
Set passwordless SSH from A to B:
ssh-keygen
into the machine you want to ssh from(A)cd
into ~/.ssh
mkdir ~/.ssh/
cp id_rsa.pub USER@IP_OF_B:~/.ssh/authorized_keys
The above line will copy id_rsa.pub, into the machine you want to ssh to(B), in the directory ~/.ssh/authorized_keysVokscreenNG is a user friendly Open Source screencaster for Linux and Windows. Github: VokoscreenNG
If you pause the recording, then you'll have to first start the recording before you can stop it.
// For all the confusing Prometheus configuration and | |
// regular expressions, | |
// explained in examples. | |
// Remember, there are default values for each item if it's missing. | |
// regex is (.*), | |
// replacement is $1, | |
// separator is ; | |
// ,and action is replace |
1. Set-up desired namespace as default if you want to work with it for longer period : |
---|
Edit your bashrc and add this lines:
i. vi ~/.bashrc
ii. Paste this and save:
alias ns='kubectl config set-context $(kubectl config current-context) --namespace'
iii. Restart terminal and use:
ns YOURNAMESPACE
http://ubuntuhandbook.org/index.php/2018/08/no-wifi-adapter-found-hp-laptops-ubuntu-18-04/ |
sudo apt-get install docker.io
sudo usermod -a -G docker $USER
reboot
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl