This file has been truncated, but you can view the full file.
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
2022/07/23 11:01:49.628167 info SELECT value FROM `system`.`build_options` where name='VERSION_INTEGER' | |
2022/07/23 11:01:49.633300 info SELECT * FROM system.disks; | |
2022/07/23 11:01:49.644866 info SELECT max(toInt64(bytes_on_disk * 1.02)) AS max_file_size FROM system.parts | |
2022/07/23 11:01:49.652279 info SELECT count() AS is_macros_exists FROM system.tables WHERE database='system' AND table='macros' | |
2022/07/23 11:01:49.656479 info SELECT * FROM system.macros | |
2022/07/23 11:01:49.661356 debug /tmp/.clickhouse-backup-metadata.cache.S3 not found, load 0 elements | |
2022/07/23 11:01:49.661720 info DEBUG: Request s3/ListObjectsV2 Details: | |
---[ REQUEST POST-SIGN ]----------------------------- | |
GET /?delimiter=%2F&list-type=2&max-keys=1000&prefix= HTTP/1.1 |
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
### Keybase proof | |
I hereby claim: | |
* I am k0t3n on github. | |
* I am kotenko (https://keybase.io/kotenko) on keybase. | |
* I have a public key ASAXl56M0oHVwSLbzKWpFBCAZGG4Ba9mrCEeZwm7C60nYgo | |
To claim this, I am signing this object: |
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
{ | |
"swagger": "2.0", | |
"info": { | |
"title": "Stepic DRF API", | |
"version": "v1" | |
}, | |
"host": "127.0.0.1:8000", | |
"schemes": [ | |
"http" | |
], |
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
{ | |
"swagger": "2.0", | |
"info": { | |
"title": "Stepic DRF API", | |
"version": "v1" | |
}, | |
"host": "127.0.0.1:8000", | |
"schemes": [ | |
"http" | |
], |
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
class ActionPossibilityObject: | |
""" | |
Object to implement action possibilities and additional result information | |
""" | |
def __init__(self, possibility, message=None): | |
""" | |
Initialize method | |
:type possibility: bool | |
:type message: str |
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
class Stats(models.Model): | |
TYPES = ( | |
('buy', 'покупка'), | |
('sell', 'продажа'), | |
) | |
type = models.CharField( | |
max_length=5, | |
choices=TYPES, | |
verbose_name='тип' |
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 telebot | |
from telebot import types | |
import json | |
token = "389637297:AAGqkIYOinZnJ1ydo7ut_648SoYxNYxnV50" | |
bot = telebot.TeleBot(token) | |
@bot.message_handler(content_types=["text", "location"]) |
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
### Keybase proof | |
I hereby claim: | |
* I am k0t3n on github. | |
* I am k0t3n (https://keybase.io/k0t3n) on keybase. | |
* I have a public key ASDImY6pPvXST-Mq0sfzk-T8v5Ujq9O6dbDIJiBFczbXvgo | |
To claim this, I am signing this object: |