Skip to content

Instantly share code, notes, and snippets.

@ccev
ccev / fort_update.json
Last active June 18, 2023 10:50
Poracle Fortupdate DTS
// poracle/dts/fort_update.json
[
{
"id": 1,
"type": "fort-update",
"default": true,
"platform": "discord",
"templateFile": "dts/fort_update.txt"
}
]
@ccev
ccev / update_protos.py
Last active April 28, 2022 10:40
Create & update Python-compiled PogoProtos
"""
This script will automatically create or update a compiled PogoProtos module for Python.
Make sure to run it from within your project directory.
If you run it, it's going to:
- Create a `protos` directoy
- Create a `pogo.proto` file
- Fill this directoy with an `__init__.py`, `pogo_pb2.py` and a `pogo_pb2.pyi` file
Using PogoProtos in your project is very easy once you ran this script.
@ccev
ccev / template.json
Last active April 11, 2021 21:27
Flo Tileserver Static Maps with a satellite part
{
"grid": [
{
"direction": "first",
"maps": [
{
"direction": "first",
"map": {
"style": "osm-bright",
"latitude": #(lat),