Skip to content

Instantly share code, notes, and snippets.

View RogerWebb's full-sized avatar

Roger Webb RogerWebb

View GitHub Profile
@RogerWebb
RogerWebb / bigchalice.py
Created February 2, 2023 21:29
Deploy AWS Chalice Project via Docker and Serverless Application Model
import boto3, json, os, shutil, subprocess
from argparse import ArgumentParser
"""
Big Chalice Deployer deployes Chalice Apps using the "chalice package ..." command and
modifies the resulting sam.json template to make use of the Docker deployment process
instead of the default, s3 based, process. Additionally, the ability to delete the
resulting SAM App is available via the CLI.
Usage:
@RogerWebb
RogerWebb / pi3-rtl-sdr-record.sh
Last active February 5, 2020 03:42
Sample recording from an RTL-SDR on a Raspberry Pi 3
# Install rtl-sdr CLI utility, record from the RTL-SDR centered on 100.3MHZ and convert output to WAV for use in HDSDR, SDR#
# or comparable program/utility.
sudo apt-get install rtl-sdr
rtl_sdr -f 103.3e6 -s 2.4e6 -n 72000000 .\test_iq.raw
# For multiple SDRs or, for some reason, if yours comes up as Device Number 1 like mine add the -d {Device Num{
# rtl_sdr -d 1 -f 103.3e6 -s 2.4e6 -n 72000000 .\test_iq.raw
sox -r 2.4e6 -e unsigned -b 8 -c 2 .\test_iq.raw .\test_hdsdr.wav