Skip to content

Instantly share code, notes, and snippets.

Client: Docker Engine - Community
Version: 20.10.9
API version: 1.41
Go version: go1.16.8
Git commit: c2ea9bc
Built: Mon Oct 4 16:08:29 2021
OS/Arch: linux/amd64
Context: default
Experimental: true
@Tiendil
Tiendil / gist:e172ef7d19db4ff4625f5f64ba8d2230
Created August 14, 2020 10:27
информация о клетке (13, 13)
(venv) the_tale@the-tale:~/current$ django-admin map_cell_info -x 13 -y 13 --settings the_tale.settings
[INFO 2020-08-14 10:25:10,467 base 20642] run command "map_cell_info"
[INFO 2020-08-14 10:25:10,468 logic 20642] lock "game_commands" requested
[INFO 2020-08-14 10:25:10,469 logic 20642] lock "game_commands" received
[INFO 2020-08-14 10:25:10,470 logic 20642] lock "map_cell_info" requested
[INFO 2020-08-14 10:25:10,471 logic 20642] lock "map_cell_info" received
[INFO 2020-08-14 10:25:10,471 base 20642] run logic
[INFO 2020-08-14 10:25:11,304 map_cell_info 20642] ----CELL--x=13--y=13--
[INFO 2020-08-14 10:25:11,304 map_cell_info 20642] height: 0.24 | [0.12649923566545024, 0.07137852243056358]
[INFO 2020-08-14 10:25:11,304 map_cell_info 20642] temperature: 0.70 | 0.822790
@Tiendil
Tiendil / gist:837423689595e548b0b22f20c2c2149f
Created July 16, 2019 08:45
smart imports config example
{
"cache_dir": "./.smart_imports",
"rules": [{"type": "rule_custom",
"variables": {"mock": {"module": "unittest.mock"},
"tt_calendar": {"module": "tt_calendar"},
"tt_artifacts_relations": {"module": "tt_logic.artifacts.relations"},
"tt_cards_constants": {"module": "tt_logic.cards.constants"},
"tt_beings_relations": {"module": "tt_logic.beings.relations"},
"tt_logic_checkers": {"module": "tt_logic.common.checkers"},