This file contains hidden or 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
Arch: win64 | |
CompatData: '' | |
Creation_Date: '2024-04-13 09:00:17.767480' | |
Custom_Path: false | |
DLL_Overrides: {} | |
DXVK: dxvk-async-2.0 | |
Environment: Application | |
Environment_Variables: {} | |
External_Programs: {} | |
Installed_Dependencies: |
This file contains hidden or 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
-- Package manager | |
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" | |
if not vim.loop.fs_stat(lazypath) then | |
vim.fn.system({ | |
"git", | |
"clone", | |
"--filter=blob:none", | |
"https://github.com/folke/lazy.nvim.git", | |
"--branch=stable", -- latest stable release |
This file contains hidden or 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
abstract class ThatElement { | |
var count: Int = 0 | |
private set | |
fun hasCount(count: Int) { | |
this.count = count | |
} | |
} | |
abstract class TestDataBuilder<T : ThatElement, ObjectType>( |
This file contains hidden or 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
{ | |
"tabWidth": 2, | |
"useTabs": false, | |
"singleQuote": true, | |
"semi": true, | |
"trailingComma": "all", | |
"printWidth": 120, | |
"arrowParens": "always", | |
"quoteProps": "as-needed", | |
"bracketSpacing": true, |
This file contains hidden or 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
spring: | |
data: | |
mongodb: | |
uri: ${db_url} | |
telegram: | |
bot-token: ${bot_token} | |
bot-username: ${bot_username} |
This file contains hidden or 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 os | |
import uuid | |
from aiogram import Router, F, Bot, Dispatcher | |
from aiogram.types import Message, InlineKeyboardMarkup, InlineKeyboardButton, \ | |
InlineQuery, InputTextMessageContent, InlineQueryResultArticle | |
TOKEN = os.getenv("TOKEN") | |
router = Router() |
This file contains hidden or 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> | |
<div ref="tgLoginWidget"></div> | |
</template> | |
<script> | |
import { onMounted, ref } from "vue"; | |
export default { | |
name: "TgLoginWidget", | |
props: { |
This file contains hidden or 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 hashlib | |
from aiogram import Router, types | |
from aiogram.types import InputTextMessageContent, InlineQueryResultArticle | |
inline_mode_router = Router() | |
@inline_mode_router.inline_query() |
This file contains hidden or 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
autocmd! bufwritepost $MYVIMRC source $MYVIMRC | |
call plug#begin('~/.vim/plugged') | |
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } | |
Plug 'jiangmiao/auto-pairs' | |
Plug 'tpope/vim-fugitive' | |
Plug 'airblade/vim-gitgutter' | |
Plug 'kien/ctrlp.vim' | |
Plug 'easymotion/vim-easymotion' |
This file contains hidden or 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
autocmd! bufwritepost $MYVIMRC source $MYVIMRC | |
call plug#begin('~/.vim/plugged') | |
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } | |
Plug 'ycm-core/YouCompleteMe' | |
Plug 'jiangmiao/auto-pairs' | |
Plug 'tpope/vim-fugitive' | |
Plug 'airblade/vim-gitgutter' | |
Plug 'kien/ctrlp.vim' |