You learned how to combine Nginx Proxy Manager with Cloudflare in the previous article. Moreover, You have added the SSL Certificate of your domain to your Nginx Proxy Manager. This tutorial will teach you how to self-host a WordPress website using docker and to reverse proxy your WordPress container using Nginx Proxy Manager. Step…
How to check the S.M.A.R.T (SMART) status of your HDD/SSD/M2 drive on Linux
On Windows, one can install CrystalDiskInfo and check the S.M.A.R.T info such as the remaining life of a SSD / M2 drive easily. This article will introduce a software called smartmontools. It provides similar function to CrystalDiskInfo on your Linux devices and can be executed on CLI only server. On Ubuntu 22.04, install smartmontools…
How to use a Discord bot to update Google Spreadsheet using Python
Prerequisite: You have put your credential JSON file into your Python project directory, and you must install nest-asyncio, discord, keyring, gspread and oauth2client in your Python environment. You may install these libraries by Step 1: The channel id is the last part of the Discord link on your server. It will be defined as…
How to create a discord bot
In the previous article, you can access and update your Google Spreadsheet using Python, and you have created our Telegram Bot and stored it on our Python password vault – keyring. Eventually, you can perform simple authentication with your Telegram Bot. This tutorial will teach you how to create a Discord bot and add it to…
How to minimize latency on corosync when forming Proxmox Cluster using VPN
Recently I read some articles referring to my previous article on creating Proxmox Cluster using VPN. There is no doubt that there will be a synchronization issue on the Proxmox Cluster when the latency of each node is high. However, the definition of high latency is questionable. Therefore, to understand how latency will affect…
How to create a option list for Telegram Bot for your users
You learned how to secure your Telegram Bot app with simple authentication in the previous article. This article will teach you how to create an option list for your users to choose from. The simple question, ‘Which fruit do you like the most?’ will be asked, and three options @Apple, @Watermelon, and @Mango will…
How to secure your Telegram Bot app with a simple authentication method
In the previous article, you can access and update your Google Spreadsheet using Python, and you have created our Telegram Bot and stored it on our Python password vault – keyring. Securing your Telegram Bot app against unauthorized access is essential. A simple authentication method can ensure that only authorized users can access your…
How to secure your local environment variables safely on Python
Nowadays, we can create a Python script to automate some processes by means of accessing the API services provided by other companies. To store those credential keys and sensitive information, using a .env file could be a solution, but you have to ensure you won’t share your .env to the cloud mistakenly. The keyring…
How to create a Bot for Telegram
In the previous article, you learned some simple Python scripts to download and update your Google Spreadsheet. Before we use Google Spreadsheet as a user authentication method for the Telegram bot, we have to get our Telegram Bot first. This article will teach you how to apply for a Telegram Bot. Prerequisite: You have…
How to automate your Google Spreadsheet using Python
In the previous article, you learned how to generate a credential file to access Google Spreadsheet and share a Google Spreadsheet with your Google Cloud service account. This article will provide a simple Python script for downloading Google Spreadsheet to your local drive and updating it to the latest version. The Google Spreadsheet used…