# A simple, step-by-step cheatsheet to creating, activating, and managing Python
# virtual environments with venv. This guide also educate you how to install PIP packages
# in your virtual environment. Perfect for beginners on Linux, macOS, and Windows.
# ----- Python Virtual Environments (venv) -----
# 1. Install the venv package.
# On Debian/Ubuntu, you may need to install it separately:
xinit@localhost:~$ sudo apt install python3-venv
# On Windows and…
# A step-by-step guide to securing your new VPS.
# Learn how to create a sudo user, disable root login,
# and configure a UFW firewall to protect your server.
# ----- Initial VPS Security Setup -----
# 1. Create a new user and add to SUDO group:
root@localhost:~$ adduser your_new_user
root@localhost:~$ usermod -aG sudo your_new_user
# 2. Lock the root account to disable direct password login:
xinit@localho…
# Mastering SSH from basic login to port forwarding for remote access:
# Learn how to connect to custom SSH port, use identity keys, run remote
# commands, forward ports for database access with these practical examples
# Basic SSH connection:
xinit@localhost:~$ ssh user@remote-address
# Connect with a custom port (e.g., 2222):
xinit@localhost:~$ ssh user@remote-address -p 2222
# Connect using a specific private key:
…
# Quickly find the largest files and folders that are eating up your disk space
# A practical guide to using "du" and sort to find the top 5 largest directories in Linux
# Check disk usage in the current or any specific path
# Top 5 largest files/folders in CURRENT directory:
xinit@localhost:~$ du -sh * | sort -rh | head -n 5
5.7G Downloads
3.8G Share
2.0G Projects …
# A simple, visual cheatsheet for the `tar` command in Linux.
# Learn how to create (-czvf) and extract (-xzvf) .tar.gz
# archives with practical, copy-paste ready examples.
# Create a .tar.gz archive:
xinit@localhost:~$ tar -czvf archive.tar.gz /path/to/source/dir
# Create a .tar.gz archive with long options:
xinit@localhost:~$ tar \
--create --gunzip --verbose --file \
archi…
# The basic commands for navigation in Linux terminal
# See current location (print working directory)
# List files in directory
# Change directory, return in homedir of current user
xinit@localhost:~$ pwd # Where am I?
/home/xinit
xinit@localhost:~$ ls # What's in here?
Desktop Documents Downloads Music Pictures Public &nbs…
A collection of production-ready, minimal configuration files for OpenVPN servers and clients (Linux, Windows, Android, and pfSense).
Introduction
This article serves as a repository of working, battle-tested OpenVPN configurations. These samples are designed to strike a balance between security (using modern AES-256-GCM encryption) and speed (using UDP and optimized topology).
Unlike complex setups scripts, these are the raw configuration files you need to get a tunnel r…

Wanna build your own blog with articles writing opportunity? Yes, its possible! Today we're build Django based blog application with WYSIWYG editor in Admin panel. It very fast for developing.
Create new Django project or open exist, then create application inside named as blog:
django-admin startapp blog
In blog/models.py file add Model for storing your posts and articles:
from django.db import models
class Article(models.Model):
title = models.CharField(max_length=1024)
&nbs…

Django - powerful framework, writed in Python for building web-based applications. Django use model-view-control (MVC) software designing pattern. With Django you can develop applications from simple sites to complex high-loaded systems. The most important idea of Django - don’t repeat yourself (DRY) philosophy. Django have a lot of out-of-box classes and functions for building beautiful applications.
This tutorial help you for start working with Django framework: create virtual environment, sta…
r - read file without making any changes.
w - write in file. If fi…