Recent Posts

Posted in DevOps/Sysadmin hacks

How to convert Thick vmdk to Thin and export to OVF/OVA ESXI virtual machine?

To convert thick volume to thin you must enable SSH in WEB-interface of your ESXI:

Posted in DevOps/Sysadmin hacks

Navigating Phishing Attacks on My Mail Server: Lessons Learned and Effective Security Strategies

What to do if your mail server is targeted by phishing? One of the users of my…

Posted in Python

InstagramSizeBot: Empowering Instagram Posts with Square Photos and Small Frames

The provided program is a Python script that utilizes the aiogram library and PIL (Python Imaging Library)…

Posted in DevOps/Sysadmin hacks

How to set Timezone and Region to all computers of Active Directory

I needed to massively change the region and timezone settings for all computers. To do this, I…

Posted in Coding Python

Server control by Telegram Bot – Run Shell commands by Python

I have more than one Telegram bots for different purposes but one day I realise I need…

Posted in DevOps/Sysadmin hacks

macOS hacks

How to create and run virtual environment on macOS? python3 -m venv venv source venv/bin/activate  

Posted in Coding

Base syntax differences between Python and JavaScript – part 1

Here are some of the syntax differences between Python and JavaScript: Syntax for defining variables: In Python,…

Posted in DevOps/Sysadmin hacks Python

iLo server power on Python script for Telegram Bot

Having a Python Telegram bot with the function to power on servers through HP iLO can be…

Posted in Python

How to get the length of a cursor from mongodb using Python?

In MongoDB, cursors are returned by queries and allow you to iterate over the results of a…

Posted in DevOps/Sysadmin hacks Python

Automatic gracefully shutdown of virtual machines and ESXI hypervisor from telegram bot

Having a Telegram bot interface to control your network can be convenient for a few reasons: Remote…