Skip to content

Instantly share code, notes, and snippets.

View n8acl's full-sized avatar
☃️

Jeff Lehman n8acl

☃️
View GitHub Profile
@n8acl
n8acl / mm_data_purge.sh
Last active June 27, 2024 11:51
Data Purge for Free Version of Mattermost
#!/bin/bash
##############
## Mattermost Data Retention Purge Script
## Written by: Jeff Lehman, N8ACL
## Date Created: 05/30/2021
## Date Last Updated: 05/30/2021
##
## Since in the free version of Mattermost, there is no data retension policy that can be set like in the Enterprise Version, we have to do it on our own.
## This script is used to delete any posts and files over 6 Months old. This is to help keep the server clean and not fill up.
@n8acl
n8acl / rtlsdr-install.sh
Last active January 17, 2024 14:58
RTL-SDR install bash script
#! /bin/bash
echo "-------------------------------------------"
echo "-- Installing needed packages from repos --"
echo "-------------------------------------------"
sudo apt-get install -y git cmake libffi-dev libssl-dev build-essential libusb-1.0-0-dev pkg-config
echo "------------------------------------------------"
echo "-- Cloning rtl-sdr driver files from osmocom --"
echo "------------------------------------------------"