sudo apt-get install direwolf ax25-apps ax25-tools
Direwolf is our software TNC
volumes: | |
certs: | |
services: | |
create-cert: | |
image: smallstep/step-cli | |
volumes: | |
- certs:/certs/:rw | |
- ./ca:/root | |
command: | |
- step |
import pulsectl | |
import time | |
import paramiko | |
import traceback | |
while 1: | |
try: | |
pulse = pulsectl.Pulse('my-client-name') | |
ssh = paramiko.SSHClient() |
# Audio device | |
ADEVICE pulse pulse | |
ACHANNELS 1 | |
CHANNEL 0 | |
#Callsign | |
MYCALL VK4XSS | |
# Modem speed | |
MODEM 1200 |
import kissfix # TODO do we need to worry about the python3 issue / kissfix | |
import serial | |
import os, pty, serial, tty, termios | |
import threading | |
import logging | |
import sys, traceback | |
import fcntl | |
import time | |
logger = logging.getLogger() |
First up you need to run this python3 script and leave it running - it's a web server that lets you control the printer from HTTP commands
https://gist.github.com/xssfox/b911e0781a763d258d21262c5fdd2dec
You probably need to have lucon.ttf
in your systems font dir or in scripts directory
And you'll need bleak, Pillow and flask installed by pip
Some people have reported issues getting TypeError: a bytes-like object is required, not 'list'
in this case :
""" | |
Requires an RTSP stream (I used rtsp-simple-server) and rigctld running | |
requirements pyaudio, pillow, numpy, pysstv, opencv-python | |
Update output_device_index to be your audio sink (I use pulse) | |
""" | |
import cv2 |
from urllib.request import urlopen, Request | |
import json | |
URL = "https://api.ingka.ikea.com/cia/availabilities/ru/au?itemNos=10373589&expand=StoresList,Restocks,SalesLocations" | |
SMOL = "https://api.ingka.ikea.com/cia/availabilities/ru/au?itemNos=00540664&expand=StoresList,Restocks,SalesLocations" | |
stores = { | |
"557" : { | |
"name": "Adelaide" | |
}, | |
"451": { |
/* | |
Built for NodeMCU ESP32 | |
You'll need | |
NTPClient : https://www.arduino.cc/reference/en/libraries/ntpclient/ | |
PhoneDTFM : https://github.com/Adrianotiger/phoneDTMF | |
TOTP : https://www.arduino.cc/reference/en/libraries/totp-library/ | |
For connecting a baofeng UV-5R I used the kenwood connector and this circuit to remove any bias | |
from the baofeng and decouple then used the resistors to center the signal for the NodeMCU. |
# based on https://github.com/amber-sixel/PythonCatPrinter.git | |
# can be used as a raw postscript printer (a4, one page only) on port 9100 | |
# | |
# status : curl --location --request GET 'localhost:5000' | |
# | |
# curl --location --request POST 'localhost:5000' \ | |
# --form 'image=@"/image.jpg"' \ #optional | |
# --form 'text="hello world"' \ #optional | |
# --form 'size="48"' \ #optional |