Skip to content

Instantly share code, notes, and snippets.

View pincesco79's full-sized avatar

pincesco79

  • Università della Calabria
  • Rende
View GitHub Profile
#!/bin/bash
RECDIR=/mnt/record/minisio/$(date +%Y-%m-%d)
RECTIME=$(date +-%H:%M:%S)
if [ ! -d "$RECDIR" ]; then
mkdir -p $RECDIR
fi
cd $RECDIR
for i in {0..6}; do
@creeefs
creeefs / Dockerfile
Created October 7, 2020 14:09
Gstreamer wpesrc Dockerfile
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
bison \
flex \
git \
libmount-dev \
pkg-config \
@ptomulik
ptomulik / rotate_old_radacct_detail_files_mtime_based.sh
Last active October 31, 2025 04:48
Rotation script for freeradius accounting detail files. Shall be run as a cron script.
#! /bin/sh
########################################################################################
# Compresses old radacct detail files and removes very old compressed radacct files.
########################################################################################
# Author: P. Tomulik
########################################################################################
# Path to the programs used (for environments without $PATH set)
FIND=/usr/bin/find