Observer Design Pattern
In observer patterns, one of the behavioural design patterns, there are 3 elements in this design pattern: Event, Observer and Subject. A Subject maintains a…
In observer patterns, one of the behavioural design patterns, there are 3 elements in this design pattern: Event, Observer and Subject. A Subject maintains a…
Önceki makalemde versiyon geçmişindeki bir commit’i nasıl düzelteceğimizi anlatmıştım. Bu makalede rebase ile squash nasıl yapılır onu anlatacağım. Yukardaki resim yapacağımız işlemin özeti gibi. Feature…
Önceki git makalemde yeni bir commit çıkmadan son commit üzerinde değişiklik yapmayı göstermiştim. Şimdi versiyon geçmişindeki herhangi bir commit’te rebase komutu ile nasıl değişiklik yaparız…
There are two fields in Django that take upload_to parameter. With this parameter, you can define to which folder your files will be persisted. There…
As it is written in the docstrings of deconstructible, this decorator allows your classes to be serialized by the migrations subsystem in Django. What does…
Bu makalede hashing’e küçük bir giriş yapacağım. Hashing ile ilgili konulara diğer makalelerimde değiniyor olacağım. Hashing metotlarının sergilediği davranışları şu şekilde özetleyebiliriz: Verilen bir input…
I searched how to write a single file Django app so I can test Django features fast. I searched the internet and found the safest…
On Ubuntu, with a clear setup, there is only a UI element in the right top corner of the desktop screen which allows us to…
Lazy evaluation has a wide range of use areas. Especially, if your code includes some expensive execution codes like some sort of requests at instantiation,…
When we opened a file in Python and try to read inside its content we use the read() method which returns a sequence. A sequence…