What do you want to save?
Add Code snippet
New code examples
-
-
Shell/Bash 2021-08-26 10:58:02
install kubernetes on ubuntu
# Installing Kubectl 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 kube... Add solution -
Shell/Bash 2021-08-26 10:51:01
zsh default editor
# Examples are for vim, but you can change the path # to whatever you want # e.g: /usr/bin/code for visual studio code # In bash: echo "export EDITOR=/usr/bin/vim" >> ~/.bashrc echo "export VISUAL=/usr/bin/vim" >> ~/.bash... Add solution -
Shell/Bash 2021-08-26 10:47:03
linux find text in files recursively -include
# look for airflow Variable usage recursively in it's homepath # include only python and sql files in the search grep --include=\*.{py,sql} -rnw /home/airflow -e 'Variable' # shows how to use exclude... it'll skip data or log files grep --exclude=\*.{dat... Add solution -
Shell/Bash 2021-08-26 10:47:02
install gitpython
# install GitPython (basic, if path is not set yet) py -m pip install GitPython # or set PATH to use pip: setx PATH "%PATH%;C:\<path\to\python\directory\>\Scripts" pip install GitPython # or pip3 install GitPython --upgrade # if "conn... Add solution