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/env python3 | |
| import asyncio | |
| import hashlib | |
| import json | |
| from re import findall | |
| from typing import Tuple | |
| import httpx | |
| from fastapi import Body, FastAPI | |
| from fastapi.responses import JSONResponse |
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
| # -*- coding: utf-8 -*- | |
| import asyncio | |
| from siokcp.asyncio import open_kcp_connection | |
| async def cb(reader, writer: asyncio.StreamWriter): | |
| data = await reader.read(10) | |
| print(data) | |
| writer.write(data) | |
| await writer.drain() | |
| writer.close() |
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
| # _ _ ____ ____ | |
| # / \ _ __(_) __ _|___ \ | _ \ _ __ ___ | |
| # / _ \ | '__| |/ _` | __) | | |_) | '__/ _ \ | |
| # / ___ \| | | | (_| |/ __/ | __/| | | (_) | | |
| # /_/ \_\_| |_|\__,_|_____| |_| |_| \___/ | |
| # | |
| # https://github.com/P3TERX/Aria2-Pro-Docker | |
| # | |
| # Copyright (c) 2020-2021 P3TERX <https://p3terx.com> | |
| # |
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
| ### Many device configs have been moved to /etc/meshtasticd/available.d | |
| ### To activate, simply copy or link the appropriate file into /etc/meshtasticd/config.d | |
| ### Define your devices here using Broadcom pin numbering | |
| ### Uncomment the block that corresponds to your hardware | |
| ### Including the "Module:" line! | |
| Lora: | |
| # Default to auto-detecting the module type | |
| # This will be overridden by configs from config.d |
OlderNewer