When using the Python Library python-escpos to use a thermal printer via usb, you need the device id, vendor id, endpoint out id, and endpoint in id.
Finding these values took me some time, so here is a script that automates the process.
All you need to supply to the script is the name of the printer device. Find it out by running lsusb
with the printer disconnected. Then connect the printer and run lsusb
again.
Look out for the device that has been added and remember its name (or some part of it, doesn't really matter).
Run ./get_thermal_printer_info.sh "device name"
and there you'll find the values you need to create the escpos.printer.Usb
object.
Modern OpenSSH has native support for FIDO Authentication. Its much simpler and should also be more stable with less moving parts. OpenSSH also now has support for signing arbitary files witch can be used as replacement of gnupg. Git also supports signing commits/tags with ssh keys.
- Simpler stack / less moving parts
- Works directly with
ssh
,ssh-add
andssh-keygen
on most computers - Simpler
- Private key can never leave the FIDO device
#!/usr/bin/ruby | |
# Script creating a disk img from a compiled ignition config read from stdin | |
# Based on https://github.com/coreos/vagrant-ignition/blob/master/lib/vagrant-ignition/action/IgnitionDiskGenerator.rb | |
# See https://github.com/coreos/bugs/issues/1573 | |
require 'zlib' | |
# Note: gpt and gpt2 are the primary and secondary headers respectively | |
class IgnitionDiskGenerator |
A work in progress collection of proprietary and as of yet undocumented HomeKit characteristics and their UUIDs used by Elgato Eve.
This list is not including all Eve accessories available and some services and characteristics still make no sense to me. If you have anything to contribute, please leave a comment. There is no guarantee that the information listed below is correct.
Service - Characteristic | UUID | R | W | Type | Description |
---|