This file contains 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 pygatt | |
import logging | |
logging.basicConfig() | |
logging.getLogger('pygatt').setLevel(logging.DEBUG) | |
b = pygatt.BGAPIBackend() | |
b.start() |
This file contains 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
#! /bin/env python3 | |
""" | |
Convert raw IQ samples to SDRIQ with header, suitable for batch processing | |
for use with RTL_SDR convert from unsigned 8 bit to signed 16 bit samples. using rtl_433 | |
.cu8 - RTL_SDR Raw samples (collected via rtl_tcp) | |
.cs16 - converted samples for this script (or raw data from a 16 bit SDR) | |
Converting formats: |
This file contains 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
LETSENCRYPT_ROOT=/etc/letsencrypt | |
PROXY_CERT_DIR=/certs | |
VHOSTS=foo.example.com bar.example.com car.example.com | |
ACTIONS=${foreach host, $(VHOSTS), update-$(host)} | |
${VHOSTS}: | |
echo "renewing $@"; \ | |
#docker run \ | |
# --rm \ | |
# -v "/etc/letsencrypt:/etc/letsencrypt" \ | |
# -v "$$PWD/cf.ini:/cf.ini:ro" \ |