Skip to content

Instantly share code, notes, and snippets.

@YouROK
YouROK / 1 Установка
Last active March 11, 2024 10:09
Install Antizapret to vps
Установка проверялась на Ubuntu 20.04, на других версиях может не работать
Для установки на впс зайдите на совой впс по ssh из под рута, скопируйте строку ниже и вставьте в терминал
rm install-az.sh; wget https://gist.githubusercontent.com/YouROK/21617b476ea914cc5b76d72903d6702f/raw/install-az.sh && chmod +x ./install-az.sh && ./install-az.sh
После установки, если нет подключения, то нужно добавить эти строчки перед ключами
pull-filter ignore block-outside-dns
route 8.8.8.8 255.255.255.255 vpn_gateway
route 77.88.8.8 255.255.255.255 vpn_gateway
@AlexYukikaze
AlexYukikaze / example.py
Last active November 22, 2016 09:30
World of Tanks remote REPL console for interactive debugging
from mods.remote import create_terminal
from gui import SystemMessages
def add_info(text):
SystemMessages.pushMessage(text, type=SystemMessages.SM_TYPE.Information)
def add_warning(text):
SystemMessages.pushMessage(text, type=SystemMessages.SM_TYPE.Warning)