What do you want to save?
Add Code snippet
New code examples
-
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 -
Shell/Bash 2021-08-26 10:42:02
org.apache.spark.api.python.PythonUtils.getPythonAuthSocketTimeout ubuntu
#insert those command in ~/.bashrc file export PYTHONPATH=$SPARK_HOME/python:$SPARK_HOME/python/lib/py4j-0.10.8.1-src.zip:$PYTHONPATH export PATH=$SPARK_HOME/bin:$SPARK_HOME/python:$PATH Add solution -
Shell/Bash 2021-08-26 10:41:01
ubuntu pip3
sudo apt-get -y install python3-pip Add solution