Linux

Debian basic config

toggle python 3 by default instead of python 2.7 debian is still delivered with 2.7 as the default version of python. /usr/bin/python is in fact a symlink to the current default versions binary. The update-alternatives scripts allows to change this….
Read more

Crontab Genrator

I just can’t remember this lol https://crontab.guru/ https://crontab-generator.org/ addind cron jobs : 1- crontab -e 2- use the link above to create the schedule “following the path and the script to execute “don’t forget to make the script executable” 3-…
Read more

Git

Git object types: – Blob – Tree – Commit – Annoted Tag Git low-level commands: git hash-object git cat-file git mktree echo “Hello, Git” | git hash-object –stdin -w b7aec520dec0a7516c18eb4c68b64ae1eb9b5a5e

Linux commands

echo $PATH = will show all executable commands path available. export PATH=$PATH:/home/dir/dir = will add this path to the executable path available which “name” = will show the path of the executable “name” man = get in deep help on…
Read more

Virtual Environment

Install : apt-get update apt install python3-virtualenv cd ~ cd VENV virtualenv virtualenv-3.6 -p /usr/bin/python36 “virtual env name” ll or ls -lart This is going to create a new sandbox source “virtual env name”/bin/activate  <— this is to active it which…
Read more