Skip to content

Instantly share code, notes, and snippets.

View skimmilk's full-sized avatar

William DeGraaf skimmilk

View GitHub Profile
@untra
untra / record.sh
Last active January 28, 2024 18:09
ffmpeg rtsp to hls recording script
# /bin/sh
# ./record.sh -i 192.168.0.47:554 -v 11 -r 1280x720
# Some sane defaults for the environment.
DATE=`date +%Y-%m-%d`
TIME=`date +%H-%M-%S`
CAMERA_USER='admin'
CAMERA_PASS='admin'
CAMERA_IP='10.10.10.1'
CAMERA_NAME='cam1'
@fny
fny / GNU GPL Comment Headers.md
Last active July 13, 2025 19:49
GNU GPL formatted into a comment block and hard wrapped at 80 characters.

GNU GPL Comment Headers Formatted in Various Languages

A convenient reference for adding a GPL license to a work.

All prepared texts are hard wrapped at 80 characters unless stated otherwise.

No Wrap

/*****************************************************************************
* Copyright (c) 2011 Kenneth Waters
*
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions: