20 Eylül 2021 Pazartesi

Ubuntu commands

  1. lsb_release -a


    
    Başıma gelen en komik şey, orange pi'da "nmap -sP 192.168.1.0/24" komutuna yalnızca 1 cihaz varmış gibi gözükürken "sudo nmap -sP 192.168.1.0/24" için tüm bağlı cihazların ip adreslerini verdi. teee allahım ya 😅

18 Eylül 2021 Cumartesi

Flask Notlar

Python'da virtual env vermek için

1- python -m venv env

2- source env/bin/activate // 1. kodla ürettiğim env'yi system'e tanıtıyor.

3- export FLASK_APP=app.py

4- export FLASK_ENV=development

5- flask run

6- deactivate -> bu komut "source env/bin/activate" 

komutu ile verdiğimiz envoriment'ı bozmak için kullanılıyor.

bu sayfadaki

(https://pythonise.com/series/learning-flask/flask-application-structure)

__init_.py dosyasındaki sırayı bozma çalışmıyor.!!!!!!!


18 Ağustos 2021 Çarşamba

What Does IP Mask Mean?

 

Typically, although the phrase “subnet mask” is preferred, you might use “IP/Mask” as a shorthand to define both the IP address and submask at once. In this situation, the IP address is followed by the number of bits in the mask. For example:

10.0.1.1/24

216.202.192.66/22

These are equivalent to

IP address: 10.0.1.1 with subnet mask of 255.255.255.0

IP address: 216.202.196.66 with a subnet mask example of 255.255.252.0

However, you do not mask the IP address, you mask the subnet.




WebDeviDaily

05/26/2024 Sunday -> This is my first day of web developer. I am new career for my life. This step will never end with lies and not givin...