Skip to content

Instantly share code, notes, and snippets.

@yipo
yipo / .gitignore
Last active August 29, 2025 06:19
Eaton-like inverter protocol
*.pyc
/.venv/
@yipo
yipo / .gitignore
Last active August 6, 2025 14:00
update event message ids
*.pyc
/.venv/
@yipo
yipo / .gitignore
Last active July 2, 2025 08:59
Modbus holding write with custom function code. (2025-07-02)
*.pyc
/.venv/
@yipo
yipo / .gitignore
Last active June 19, 2025 07:49
Modbus holding write with custom function code.
*.pyc
/.venv/
@yipo
yipo / .gitignore
Last active December 8, 2024 15:58
even up config version
/target
@yipo
yipo / main.py
Created December 3, 2024 19:18
Simple DNP3 Master
if __name__ == '__main__':
pass
@yipo
yipo / .gitignore
Last active November 13, 2024 14:00
photon ↔ icms (device model)
*.pyc
/.venv/
@yipo
yipo / .gitignore
Last active October 18, 2024 04:40
thingnario logger 1.0
*.pyc
/.venv/
@yipo
yipo / .gitignore
Last active September 27, 2024 02:45
photon ↔ icms
*.pyc
/.venv/
@yipo
yipo / Dockerfile
Last active July 7, 2024 18:29
Build a PowerShell Docker image based on Alpine Linux.
# syntax=docker/dockerfile:1
# Based on the installation instructions on the following page.
# https://learn.microsoft.com/powershell/scripting/install/install-alpine
FROM alpine/curl AS download
ARG package=https://github.com/PowerShell/PowerShell/releases/download/v7.4.3/powershell-7.4.3-linux-musl-x64.tar.gz
RUN curl -L $package -o /tmp/powershell.tar.gz
WORKDIR /tmp/release
RUN tar zxf /tmp/powershell.tar.gz