Skip to content

Instantly share code, notes, and snippets.

View AlgorithmAlchemy's full-sized avatar
💭
Open to job opportunities

AlgorithmAlchemy AlgorithmAlchemy

💭
Open to job opportunities
View GitHub Profile
git init # Инициализировать репозиторий
git add . # Добавить все файлы
git commit -m "initial commit" # Создать первый коммит
git branch -M main # Создать (или переименовать) главную ветку
git remote add origin https://github.com/ТВОЙ_ЮЗЕРНЕЙМ/ИМЯ_РЕПОЗИТОРИЯ.git # Добавить удалённый репозиторий
git pull origin main --rebase # сохранить и объединить их с твоими
git push -u origin main # Залить на GitHub
@Tishka17
Tishka17 / pincode.py
Last active March 11, 2023 18:20
pincode dialog example
import asyncio
import logging
from typing import Any
from aiogram import Bot, Dispatcher
from aiogram.contrib.fsm_storage.memory import MemoryStorage
from aiogram.dispatcher.filters.state import StatesGroup, State
from aiogram.types import CallbackQuery
from aiogram_dialog import Dialog, DialogManager, Window, DialogRegistry, Data