POSTS / EN
All posts
Archive of technical notes: Python, Django, PostgreSQL, Linux, Docker, and Kubernetes.
2023
- Alter all tables to set owner in PSQL
It is not enough to set grant all for the imported database. You have to change ownership to...
read - Creating Dockerfile
Difference between CMD and ENTRYPOINT
read - Base Docker commands
I had to write this article for myself, because there are a lot of Docker commands I need to...
read - Emulation, Virtualization and WSL with WSL2
Imagine, you want linux on Windows. You want to run some linux apps, have linuxbased manage...
read - Permission denied after import DB in PostgreSQL
This post extends previous with the similar title.
read - Tips&Tricks in Linux CLI I widly use, part 2
So, in first part I wrote about keys I push to improve expirience with Linux CLI. Now I want...
read - Tips&Tricks in Linux CLI I widly use, part 1
Stop! Do not go away! I know that there are a really huge number of useful CLI commands in...
read - SSH auth key forwarding
Ok, Let's imagine that you have git repositary with the code you need to run in production...
read - Daemonization in Linux
First of all, let's figure it out what is daemonization. Imagine, you have simple python...
read - Explaining domain, DNS, NS-server, IP relationship
This is a common problem with newbies, they don't understand relationship between things in...
read - Dot notation with clousures in Python
Let's dive some deeply in closures in Python. Look at this example:
read - Inside one of the Python magic methods
Of course you know this Python syntactic sugar like:
read - Closures in Python
Not everyone programmer knows what is closures, but it is quite interesting, so I'm going to...
read - Understanding intermediate model with many-to-many relationship in Django
Manytomany relationship in Django generate third (intermediate) model which store keytokey...
read - Why do we need migrations in Django
I have three iterations of my relationship with migrations in Django. When saw it at first...
read - Finite State Machine as a state control
I don't have really big experience in programming right now, but I often encounter with such...
read - To annotate or do not to annotate
Python is not strict annotated language. That means I don't need to set variable type. But...
read - OR and AND in Python
Logical operators in Python is not just "logical". You will have powerful tool If you...
read - Permission denied after GRAND ALL in PostgreSQL
The usual behavior if you need to create a new database with a new user in PostgreSQL is to...
read - Query Manager in Django ORM
When you write some query in Django ORM you always see this word objects. For example:
read - Hello World
Well, here is the first post in my blog. Let's see how Hugo and Github Pages work together.
read