I hereby claim:
- I am fabaff on github.
- I am fabaff (https://keybase.io/fabaff) on keybase.
- I have a public key whose fingerprint is 2F6C 930F D3C4 7E38 6AFA 4EB4 E23C D2DD 36A4 397F
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| """Get the temperature and the humidity from a XY-MD02 sensor.""" | |
| from pymodbus.client import ModbusSerialClient as ModbusClient | |
| from pymodbus.constants import Endian | |
| from pymodbus.payload import BinaryPayloadDecoder | |
| SERIAL_PORT = "/dev/ttyUSB0" | |
| BAUDRATE = 9600 | |
| SLAVE_ID = 1 |
| [Unit] | |
| Description=A simple node.js Web server | |
| After=network.target | |
| [Service] | |
| Type=simple | |
| User=nobody | |
| Group=nobody | |
| Restart=always | |
| ExecStart=/usr/bin/http-server /var/www/nodejs -p 8888 -s |
| """Support for the SpaceAPI.""" | |
| from contextlib import suppress | |
| import voluptuous as vol | |
| from homeassistant.components.http import HomeAssistantView | |
| from homeassistant.const import ( | |
| ATTR_ENTITY_ID, | |
| ATTR_ICON, | |
| ATTR_LOCATION, |
| # This simple script helps to setup a basic PXE Server in an existing | |
| # environment on a Fedora-based system. | |
| # | |
| # Licensed under GPLv2 | |
| # | |
| # Copyright (c) 2013 Fabian Affolter <fabian at affolter-engineering.ch> | |
| TFTP_PATH=/var/lib/tftpboot | |
| yum -y install tftp-server syslinux |
| esphome: | |
| name: gas_quadrat | |
| platform: ESP8266 | |
| board: nodemcuv2 | |
| logger: | |
| level: VERBOSE | |
| wifi: | |
| ssid: SSID |
| esphome: | |
| name: pm | |
| platform: ESP32 | |
| board: esp32dev | |
| wifi: | |
| ssid: 'YOUR_SSID' | |
| password: 'YOUR_PASSWORD' | |
| mqtt: |
| import asyncio | |
| import binascii | |
| import json | |
| import serial_asyncio | |
| class Prg320Output(asyncio.Protocol): | |
| """Get the output of PRG320.""" | |
| def connection_made(self, transport): |
| #!/bin/sh | |
| #---- | |
| # bootstrap fedora21 | |
| #release=$(cat /etc/fedora-release | awk '/^Fedora/ {print $3}') | |
| #arch=$(arch) | |
| release=21 | |
| arch=x86_64 | |
| ROOTFS=/var/lib/libvirt/lxc/fedora$release-$arch |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
I hereby claim:
To claim this, I am signing this object: