Latest Posts
Python “to be define”

Example 1 of how to simplify a code : vars = [1,2,3] result = [num * 2] for var in vars: result.append(num * 2) It can be simplify by : result = [num * 2 for var in vars] Example…
Read more
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
IS-IS
SSL/TLS certificate, NGINX and Apache web servers, create CSR SSL request
SNMP How to test ports

Install Nmap then you can scan ports : Exemple: sudo nmap -sU -p 1162 192.168.142.150 user@XXX# sudo nmap -sU -p 1162 192.168.142.150 Starting Nmap 7.80 ( https://nmap.org ) at 2021-03-17 15:56 UTC Nmap scan report for 192.168.142.150 Host is up…
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
Docker – Alpine

docker alpine is a linux with all minimum networking files/tools to be able to test quick stuff. docker run -it alpine = how to start it. hostname -i ip address ip address | grep inet ip route ifconfig nslookup traceroute…
Read more
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