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
# Импортируем всё необходимое из aiogram | |
from aiogram import Bot, Dispatcher | |
from aiogram.filters import CommandStart | |
# Импортируем всё необходимое из стандартных библиотек | |
import asyncio | |
import logging | |
import sys | |
# Указываем токен бота из @BotFather |
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
#!/usr/bin/python3 | |
import os, sys, subprocess, signal | |
LAUNCHER_DATA = os.path.expanduser('~') + '/.local/share/mcpelauncher/' | |
USAGE = "Usage: mclaunch.py <version> [x32/x64 (default: x64)]" | |
if not (2 <= len(sys.argv) <= 3): | |
print(USAGE) |
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
#include <bits/stdc++.h> | |
using namespace std; | |
#define NUM_EPOCHS 250000 | |
int main(){ | |
ios_base::sync_with_stdio(false); | |
cin.tie(nullptr); | |
cout.tie(nullptr); |
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 json, itertools, sys | |
ARTIFACT_PATH = "resources/ExcelBinOutput/ReliquaryExcelConfigData.json" | |
MAINSTAT_PATH = "resources/ExcelBinOutput/ReliquaryMainPropExcelConfigData.json" | |
AFFIX_PATH = "resources/ExcelBinOutput/ReliquaryAffixExcelConfigData.json" | |
EQUIP_TYPES = { | |
"EQUIP_BRACER": "flower", | |
"EQUIP_NECKLACE": "plume", | |
"EQUIP_SHOES": "sands", |
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
#include <bits/stdc++.h> | |
using namespace std; | |
#define vi vector<int> | |
#define vvi vector<vector<int>> | |
minstd_rand mtrand; | |
int cost(vvi &t, int n, int m){ |
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
<?php | |
declare(strict_types=1); | |
interface Packets361{ | |
public const LOGIN_PACKET = 0x01; | |
public const PLAY_STATUS_PACKET = 0x02; | |
public const SERVER_TO_CLIENT_HANDSHAKE_PACKET = 0x03; | |
public const CLIENT_TO_SERVER_HANDSHAKE_PACKET = 0x04; |
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
<?php | |
namespace Encritary; | |
use pocketmine\entity\Entity; | |
use pocketmine\entity\Villager; | |
use pocketmine\event\Listener; | |
use pocketmine\event\player\PlayerInteractEvent; | |
use pocketmine\event\player\PlayerQuitEvent; | |
use pocketmine\event\server\DataPacketReceiveEvent; |
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
<?php | |
namespace Encritary; | |
use pocketmine\entity\Entity; | |
use pocketmine\entity\Villager; | |
use pocketmine\event\Listener; | |
use pocketmine\event\player\PlayerInteractEvent; | |
use pocketmine\event\player\PlayerQuitEvent; | |
use pocketmine\event\server\DataPacketReceiveEvent; |