Posted in DevOps/Sysadmin hacks

GNU/Linux hacks

Show folders size sorted: root@mail:~# du -h –max-depth=1 /home/admin/mail/evgdev.com/ | sort -h ┬á Route tricks Show routes:…

Posted in DevOps/Sysadmin hacks

Mikrotik hacks

How to install Python and Virtual Environment on RouterOS Mikrotik?

Posted in Python

Checking the status of network devices with Python and sending messages to Telegram

I wanted to quickly get information about when the power goes out in my house. Having a…

Posted in Python

How to run Python bot as a service in Ubuntu Linux?

I like building Python bots. Especially for telegram – I think this messenger is very relevant and…

Posted in Python

How to be always online in Telegram? -Python/Telethon

Previously, I have already developed bots for Telegram with Aiogram. But those bots worked exactly like telegram…

raspberry-pi-temp-control
Posted in Arduino

Linux Ubuntu Raspberry PI temperature control script

Today I am sharing my simple and at the same time useful Linux script which checks the…

Posted in Python

How to create telegram bot with Aiogram and Finite State Machine

I decided to understand Finite State Machine – because my bots had one function up to this…

Posted in Python

How to generate xlsx file from Django model

As you may have guessed, my reporting project is entirely focused on helpdesk events recording. At the…

Posted in Web

How to add a click on a row in a table and keep the links active

In my report project, I wanted to make a transition to the event (task) page directly from…

Chief Django
Posted in Python

How I Landed My Chief on a Separate View Rule in Django

In my project, when requesting the showinfo page, the user gets information about their work by default….