Skip to content

Instantly share code, notes, and snippets.

View zavolo's full-sized avatar

Кирилл zavolo

View GitHub Profile
@zavolo
zavolo / mail
Created February 1, 2026 18:54
mailcow
upstream mailcow {
server 192.168.3.3:8080;
keepalive 32;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name mail.example.com autodiscover.example.com autoconfig.example.com;
ssl_certificate /etc/letsencrypt/live/mail.example.com/fullchain.pem;
@zavolo
zavolo / configure-vm.py
Created January 31, 2026 08:53
shindows
import os
import json
import subprocess
import re
import sys
import shutil
import ctypes
import urllib.request
import urllib.error
@zavolo
zavolo / openvk_debian_install.sh
Last active May 28, 2023 11:12
openvk_debian_install
#!/bin/bash
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "Not running as root"
exit
fi
INITIAL_PWD=$(pwd)
## Сonfigure openssh-server
echo -e "\n\e[32mRunning configure openssh-server...\e[0m"