Skip to content

Instantly share code, notes, and snippets.

View Sergeydigl3's full-sized avatar
😀

Sergey Latu Sergeydigl3

😀
View GitHub Profile
@Sergeydigl3
Sergeydigl3 / .env
Last active November 11, 2025 23:21
Traefik Best wildcard setup
CF_API_TOKEN=token_same
CF_DNS_API_TOKEN=token_same # Idk which token name is valid
CF_EMAIL=[email protected]
DOMAIN_1=ex1.ru
DOMAIN_2=ex2.ru
@Sergeydigl3
Sergeydigl3 / UDPProxy.cpp
Created May 21, 2024 17:35
boost asio udp proxy simulate network issues, latency, packet loss for tests
//
// Created by Serge on 20.05.2024.
//
#include <gtest/gtest.h>
#include <iostream>
#include "protocol/STIP.h"
#include "protocol/Session.h"
#include "protocol/Connection.h"
@Sergeydigl3
Sergeydigl3 / for_tv.m3u
Last active September 11, 2020 19:09
Test
#EXTM3U
#EXTINF:-1 ,12 канал (Красноярск)
http://109.248.114.17:4044/udp/239.195.41.173:1234
#EXTINF:-1 ,2Х2
http://109.248.114.17:4044/udp/239.195.0.21:1234
#EXTINF:-1 ,2х2 (+7)
http://109.248.114.17:4044/udp/239.195.57.21:1234
#EXTINF:-1 ,33 канал (Владимир)
http://109.248.114.17:4044/udp/239.195.41.35:1234
#EXTINF:-1 ,365 ДНЕЙ
#@title Download smth
import requests
from bs4 import BeautifulSoup
from pathlib import Path
from os.path import join
from os import chdir, mkdir
import PIL.Image as Image
from itertools import groupby
main_path = '/content/'