Skip to content

Instantly share code, notes, and snippets.

@korjavin
korjavin / main.py
Created December 9, 2023 13:13
aoc3
import sys
def main():
# Read input from stdin
lines = []
for line in sys.stdin:
chars = list(line.strip())
lines.append(chars)
#print(lines)
- Mini Twitter V1
- SDI
- Требование
- Определения
- friends => те кого я follow
- Функциональные
- Post
- length (120)
- text only
- #hash
### Keybase proof
I hereby claim:
* I am korjavin on github.
* I am korjavin (https://keybase.io/korjavin) on keybase.
* I have a public key ASDDwp4AQWOo9EX-s9bit3TDPveWHy5Fw0w5ZJY0VAvgNwo
To claim this, I am signing this object:

Бот для групповых классов онлайн

Язык интерфейса английский. Нужна передача кода (будут доработки со временем)

Для учителя

    - Дает возможность создать класс, задать время, тему, описание.
        Указывает минимальное кол-во учеников, за сколько дней можно отменить регистрацию.

{"type":"log","@timestamp":"2019-04-17T23:41:33Z","tags":["status","plugin:[email protected]","error"],"pid":1,"state":"red","message":"Status changed from green to red - Request Timeout after 3000ms","prevState":"green","prevMsg":"Ready"}
{"type":"log","@timestamp":"2019-04-17T23:41:33Z","tags":["status","plugin:[email protected]","error"],"pid":1,"state":"red","message":"Status changed from green to red - Request Timeout after 3000ms","prevState":"green","prevMsg":"Ready"}
{"type":"log","@timestamp":"2019-04-17T23:41:33Z","tags":["status","plugin:[email protected]","error"],"pid":1,"state":"red","message":"Status changed from green to red - Request Timeout after 3000ms","prevState":"green","prevMsg":"Ready"}
{"type":"log","@timestamp":"2019-04-17T23:41:33Z","tags":["status","plugin:[email protected]","error"],"pid":1,"state":"red","message":"Status changed from green to red - Request Timeout after 3000ms","prevState":"green","prevMsg":"Ready"}
{"type":"log","@timestamp":"2019-04-17T23:41:33Z","tags":["status","plugin:sear
@korjavin
korjavin / 1
Last active April 7, 2019 09:16
http:///_template/.monitoring-es?pretty
{
".monitoring-es" : {
"order" : 0,
"version" : 6050399,
"index_patterns" : [
".monitoring-es-6-*"
],
"settings" : {
[2019-03-13T06:15:26,835][INFO ][o.e.l.LicenseService ] [elasticsearch-client-bb767468-85j7m] license [20f18ee9-0551-4b88-9b20-9c96d1d5d1ac] mode [basic] - valid
[2019-03-13T06:15:26,994][INFO ][o.e.h.n.Netty4HttpServerTransport] [elasticsearch-client-bb767468-85j7m] publish_address {10.8.7.34:9200}, bound_addresses {0.0.0.0:9200}
[2019-03-13T06:15:26,995][INFO ][o.e.n.Node ] [elasticsearch-client-bb767468-85j7m] started
[2019-03-13T06:16:28,729][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-client-bb767468-85j7m] [gc][68] overhead, spent [323ms] collecting in the last [1s]
[2019-03-13T06:16:29,807][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-client-bb767468-85j7m] [gc][69] overhead, spent [311ms] collecting in the last [1s]
[2019-03-13T06:16:30,866][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-client-bb767468-85j7m] [gc][70] overhead, spent [287ms] collecting in the last [1s]
[2019-03-13T06:16:31,867][INFO ][o.e.m.j.JvmGcMonitorService] [elasticsearch-client-bb767468-85j7m
id name active rejected completed
hKM4PZfISh2SUSafvqk5Xg analyze 0 0 0
hKM4PZfISh2SUSafvqk5Xg fetch_shard_started 0 0 0
hKM4PZfISh2SUSafvqk5Xg fetch_shard_store 0 0 1
hKM4PZfISh2SUSafvqk5Xg flush 0 0 573
hKM4PZfISh2SUSafvqk5Xg force_merge 0 0 0
hKM4PZfISh2SUSafvqk5Xg generic 0 0 481932
hKM4PZfISh2SUSafvqk5Xg get 0 0 29808
hKM4PZfISh2SUSafvqk5Xg index 0 0 0
hKM4PZfISh2SUSafvqk5Xg listener 0 0 0
{
"_shards" : {
"total" : 92,
"successful" : 92,
"failed" : 0
},
"_all" : {
"primaries" : {
"docs" : {
"count" : 45903073,
{
"_nodes" : {
"total" : 7,
"successful" : 7,
"failed" : 0
},
"cluster_name" : "elasticsearch",
"nodes" : {
"aLOsdqVRRgisq9kNEDVafQ" : {
"timestamp" : 1551851149929,