This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This macro allows to use CapsLock instead of Space clicker. | |
Recomends to set CaplsLock disabler to Shift. | |
*/ | |
#include <windows.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
import datetime | |
import random | |
from typing import Optional | |
from telethon import TelegramClient | |
from telethon.sessions import MemorySession | |
API_ID: int = ... | |
API_HASH: str = ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Template classes interface for python like in c++ | |
in C++: any_class<any> | |
in Python: any_class[any] | |
""" | |
from typing import Iterable, Type, Tuple, Union, NoReturn, Any, Dict, TypeVar | |
BC = TypeVar("BC") |